SIPWhiteList
Methods
AddSipWhiteListItem
Adds a new network address to the SIP white list.
AddSipWhiteListItem example
Parameters
sip_whitelist_network:
string
The network address in format A.B.C.D/L or A.B.C.D/a.b.c.d (example 192.168.1.5/16).
Returns
result:
number
1
sip_whitelist_id:
number
The SIP white list item ID.
DelSipWhiteListItem
Deletes the network address from the SIP white list.
DelSipWhiteListItem example
Parameters
sip_whitelist_id:
number
The SIP white list item ID to delete.
Returns
result:
number
1
SetSipWhiteListItem
Edits the SIP white list.
SetSipWhiteListItem example
Parameters
sip_whitelist_id:
number
The SIP white list item ID
sip_whitelist_network:
string
The new network address in format A.B.C.D/L or A.B.C.D/a.b.c.d (example 192.168.1.5/16)
Returns
result:
number
1
GetSipWhiteList
Gets the SIP white list.
GetSipWhiteList example
Parameters
sip_whitelist_id:
number
OptionalThe SIP white list item ID to filter
count:
number
OptionalDefaults on: 20The max returning record count.
offset:
number
OptionalDefaults on: 0The first N records will be skipped in the output.
Returns
result:
total_count:
number
The total found networks count.
count:
number
The returned networks count.