Build a small CLI for sipgate REST API as part of my very own file system
Go to file
2021-03-04 20:12:46 +01:00
authorization.sh Aufteilung in verschiedene Dateien 2021-03-04 18:29:32 +01:00
balance.sh Aufteilung in verschiedene Dateien 2021-03-04 18:29:32 +01:00
fax.sh Usability 2021-03-04 19:44:27 +01:00
getbalance.sh Usability 2021-03-04 19:44:27 +01:00
login_credentials_muster.sh Aufteilung in verschiedene Dateien 2021-03-04 18:29:32 +01:00
README.md README typos 2021-03-04 18:59:13 +01:00
status.sh Statusabfrage der von diesem Gerät gesendeten Faxe 2021-03-04 20:12:46 +01:00
Testfax.pdf push to remote 2021-03-04 17:51:36 +01:00

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, <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.