Created
February 20, 2022 19:06
-
-
Save NickBouwhuis/7dc8cbbae84365f383f01c51bb629933 to your computer and use it in GitHub Desktop.
Asterisk - Starter extensions.conf for use with phones and a provider
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
[from-internal] | |
exten = 200,1,Answer() | |
same = n,Wait(1) | |
same = n,Playback(hello-world) | |
same = n,Hangup() | |
exten = _[+X].,1,Noop (Outgoing call to ${EXTEN} via example) | |
same.= n,Dial(PJSIP/${EXTEN}@example) | |
same = n,Hangup() | |
[from-example] | |
exten = 31141231231,1,Noop(Incoming call on example trunk from ${CALLERID(num)}) | |
same = n,Dial(PJSIP/6001) | |
same = n,Hangup() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment