sip_settings.list
Description
Fetch a list of the global SIP parameters.
Arguments
None.
Example Requests & Responses
Example One
Request
Requests a list of the endpoints configured on this gateway.
{
    'method' => 'sip_settings.list',
    'parameters' => { }
} |
Response
Returns an object with the following options, if any, that are set.
name | value type | default value |
---|---|---|
pedantic | 0/1 | 1 |
compactheaders | 0/1 | 0 |
sdpowner | string | root |
disallowed_methods | array of SIP methods: ACK, BYE, CANCEL, OPTIONS, REGISTER, PRACK, SUBSCRIBE, NOTIFY, PUBLISH, INFO, REFER, MESSAGE, UPDATE | Â |
shrinkcallerid | 0/1 | 0 |
maxexpiry | number | 3600 |
minexpiry | number | 60 |
defaultexpiry | number | 120 |
registertimeout | number | 20 |
registerattempts | number | 0 |
udpbindport | port number | 5060 |
tcpenable | 0/1 | 0 |
tcpbindport | port number | 5060 |
tcpauthtimeout | number | Â |
tcpauthlimit | number | Â |
tlsenable | 0/1 | 0 |
tlsbindport | port number | Â |
srvlookup | 0/1 | 0 |
matchexternaddrlocally | 0/1 | 0 |
dynamic_exclude_static | 0/1 | 0 |
localnet | array of ip ranges | Â |
externtcpport | port number | Â |
externtlsport | port number | Â |
externhost | domain or IP address | Â |
externrefresh | number | Â |
rtpstart | port number | 10000 |
rtpend | port number | 12000 |
match_auth_username | 0/1 | 0 |
realm | string | Â |
domainasrealm | 0/1 | 0 |
alwaysauthreject | 0/1 | 0 |
auth_options_request | 0/1 | 0 |
allowguest | 0/1 | 0 |
tlscertfile | path | Â |
tlscafile | path | Â |
tlscipher | string | ALL |
tlsclientmethod | one of tlsv1, sslv2, sslv3 | sslv2 |
tlsprivatekey | path | Â |
tlscapath | path | Â |
tlsdontverifyserver | 0/1 | 0 |
prematuremedia | 0/1 | 0 |
tos_sip | string | Â |
tos_audio | string | Â |
subscribe_network_change_event | 0 | Â |
jbenable | 1 | Â |