A trunk is a route connecting the local telephone network and other telephone network ( mainly the traditionl PSTN network or other IP PBX system).

Trunks can be cataloged by the transmission media

  • Internet trunk (SIP,IAX)
  • Analog trunk (FXO口)
  • Digital trunk (E1 PRI)

Add a trunk

On the left menu, click PBX → Trunk, and [Add] to open the trunk add page.

Trunk Add For General

Requird fields

  • Trunk Set the name for the trunk for identification.
  • Team Selece a team to which this trunk belongs. And after setting, this trunk can only be used in this team. If you do not assign this trunk a team, then all teams can use this trunk.
  • Protocol Choose a protocol for this trunk.
  • Registry string When you choose SIP or IAX, and in order to receive the calls from this trunk, you need to enter a registry string of the trunk sometime. Standard format:
  • Identity The only identity. The system would automatically generate a string of number as the identity. And for some internet trunks, the identity needs to be the same as the trunk name, thus, manual adaption is needed here.
  • Time out When the call attempt exceeds this tim and still not gets conneted, it is considered a failure.
  • Status Whether to enable this trunk.

Optional fields

  • Templates: Select a trunk for this trunk. The use of templates makes it easy to manage the internet trunks of the same type.
  • CID Num: The CID number displays
  • CID name: CID name displays (now only supports some trunks).
  • Details:enter the configuration parameter of the trunk
  • Max Unavailable: When the call failed constantly via the trunk, it will be disabled, it often applies to predictive dialer, using a trunk group, this could avoid whole campaign fail due to one trunk problem. 0 means this feature is disabled.
  • Max calls the max. concurrent calls allowed in the trunk


Trunk Add For Advanced

  • Enforce use rate: When system try make a call via this trunk, it would try match a device rate of the trunk. If you use the enforce rate, you can't dial out if it failed to match a rate, if this option is not set to yes, system can dial out event no device rate match.
  • Always use trunk CID:If you choose “yes” here, then no matter what number has been set outside this page, the number set in this trunk will be used.
  • Cluster trunk If you use this system and other systems together, choose “yes”
  • Cluster trunk host enter the cluster trunk host address.
  • Black list: number in this list cannot be placed or received.
  • Black list: If you enter numbers in this list, then only the number in this list can be placed or received.
  • Detail: for discriptive information, like its purpose etc.

Edit trunk

Double click the item to open the edit page.

Trunk Edit

Click [Edit rule] to open the trunk rule editer

Add Trunk Rule

When a number enters the trunk, and it will match by the rule you set, and if it matches, the prefix will be deleted or added by you rules.

Rule Status: Including Enable, Disable, Refuse

Object: Including Dst Number, Callerid Number, Calleriid Name

Ori prefix: What kind of number with this prefix will match. IF you enter 0411, then the number start with 0411 will be matching this rule and execute by the rules.

Ori length: the length of the number that matches.

Remove prefix:When the number matches, the prefix you entered will be removed.

Add prefix:When the number matches, the prefix you entered will be added.

Click [save] after finishing the rule set, and the new information will be displayed on the table on the bottom.

en/module_manual/pbx/trunk.txt · Last modified: 2017/12/12 03:05 (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki