
上QQ阅读APP看书,第一时间看更新
Controlling outbound calls by using patterns
Let us imagine that our analog lines have a special price for long-distance calls, but our digital E1 lines do not, and that all outbound calls must be dialed with 9 as an outbound prefix.
How to do it…
- Modify the current outbound dialing prefix 9.
- Substitute the character
.
by the number of digits for all calls, except long-distance calls. For our example, local calls use 7 digits, mobile calls use 10, and long-distance calls use 11 digits. In other words, the current outbound prefix with 9 will be as shown in the following image: - Add a second outbound route named
9_Long_Distance
. - In the dialing patterns, we enter
9
in the prefix box andXXXXXXXXXXX
(11 digits) in the match pattern field. - Select the analog trunk in the Trunks section. The next image shows the result of these steps: