Asterisk settings iaxtel


This service has been unstable lately.

This is a very generic setup used to dial out from Iaxtel and to ring a SIP extension on incoming calls. The code is made entirely of excerpts of the configuration files, and need the remaining portions of the files to be useful.

Please keep each example in its own separate box in order to keep each example separate.

Replace any host= information and the server portion of the register line if the settings provided to you are different.

iax.conf
Under the general context:
register => username:password@iaxtel.com

[Iaxtel]
type=friend
host=iaxtel.com
secret=password
auth=rsa
context=from-iaxtel
inkeys=iaxtel

extensions.conf For incoming calls
[from-iaxtel]
exten => s,1,Wait(2)
exten => s,2,Answer
exten => _.,3,Dial(SIP/2001,60,tr)
exten => _.,4,Hangup

extensions.conf For outgoing calls:
[iaxtel-trunks]
; Outbound 1-700 and Toll-free calls go via Iaxtel.
; Be sure to include the iaxtel-trunks context in your dialing context
exten => _17XXNXXXXXX,1,Dial(IAX2/jjhall@iaxtel/${EXTEN}@iaxtel)
exten => _1888NXXXXXX,1,Dial(IAX2/jjhall@iaxtel/${EXTEN}@iaxtel)
exten => _1877NXXXXXX,1,Dial(IAX2/jjhall@iaxtel/${EXTEN}@iaxtel)
exten => _1866NXXXXXX,1,Dial(IAX2/jjhall@iaxtel/${EXTEN}@iaxtel)
exten => _1800NXXXXXX,1,Dial(IAX2/jjhall@iaxtel/${EXTEN}@iaxtel)






This service has been unstable lately.

This is a very generic setup used to dial out from Iaxtel and to ring a SIP extension on incoming calls. The code is made entirely of excerpts of the configuration files, and need the remaining portions of the files to be useful.

Please keep each example in its own separate box in order to keep each example separate.

Replace any host= information and the server portion of the register line if the settings provided to you are different.

iax.conf
Under the general context:
register => username:password@iaxtel.com

[Iaxtel]
type=friend
host=iaxtel.com
secret=password
auth=rsa
context=from-iaxtel
inkeys=iaxtel

extensions.conf For incoming calls
[from-iaxtel]
exten => s,1,Wait(2)
exten => s,2,Answer
exten => _.,3,Dial(SIP/2001,60,tr)
exten => _.,4,Hangup

extensions.conf For outgoing calls:
[iaxtel-trunks]
; Outbound 1-700 and Toll-free calls go via Iaxtel.
; Be sure to include the iaxtel-trunks context in your dialing context
exten => _17XXNXXXXXX,1,Dial(IAX2/jjhall@iaxtel/${EXTEN}@iaxtel)
exten => _1888NXXXXXX,1,Dial(IAX2/jjhall@iaxtel/${EXTEN}@iaxtel)
exten => _1877NXXXXXX,1,Dial(IAX2/jjhall@iaxtel/${EXTEN}@iaxtel)
exten => _1866NXXXXXX,1,Dial(IAX2/jjhall@iaxtel/${EXTEN}@iaxtel)
exten => _1800NXXXXXX,1,Dial(IAX2/jjhall@iaxtel/${EXTEN}@iaxtel)





Created by: oej, Last modification: Sun 26 of Jun, 2005 (03:58 UTC) by bbrendon
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+