|
Question : Asterisk: converting from sip to IAX2
|
|
How do i beging to setup my asterisk server and phones to work with IAX2 instead of sip
|
Answer : Asterisk: converting from sip to IAX2
|
|
3 main steps
1) Open port UDP 4569 on any firewall.
2) Look in your sip.conf file and duplicate all the corresponding settings in the iax2.conf file.
So for example if you sip.conf contains :- [6152] type=friend secret=xxxxxx username=6152 callerid="your name" <6152> host=dynamic canreinvite=yes disallow=all allow=ulaw allow=alaw context=voipuk mailbox=6152
then add the following to iax.conf :- [6152] type=friend secret=xxxxx regextn=6152 host=dynamic context=voipuk mailbox=6152
3) Edit your extensions.conf and replace and DIAL commands with a reference to SIP/ with IAX2/. For example replace 'Dial(SIP/6152,60,tT)' with 'Dial(IAX2/6152,60,tT)'.
|
|
|
|