Build a small CLI for sipgate REST API as part of my very own file system
Go to file
Gandalf bae84edee5 Number parsing
replaces leading 0 with +49 and removes any other non-digit-character
2021-03-04 18:14:55 +01:00
login_credentials_muster.sh README and config file 2021-03-04 17:57:48 +01:00
README.md README and config file 2021-03-04 17:57:48 +01:00
skript.sh Number parsing 2021-03-04 18:14:55 +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

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