Readme updated

This commit is contained in:
Gandalf 2021-04-07 18:36:18 +02:00
parent 648fa1eb63
commit 89bf59be89

View file

@ -3,10 +3,16 @@ This is a small hack to send faxes via the sipgate REST API from the command lin
## Deployment ## Deployment
Add your login credentials to `login_credentials_muster.sh` and rename the file to `.env` Add your login credentials to `login_credentials_muster.sh` and rename the file to `.env`
If you use Letterheads Address database, uncomment the last line of that file and add `your/path/to/Letterhead` If you use Letterheads Address database, uncomment the last line of that file and add `your/path/to/Letterhead`
## Usage ## Usage
`./fax.sh <letter.pdf> <recipient>` `./fax.sh <letter.pdf> <recipient>`
With a german fax number `<recipient>`
`./fax.sh <letter.pdf> -handle <handle>`
Asks Letterhead's address database for <handle>'s fax number.
`$ ./fax.sh -help`
Print usage Message and exit
sipgate doesn't accept pdf files larger than 30 pages or 10MB. sipgate doesn't accept pdf files larger than 30 pages or 10MB.