Methods
Objects
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. |
voip/sip/trunk.origination_assign_dids
Assign multiple DIDs to a SIP Origination.
method: voip/sip/trunk.origination_assign_dids
params: [int id, array dids]
Parameter | Type | Description | NULL |
---|---|---|---|
id | int | SIP Origination ID | NO |
dids | array |
Multiple DIDs to assign Format: hash (Unique object identifier) |
NO |
Type | Description | Format/Object |
---|---|---|
bool | Always TRUE (throws an Exception otherwise). |
voip/sip/trunk.origination_create
Create a SIP Trunk Origination.
method: voip/sip/trunk.origination_create
params: [object properties, object options]
Parameter | Type | Description | NULL |
---|---|---|---|
properties | object |
Object properties Object: SIP.TrunkOrigination.Properties |
NO |
options | object |
Object options Object: SIP.TrunkOrigination.Options |
NO |
Type | Description | Format/Object |
---|---|---|
object | The created SIP Trunk Origination. | Object: SIP.TrunkOrigination |
voip/sip/trunk.origination_delete
Delete a SIP Trunk Origination.
method: voip/sip/trunk.origination_delete
params: [int id]
Parameter | Type | Description | NULL |
---|---|---|---|
id | int | SIP.TrunkOrigination ID | NO |
Type | Description | Format/Object |
---|---|---|
bool | Always TRUE (throws an Exception otherwise). |
voip/sip/trunk.origination_edit
Edit a SIP Trunk Origination.
method: voip/sip/trunk.origination_edit
params: [int id, object properties, object options]
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 |
Type | Description | Format/Object |
---|---|---|
object | The edited SIP Trunk Origination. | Object: SIP.TrunkOrigination |
voip/sip/trunk.origination_get
Get informations on a SIP Trunk Origination.
method: voip/sip/trunk.origination_get
params: [int id]
Parameter | Type | Description | NULL |
---|---|---|---|
id | int | SIP.TrunkOrigination ID | NO |
Type | Description | Format/Object |
---|---|---|
object | The requested SIP Trunk Origination. | Object: SIP.TrunkOrigination |
voip/sip/trunk.origination_remove_dids
Remove multiple DIDs from a SIP Origination.
method: voip/sip/trunk.origination_remove_dids
params: [int id, array dids]
Parameter | Type | Description | NULL |
---|---|---|---|
id | int | SIP Origination ID | NO |
dids | array |
Multiple DIDs to remove Format: hash (Unique object identifier) |
NO |
Type | Description | Format/Object |
---|---|---|
bool | Always TRUE (throws an Exception otherwise). |
voip/sip/trunk.origination_search
Search through SIP Trunk Originations.
method: voip/sip/trunk.origination_search
params: [object filters, object options]
Parameter | Type | Description | NULL |
---|---|---|---|
filters | object |
Search filters Object: SIP.TrunkOrigination.SearchFilters |
NO |
options | object |
Search options Object: Search.Options |
NO |
Type | Description | Format/Object |
---|---|---|
object | The found SIP Trunk Originations. | Object: Search.Results |
voip/sip/trunk.termination_create
Create a SIP Trunk Termination.
method: voip/sip/trunk.termination_create
params: [object properties, object options]
Parameter | Type | Description | NULL |
---|---|---|---|
properties | object |
Object properties Object: SIP.TrunkTermination.Properties |
NO |
options | object |
Object options Object: SIP.TrunkTermination.Options |
NO |
Type | Description | Format/Object |
---|---|---|
object | The created SIP Trunk Termination. | Object: SIP.TrunkTermination |
voip/sip/trunk.termination_delete
Delete a SIP Trunk Termination.
method: voip/sip/trunk.termination_delete
params: [int id]
Parameter | Type | Description | NULL |
---|---|---|---|
id | int | SIP.TrunkTermination ID | NO |
Type | Description | Format/Object |
---|---|---|
bool | Always TRUE (throws an Exception otherwise). |
voip/sip/trunk.termination_edit
Edit a SIP Trunk Termination.
method: voip/sip/trunk.termination_edit
params: [int id, object properties, object options]
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 |
Type | Description | Format/Object |
---|---|---|
object | The edited SIP Trunk Termination. | Object: SIP.TrunkTermination |
voip/sip/trunk.termination_get
Get informations on a SIP Trunk Termination.
method: voip/sip/trunk.termination_get
params: [int id]
Parameter | Type | Description | NULL |
---|---|---|---|
id | int | SIP.TrunkTermination ID | NO |
Type | Description | Format/Object |
---|---|---|
object | The requested SIP Trunk Termination. | Object: SIP.TrunkTermination |
voip/sip/trunk.termination_search
Search through SIP Trunk Terminations.
method: voip/sip/trunk.termination_search
params: [object filters, object options]
Parameter | Type | Description | NULL |
---|---|---|---|
filters | object |
Search filters Object: SIP.TrunkTermination.SearchFilters |
NO |
options | object |
Search options Object: Search.Options |
NO |
Type | Description | Format/Object |
---|---|---|
object | The found SIP Trunk Terminations. | Object: Search.Results |