Skip to main content

Get Trunks

IMPORTANT!

If you hadn't yet read the intro part of this section, please click here to read it first.

Description

This module provides the developer a simple way to query all configured trunks in the current respective Cloudonix Domain.

The result will include an array of objects, representing the trunks (both inbound and outbound). Each trunk will be represented by a voice trunk object, as detailed in the Voice Trunk Model.

Workflow

This module may be executed at any point of a scenario.

Scenario Example

Parameters

ParameterDescriptionDefault Value
Trunk DirectionWhen retrieving the trunks, what filter should be applied. Available values are Inbound Trunks, Outbound Trunks or Empty.

* An Empty filter will return all trunks.
Empty

Advanced Mode

This module doesn't have advanced usage mode available.