Methods

Objects

voip/sip/trunk

Manage SIP Trunks.

Method Description
voip/sip/trunk.origination_assign_dids Assign multiple DIDs to a SIP Origination.
voip/sip/trunk.origination_create Create a SIP Trunk Origination.
voip/sip/trunk.origination_delete Delete a SIP Trunk Origination.
voip/sip/trunk.origination_edit Edit a SIP Trunk Origination.
voip/sip/trunk.origination_get Get informations on a SIP Trunk Origination.
voip/sip/trunk.origination_remove_dids Remove multiple DIDs from a SIP Origination.
voip/sip/trunk.origination_search Search through SIP Trunk Originations.
voip/sip/trunk.termination_create Create a SIP Trunk Termination.
voip/sip/trunk.termination_delete Delete a SIP Trunk Termination.
voip/sip/trunk.termination_edit Edit a SIP Trunk Termination.
voip/sip/trunk.termination_get Get informations on a SIP Trunk Termination.
voip/sip/trunk.termination_search Search through SIP Trunk Terminations.

Methods

voip/sip/trunk.origination_assign_dids

Description

Assign multiple DIDs to a SIP Origination.

Signature

method: voip/sip/trunk.origination_assign_dids

params: [int id, array dids]

Parameters

Parameter Type Description NULL
id int SIP Origination ID NO
dids array Multiple DIDs to assign
Format: hash (Unique object identifier)
NO

Result

Type Description Format/Object
bool Always TRUE (throws an Exception otherwise).

See Also

  • Object: DID

voip/sip/trunk.origination_create

Description

Create a SIP Trunk Origination.

Signature

method: voip/sip/trunk.origination_create

params: [object properties, object options]

Parameters

Parameter Type Description NULL
properties object Object properties
Object: SIP.TrunkOrigination.Properties
NO
options object Object options
Object: SIP.TrunkOrigination.Options
NO

Result

Type Description Format/Object
object The created SIP Trunk Origination. Object: SIP.TrunkOrigination

voip/sip/trunk.origination_delete

Description

Delete a SIP Trunk Origination.

Signature

method: voip/sip/trunk.origination_delete

params: [int id]

Parameters

Parameter Type Description NULL
id int SIP.TrunkOrigination ID NO

Result

Type Description Format/Object
bool Always TRUE (throws an Exception otherwise).

voip/sip/trunk.origination_edit

Description

Edit a SIP Trunk Origination.

Signature

method: voip/sip/trunk.origination_edit

params: [int id, object properties, object options]

Parameters

Parameter Type Description NULL
id int SIP.TrunkOrigination ID NO
properties object Object properties
Object: SIP.TrunkOrigination.Properties
NO
options object Object options
Object: SIP.TrunkOrigination.Options
NO

Result

Type Description Format/Object
object The edited SIP Trunk Origination. Object: SIP.TrunkOrigination

voip/sip/trunk.origination_get

Description

Get informations on a SIP Trunk Origination.

Signature

method: voip/sip/trunk.origination_get

params: [int id]

Parameters

Parameter Type Description NULL
id int SIP.TrunkOrigination ID NO

Result

Type Description Format/Object
object The requested SIP Trunk Origination. Object: SIP.TrunkOrigination

voip/sip/trunk.origination_remove_dids

Description

Remove multiple DIDs from a SIP Origination.

Signature

method: voip/sip/trunk.origination_remove_dids

params: [int id, array dids]

Parameters

Parameter Type Description NULL
id int SIP Origination ID NO
dids array Multiple DIDs to remove
Format: hash (Unique object identifier)
NO

Result

Type Description Format/Object
bool Always TRUE (throws an Exception otherwise).

See Also

  • Object: DID

Description

Search through SIP Trunk Originations.

Signature

method: voip/sip/trunk.origination_search

params: [object filters, object options]

Parameters

Parameter Type Description NULL
filters object Search filters
Object: SIP.TrunkOrigination.SearchFilters
NO
options object Search options
Object: Search.Options
NO

Result

Type Description Format/Object
object The found SIP Trunk Originations. Object: Search.Results

voip/sip/trunk.termination_create

Description

Create a SIP Trunk Termination.

Signature

method: voip/sip/trunk.termination_create

params: [object properties, object options]

Parameters

Parameter Type Description NULL
properties object Object properties
Object: SIP.TrunkTermination.Properties
NO
options object Object options
Object: SIP.TrunkTermination.Options
NO

Result

Type Description Format/Object
object The created SIP Trunk Termination. Object: SIP.TrunkTermination

voip/sip/trunk.termination_delete

Description

Delete a SIP Trunk Termination.

Signature

method: voip/sip/trunk.termination_delete

params: [int id]

Parameters

Parameter Type Description NULL
id int SIP.TrunkTermination ID NO

Result

Type Description Format/Object
bool Always TRUE (throws an Exception otherwise).

voip/sip/trunk.termination_edit

Description

Edit a SIP Trunk Termination.

Signature

method: voip/sip/trunk.termination_edit

params: [int id, object properties, object options]

Parameters

Parameter Type Description NULL
id int SIP.TrunkTermination ID NO
properties object Object properties
Object: SIP.TrunkTermination.Properties
NO
options object Object options
Object: SIP.TrunkTermination.Options
NO

Result

Type Description Format/Object
object The edited SIP Trunk Termination. Object: SIP.TrunkTermination

voip/sip/trunk.termination_get

Description

Get informations on a SIP Trunk Termination.

Signature

method: voip/sip/trunk.termination_get

params: [int id]

Parameters

Parameter Type Description NULL
id int SIP.TrunkTermination ID NO

Result

Type Description Format/Object
object The requested SIP Trunk Termination. Object: SIP.TrunkTermination

Description

Search through SIP Trunk Terminations.

Signature

method: voip/sip/trunk.termination_search

params: [object filters, object options]

Parameters

Parameter Type Description NULL
filters object Search filters
Object: SIP.TrunkTermination.SearchFilters
NO
options object Search options
Object: Search.Options
NO

Result

Type Description Format/Object
object The found SIP Trunk Terminations. Object: Search.Results