Asterisk Configuration Examples
extensions.conf:
[from-flynum]
exten => _X.,1,Ringing
exten => _X.,n,Answer
exten => _X.,n,Echo
exten => _X.,n,Wait(600)
exten => _X.,n,Hangup
SIP
sip.conf:
[flynum-ny]
host=46.19.209.14
dtmfmode=rfc2833
dtmf=rfc2833
type=peer
context=from-flynum
insecure=invite,port
nat=never
allow=all
[flynum-fra]
host=46.19.210.14
dtmfmode=rfc2833
dtmf=rfc2833
type=peer
context=from-flynum
insecure=invite,port
nat=never
allow=all
[flynum-la]
host=46.19.212.14
dtmfmode=rfc2833
dtmf=rfc2833
type=peer
context=from-flynum
insecure=invite,port
nat=never
allow=all
[flynum-mia]
host=46.19.213.14
dtmfmode=rfc2833
dtmf=rfc2833
type=peer
context=from-flynum
insecure=invite,port
nat=never
allow=all
[flynum-sg]
host=46.19.214.14
dtmfmode=rfc2833
dtmf=rfc2833
type=peer
context=from-flynum
insecure=invite,port
nat=never
allow=all
IAX
iax.conf:
[flynum-iax-us]
type=user
permit=46.19.209.42
context=from-flynum
[flynum-iax-eu]
type=user
permit=46.19.210.42
context=from-flynum