authorization.sh | ||
balance.sh | ||
fax.sh | ||
getbalance.sh | ||
login_credentials_muster.sh | ||
README.md | ||
status.sh | ||
Testfax.pdf |
Sipgate CLI
This is a small hack to send faxes via the sipgate REST API from the command line.
Deployment
Add your login credentials to login_credentials_muster.sh
and rename the file to login_credentials.sh
Usage
./fax.sh <letter.pdf> <recipient>
sipgate doesn't accept pdf files larger than 30 pages or 10MB.
For now, Should be done.<recipient>
has to be numbers-only, starting with +49
. It is planned to parse different number formats.
balance.sh
just gives your account balance.
Recommendation
Put
alias fax="/your/path/to/this/project/fax.sh"
alias faxstatus="/your/path/to/this/project/status.sh"
alias faxbalance="/your/path/to/this/project/balance.sh"
into your .bash_rc