3.5.4 SIP
Získání aktuálního nastavení
Získá aktuální nastavení SIP proxy serveru.
URL: | https://{{ip_addr}}/api/v1/hipmo/settings/sip |
HTTP Metoda: | GET |
Response code: | Standardní HTTP response code, ošetřuje syntaktické chyby.
|
Response data: | { "data": { "ipAddress": "", "isEnabled": false, "name": "IndoorTouch", "password": "", "port": 5060, "protocol": 1, "registrar": { "expiry": 120, "ipAddress": "", "isEnabled": false, "port": 5060 }, "sipPortRandomization": false, "sipRandomPort": 5060, "userName": "" } } |
Nastavení sekce
URL: | https://{{ip_addr}}/api/v1/hipmo/settings/sip |
HTTP Metoda: | PUT |
Response code: | Standardní HTTP response code, ošetřuje syntaktické chyby.
|
Request body: | { "name": "<string>", "userName": "<string>", "password": "<string>", "ipAddress": "<string>", "port": "<integer>", "protocol": "<integer>", "isEnabled": "<boolean>", "sipPortRandomization": "<boolean>", "sipRandomPort": "<integer>", "registrar": { "ipAddress": "<string>", "isEnabled": "<boolean>", "expiry": "<integer>", "port": "<integer>" } } |
Response data: | { "data": { "ipAddress": "", "isEnabled": false, "name": "IndoorTouch", "password": "", "port": 5060, "protocol": 1, "registrar": { "expiry": 120, "ipAddress": "", "isEnabled": false, "port": 5060 }, "sipPortRandomization": false, "sipRandomPort": 5060, "userName": "" } } |