Get current SIP registration status
Get current SIP registration status. Available statuses:
OK- device has SIP registrationERROR- SIP registration lost, problems with network or server problemsOFFLINE- SIP is disabled in settings Additional fields:register_last_attempt- Unix timestamp of the last SIP registration attempt. May benullif no registration attempts were made yet (for example, right after device startup in OFFLINE mode).
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- O K
- O F F L I N E
- O F F L I N E_ N O_ A T T E M P T S
- E R R O R
Schema
- sip_status string
Possible values: [
OK,OFFLINE,ERROR]OK- SIP is workingOFFLINE- SIP is disabledERROR- SIP is enabled, but registration is failure
- register_last_attempt int64
Unix Timestamp Date (null if never attempted)
{
"sip_status": "OFFLINE",
"register_last_attempt": 1714300000
}
{
"sip_status": "OK",
"register_last_attempt": 1714300000
}
{
"sip_status": "OFFLINE",
"register_last_attempt": 1714300000
}
{
"sip_status": "OFFLINE",
"register_last_attempt": null
}
{
"sip_status": "ERROR",
"register_last_attempt": 1714300000
}
Loading...