Book Image

Elastix Unified Communications Server Cookbook

Book Image

Elastix Unified Communications Server Cookbook

Overview of this book

Table of Contents (24 chapters)
Elastix Unified Communications Server Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Description and Use of the Most Well-known FreePBX Modules
Addon Market Module
Asterisk Essential Commands
Asterisk Gateway Interface Programming
Helpful Linux Commands
Index

Controlling outbound calls by using a trunk sequence


A way to control outbound routes is by putting them in the order we'd like to use when dialing a pattern or a prefix.

How to do it…

Taking the example from the Making and Receiving Calls section in which we used the prefix 8 for dialing one analog line (channel 63), we will add channel 64 (but we must first create the trunk as ANALOG-TRUNK-2).

The reason for adding this channel is that whenever port 63 is being used, any user can dial 8 + an 8-digit local call and still use channel 64 to establish a call. This way of controlling outbound routes is very helpful, limiting the usage of trunks in any outbound prefix. We can add as many available trunks as we have.