Get SIP Settings
Returns Session Initiation Protocol (SIP) Settings
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- enable booleanDetermines whether the SIP is enabled 
- host_to_id booleanHost id 
- proxy ipv4|dnsSIP proxy 
- realm ipv4|dnsSIP realm address 
- user stringPossible values: non-emptyand<= 31 characters, Value must match regular expression^[0-9a-zA-Z\s~!@#$%^&;*()_-+={[}]|"<,>.?/]{1,31}?$`SIP account user name 
- password stringPossible values: >= 6 charactersand<= 31 characters, Value must match regular expression^[0-9a-zA-Z\s~!@#$%^&;*()_-+={[}]|"<,>.?/]{6,31}?$`SIP account user password. 'Password is an any symbol from a to z uppercase or lowercase, from 0 to 9 in digits. Available special symbols: ~`!@#$%^&;*()_-+={[}]|"<,>.?/' 
- transport stringPossible values: [ udp,tcp,tls]Secure SIP Protocol 
- user_id stringPossible values: non-emptyand<= 31 characters, Value must match regular expression^[0-9a-zA-Z\s~!@#$%^&;*()_-+={[}]|"<,>.?/]{0,31}?$`SIP user id 
- is_enable_ring_code booleanDetermines whether the ring code is enabled 
- user_agent stringUser agent Voip v2.0 
- timeout integerPossible values: [ 120,300,600,1200,1800]Call timeout 
- registration_interval integerPossible values: >= 30and<= 900SIP server registration interval in seconds 
- stun object- STUN settings ip ipv4|dns- STUN IP address port integer- STUN port 
- net integerInterface used for DNS resolution (0 = Ethernet, 1 = Wi-Fi) 
- fixed_net integerBind SIP/multicast calls to the netinterface (0 = no, 1 = yes)
- multicast stringMulticast address and port for SIP communication. 
{
  "enable": true,
  "host_to_id": true,
  "proxy": "sip:sip.bas-ip.com",
  "realm": "sip.bas-ip.com",
  "user": "101",
  "password": "123abc",
  "transport": "udp",
  "user_id": "user123",
  "is_enable_ring_code": true,
  "user_agent": "BasIpVoip v2.0 (at-07l 5.12.0)",
  "timeout": 120,
  "registration_interval": 30,
  "stun": {
    "ip": "stun.l.google.com",
    "port": 19302
  },
  "net": 0,
  "fixed_net": 1,
  "multicast": "224.0.2.1:50001"
}
{
  "proxy": "sip:sip.bas-ip.com",
  "realm": "sip.bas-ip.com",
  "user": "101",
  "password": "123abc",
  "timeout": 120,
  "transport": "udp",
  "enable": true,
  "user_id": "user123",
  "is_enable_ring_code": false,
  "registration_interval": 30,
  "stun": {
    "ip": "stun.l.google.com",
    "port": 19302
  },
  "net": 0,
  "fixed_net": 1,
  "multicast": "224.0.2.1:50001"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error stringError information 
{
  "error": "Log In"
}
{
  "error": "Log In"
}