Sipgate changed their login system
This commit is contained in:
parent
58457c6d8b
commit
0e9d5f7a4c
10
README.md
10
README.md
|
@ -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`
|
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`
|
If you use Letterheads Address database, uncomment the last line of that file and add `your/path/to/Letterhead`
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
|
@ -1,5 +1,13 @@
|
||||||
#Add your sipgate username and password here:
|
# Add your sipgate token-ID and token here:
|
||||||
SIPUSER=
|
# TOKENID is an alias for SIPUSER
|
||||||
SIPPWD=
|
# 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
|
#uncomment if you use Letterheads Address database
|
||||||
#LETTERHEAD_PATH=
|
#LETTERHEAD_PATH=
|
||||||
|
#Add your default CallerID here:
|
||||||
|
DEFAULT_CALLER_ID="anonymous"
|
||||||
|
LETTERHEAD_PATH="/home/bernhardt/Entwicklung/Letterhead"
|
||||||
|
|
Loading…
Reference in a new issue