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

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

 

Return to Documentation Home I Return to Sangoma Support