Created
March 13, 2016 03:44
-
-
Save JuanCrg90/d959574ccf2652877786 to your computer and use it in GitHub Desktop.
Asterisk SIP Accounts Configuration
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
[local-sip] | |
include => local-sip | |
exten => _3XXX,1,Dial(SIP/${EXTEN},10,tTr) | |
exten => _3XXX,2,Hangup() | |
exten => *98,1,VoiceMailMain | |
exten => *98,2,Hangup |
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
[general] | |
context=public ; Default context for incoming calls. Defaults to 'default' | |
udpbindaddr=0.0.0.0 | |
tcpenable=no | |
tcpbindaddr=0.0.0.0 | |
transport=udp | |
srvlookup=yes | |
disallow=all | |
allow=ulaw | |
externip = XXX.XXX.XXX.XXX ;Your AWS EC2 Public IP | |
externaddr = XXX.XXX.XXX.XXX ;Your AWS EC2 Public IP | |
localnet=XXX.XXX.XXX.XXX/255.255.240.0 ;Your AWS EC2 Local IP | |
nat = route | |
[3001] | |
type=friend | |
callerid="User 1" <3001> | |
host=dynamic | |
canreinvite=no | |
secret=3001 | |
dtmfmode=rfc2833 | |
context=local-sip | |
qualify=yes | |
[3002] | |
type=friend | |
callerid="User 2" <3002> | |
host=dynamic | |
canreinvite=no | |
secret=3002 | |
dtmfmode=rfc2833 | |
context=local-sip | |
qualify=yes | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment