Created
July 31, 2018 14:20
-
-
Save ipoddubny/03cdc347dbe19e78be92570a2be87b14 to your computer and use it in GitHub Desktop.
Asterisk loopback switch usage example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; CompanyID is a channel variable always present when calling someFunction,s,1 | |
[someFunction] | |
exten => s,1,WaitExten(10) | |
exten => _X,1,... ; standard handling of 1,2,3,4,5 - common for any company ID | |
; ... | |
eswitch => Loopback/${EXTEN}@someFunction_custom_${CompanyID} | |
[someFunction_custom_1] | |
exten => 101,... | |
exten => 102,... | |
[someFunction_custom_9000] | |
exten => 101,... | |
exten => 123,... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment