Initial Asterisk configuration.
This commit is contained in:
parent
def7eccaf4
commit
dd81269e04
12
extensions.conf
Normal file
12
extensions.conf
Normal file
@ -0,0 +1,12 @@
|
||||
[general]
|
||||
autofallthrough=yes
|
||||
|
||||
[globals]
|
||||
|
||||
[nexmo-trunk]
|
||||
exten => _X.,1,Dial(SIP/${EXTEN},30)
|
||||
|
||||
[internal]
|
||||
exten => 666,1,Dial(SIP/666)
|
||||
exten => 777,1,Dial(SIP/777)
|
||||
exten => _X.,1,Dial(SIP/${EXTEN}@nexmo-<phone_number>)
|
2
modules.conf
Normal file
2
modules.conf
Normal file
@ -0,0 +1,2 @@
|
||||
[modules]
|
||||
autoload=yes
|
51
nexmo.conf
Normal file
51
nexmo.conf
Normal file
@ -0,0 +1,51 @@
|
||||
[general]
|
||||
context=nexmo-trunk
|
||||
register => <username>:<api_key>@sip.nexmo.com
|
||||
nat=yes
|
||||
|
||||
[nexmo]
|
||||
context=nexmo-trunk
|
||||
fromdomain=sip.nexmo.com
|
||||
type=peer
|
||||
insecure=port,invite
|
||||
nat=no
|
||||
dtmfmode=rfc2833
|
||||
allow=ulaw
|
||||
allow=alaw
|
||||
allow=G729
|
||||
|
||||
[nexmo-sip-01](nexmo)
|
||||
host=5.10.112.121
|
||||
|
||||
[nexmo-sip-02](nexmo)
|
||||
host=5.10.112.122
|
||||
|
||||
[nexmo-sip-03](nexmo)
|
||||
host=119.81.44.6
|
||||
|
||||
[nexmo-sip-04](nexmo)
|
||||
host=119.81.44.7
|
||||
|
||||
[nexmo-sip-05](nexmo)
|
||||
host=169.60.141.29
|
||||
|
||||
[nexmo-sip-06](nexmo)
|
||||
host=169.60.141.30
|
||||
|
||||
|
||||
[nexmo-<phone_number>]
|
||||
context=nexmo-trunk
|
||||
username=<username>
|
||||
defaultuser=<username>
|
||||
secret=<api_key>
|
||||
fromuser=<phone_number>
|
||||
fromdomain=sip.nexmo.com
|
||||
host=sip.nexmo.com
|
||||
type=peer
|
||||
insecure=very
|
||||
qualify=yes
|
||||
nat=no
|
||||
dtmfmode=rfc2833
|
||||
allow=ulaw
|
||||
allow=alaw
|
||||
allow=G729
|
Loading…
x
Reference in New Issue
Block a user