Some small changes
This commit is contained in:
parent
43f57a263d
commit
9c974392be
|
@ -10,6 +10,9 @@ Add your login credentials to `login_credentials_muster.sh` and rename the file
|
|||
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.~~ Should be done.
|
||||
Spaces in filename seem to make trouble at the moment - avoid them.
|
||||
|
||||
`status.sh` shows ID, Date and Status of the last ten fax set from this device.
|
||||
|
||||
`balance.sh` just gives your account balance.
|
||||
|
||||
|
|
1
fax.sh
1
fax.sh
|
@ -20,6 +20,7 @@ CONTENT=$(base64 $FILE -w 0)
|
|||
if [ -z "$CONTENT" ];
|
||||
then
|
||||
echo "Encoding failed"
|
||||
exit 2
|
||||
fi
|
||||
DATA='{"faxlineId":"f0", "recipient":"'${REC}'", "filename":"fax.pdf", "base64Content":"'${CONTENT}'"}'
|
||||
#Send fax
|
||||
|
|
Loading…
Reference in a new issue