- Elastix Unified Communications Server Cookbook
- Gerardo Barajas Puente
- 147字
- 2021-07-23 19:38:52
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:
推薦閱讀
- Learning Apex Programming
- 測試驅動開發:入門、實戰與進階
- C#完全自學教程
- 區塊鏈架構與實現:Cosmos詳解
- Visual C
- C語言實驗指導及習題解析
- 可解釋機器學習:模型、方法與實踐
- ASP.NET開發與應用教程
- Spring MVC+MyBatis開發從入門到項目實踐(超值版)
- MongoDB Cookbook(Second Edition)
- Python預測之美:數據分析與算法實戰(雙色)
- Spring Boot從入門到實戰
- Java 9:Building Robust Modular Applications
- JSP應用與開發技術(第3版)
- Backbone.js Patterns and Best Practices