Outgoing with internal number dialing
Last updated
Last updated
Let's say there is a certain number +371 (2) 637‑23‑33, by calling to which and dialing an extension you can get to a specific employee. This can be extremely convenient, especially if the extension number is longer than 3 characters. Next, we describe an example of the implementation of the task.
To solve the problem, additional contexts should be described through the Customization of System Files menu.
We will edit the extensions.conf file.
Add the following text to the end of the file:
Next, it is necessary to describe the Applications of dialplans
Select "Type of code" - "Asterisk Dialplan"
Let's say you need to "dial" the number 3542331, set this value to "Number to call the application"
Go to the "Programme Code" tab and insert the template:
If you specify the 9XXXX template in the "Application call number" field, it will be possible to "dial" any five-digit numbers starting with the digit "9"
In the application, assign the variable "ZDST" the number to which the call should be made In the "ZDTMF" variable, specify the number for the additional set
In the "ZPROVIDERID" variable, specify the ID of the provider through which the outgoing call should be made. ID can be peeped in the browser address bar when editing the provider