Rate this page:

SIPWhiteList

Methods

AddSipWhiteListItem

Copy URL

Adds a new network address to the SIP white list.

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).

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.

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.

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)

Returns

  • result:

    number

    1

GetSipWhiteList

Copy URL

Gets the SIP white list.

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.