Asterisk IAX2

[general]
register => 100000:johnspassword@atlanta.icttech.net:4569

[icttech]
type=friend
username=100000 ;(Replace with your Sub Account username, i.e. 123456_sub)
secret=johnspassword ;your password
context=mycontext
host=atlanta.icttech.net ;(one of our multiple servers, you can choose the one closer to your location)
disallow=all
allow=ulaw
; allow=g729 ; uncomment if you support it
insecure=port,invite 
requirecalltoken=no

extensions.conf

[mycontext]
; Make sure to include inbound prior to outbound because the _NXXNXXXXXX handler will match the incoming call and create a loop
include => icttech-inbound
include => icttech-outbound

[icttech-outbound]
exten => _1NXXNXXXXXX,1,Dial(IAX2/icttechnet/${EXTEN})
exten => _1NXXNXXXXXX,n,Hangup()
exten => _NXXNXXXXXX,1,Dial(IAX2/icttechnet/1${EXTEN})
exten => _NXXNXXXXXX,n,Hangup()
exten => _011.,1,Dial(IAX2/icttechnet/${EXTEN})
exten => _011.,n,Hangup()
exten => _00.,1,Dial(IAX2/icttechnet/${EXTEN})
exten => _00.,n,Hangup()

; inbound context example for your DID numbers, do not add the number 1 in front

[icttech-inbound]
exten => 7863643011,1,Answer() ;your DID

  • 103 Users Found This Useful
Was this answer helpful?

Related Articles

LG Vertical Summit

The LG Vertical Summit is a hybrid IP PBX which offers a robust digital and VoIP solution. We...

Nortel/Avaya BCM 450 and BCM50 R6

NortelBCM   To configure the Nortel BCM you must have VOIP Trunk or SIP Trunk keycodes. The...

FreeSwitch

FreeSwitch Configuration Termination You may need to add from domain param set to icttech.net...

3CX Phone System

3CX Phone System for Windows Version 9. 3CX Phone System is a software-based IP PBX that...

Asterisk

Asterisk is a telephone private branch exchange (PBX), created in 1999 as open software for Linux...