Difference between revisions of "PBX Function External DID"
Line 1: | Line 1: | ||
=Description= | = Description = | ||
'''!!WARNING - Deep Asterisk knowledge is a must before proceeding!!''' <br><br> | '''!!WARNING - Deep Asterisk knowledge is a must before proceeding!!''' <br><br> | ||
Line 26: | Line 25: | ||
<br><br> | <br><br> | ||
=Usage= | = Usage = | ||
Go to '''ADDON –> PBX functions –> External DIDs''': | Go to '''ADDON –> PBX functions –> External DIDs''': | ||
<br><br> | <br><br> | ||
Line 41: | Line 39: | ||
duplicate Extensions can not be created in same PBX Pool. | duplicate Extensions can not be created in same PBX Pool. | ||
= | = Echo test= | ||
Create External DID with PBX function name ''External DID'' and assign it to a DID. Let say DID is 1234567890. | |||
<br> | |||
Make changes in this file: | |||
/etc/asterisk/extensions_mor_external_did.conf | |||
Add: | |||
exten => 1234567890,1,Answer | |||
exten => 1234567890,2,Echo | |||
exten => 1234567890,3,Hangup | |||
Safe file and reload dial plan: | |||
asterisk -rx "dialplan reload" | |||
Once you diall 1234567890, you will hear the ''Echo'' test. | |||
<br> | |||
* [http://www.voip-info.org/wiki/view/Asterisk+cmd+Echo Asterisk cmd Echo] more details | |||
= See also = | |||
* [[PBX Functions Addon]] | * [[PBX Functions Addon]] |
Revision as of 12:38, 23 December 2015
Description
!!WARNING - Deep Asterisk knowledge is a must before proceeding!!
External DID function allows you to implement different PBX (or other Asterisk related functions) into MOR.
When you assign some DID number pbxfunction External DID your call is forwarded to an extension file
in Asterisk called:
/etc/asterisk/extensions_mor_external_did.conf
NOTE: changes to this file are permanent. E.g. update do not overwrite this file.
Prior to making configurations in that file, please keep in mind, that:
When call comes to DID, for example DID number 1234567890 it will be forwarded to the dial plan in that file with extension:
exten => 1234567890,1,...
DID number and PBX function Extension CANNOT be the same. So if your DID is 1234567890, your PBX function extension
cannot be 1234567890, it can be any other number, like *235485.
In this file you can basically configure any function that Asterisk supports to handle your call, like:
Usage
Go to ADDON –> PBX functions –> External DIDs:
Here you will see list off PBX function External DIDs
Click on icon to make changes for existing settings or enter Extension and Dial Plan name, select PBX Pool and PBX Function name and click on icon to create new one.
- Note: you can change the User who will be billed by pressing the edit button;
duplicate Extensions can not be created in same PBX Pool.
Echo test
Create External DID with PBX function name External DID and assign it to a DID. Let say DID is 1234567890.
Make changes in this file:
/etc/asterisk/extensions_mor_external_did.conf
Add:
exten => 1234567890,1,Answer exten => 1234567890,2,Echo exten => 1234567890,3,Hangup
Safe file and reload dial plan:
asterisk -rx "dialplan reload"
Once you diall 1234567890, you will hear the Echo test.
- Asterisk cmd Echo more details