Readme dazu

This commit is contained in:
Gandalf 2021-03-04 18:31:10 +01:00
parent 6f372c4f08
commit 3771439131

View file

@ -5,6 +5,9 @@ This is a small hack to send faxes via the sipgate REST API from the command lin
Add your login credentials to `login_credentials_muster.sh` and rename the file to `login_credentials.sh` Add your login credentials to `login_credentials_muster.sh` and rename the file to `login_credentials.sh`
## Usage ## Usage
`skript.sh <letter.pdf> <recipient>` `fax.sh <letter.pdf> <recipient>`
sipgate doesn't accept pdf files larger than 30 pages or 10MB. sipgate doesn't accept pdf files larger than 30 pages or 10MB.
For now, `<recipient>` has to be numbers-only, starting with `+49`. It is planned to parse different number formats. ~~For now, `<recipient>` has to be numbers-only, starting with `+49`. It is planned to parse different number formats.~~ Should be done.
`balance.sh` just gives your account balance.