Sipgate changed their login system

master
Gandalf 2023-01-09 22:21:12 +01:00
parent 58457c6d8b
commit 0e9d5f7a4c
2 changed files with 21 additions and 3 deletions

View File

@ -6,6 +6,16 @@ Install [jq](https://stedolan.github.io/jq/download/).
Add your login credentials to `login_credentials_muster.sh` and rename the file to `.env`
Since sipgate enforces 2FA, your usual username and password won't work anymore.
Now, you need a so-called [Personal Access Token](https://app.sipgate.com/w0/personal-access-token), that you can retrieve after you login to the web interface.
Enable at least the following scopes:
* balance:read
* devices:callerid:read
* devices:callerid:write
* history:read
* sessions:fax:write
Enter the token-ID as `SIPUSER` or `TOKENID` and the token as `SIPPWD` or `TOKEN`.
If you use Letterheads Address database, uncomment the last line of that file and add `your/path/to/Letterhead`
## Usage

View File

@ -1,5 +1,13 @@
#Add your sipgate username and password here:
SIPUSER=
SIPPWD=
# Add your sipgate token-ID and token here:
# TOKENID is an alias for SIPUSER
# TOKEN is an alias for SIPPWD,
# so for legacy reasons you can use those variables as well.
# Take care: The SIP* variables MUST be empty/unset or contain the config to use.
# If they are set and not empty, the corresponding TOKEN* variable is ignored.
TOKENID=
TOKEN=
#uncomment if you use Letterheads Address database
#LETTERHEAD_PATH=
#Add your default CallerID here:
DEFAULT_CALLER_ID="anonymous"
LETTERHEAD_PATH="/home/bernhardt/Entwicklung/Letterhead"