Rate this page:

SIPWhiteList

Methods

AddSipWhiteListItem

Copy URL

Adds a new network address to the SIP white list.

Available for roles

To call this method, make sure your service account has one of the following roles:

See Available Roles
Owner
Admin
Developer
AddSipWhiteListItem example

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)

  • description:

    string

    Optional

    The network address description

Returns

  • result:

    number

    1

  • sip_whitelist_id:

    number

    The SIP white list item ID

DelSipWhiteListItem

Copy URL

Deletes the network address from the SIP white list.

Available for roles

To call this method, make sure your service account has one of the following roles:

See Available Roles
Owner
Admin
Developer
DelSipWhiteListItem example

DelSipWhiteListItem example

Parameters

  • sip_whitelist_id:

    number

    The SIP white list item ID to delete

Returns

  • result:

    number

    1

SetSipWhiteListItem

Copy URL

Edits the SIP white list.

Available for roles

To call this method, make sure your service account has one of the following roles:

See Available Roles
Owner
Admin
Developer
SetSipWhiteListItem example

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)

  • description:

    string

    Optional

    The network address description

Returns

  • result:

    number

    1

GetSipWhiteList

Copy URL

Gets the SIP white list.

Available for roles

To call this method, make sure your service account has one of the following roles:

See Available Roles
Owner
Admin
Developer
GetSipWhiteList example

GetSipWhiteList example

Get two networks, but skip the first one.

Parameters

  • sip_whitelist_id:

    number

    Optional

    The SIP white list item ID to filter

  • count:

    number

    Optional
    Defaults on:  20

    The max returning record count

  • offset:

    number

    Optional
    Defaults on:  0

    The first N records will be skipped in the output

Returns

  • total_count:

    number

    The total found networks count

  • count:

    number

    The returned networks count