<HTML>
<HEAD>
<TITLE>Help with IAX Trunking</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I am very confused on IAX Trunking. I mean I understand what is does but I am confused on how to make it work right with my Asterisk server and what all I need to add to make it work like it should. Basically we have two servers and want to call between the two. I have configured the iax.conf files for what I think is right and added lines in both extension.conf files. <BR>
<BR>
Here is what I have done so far: <BR>
<BR>
On our local server (iax.conf) <BR>
<BR>
[general]<BR>
bindport = 4569 <BR>
bindaddr = 0.0.0.0 <BR>
disallow=all<BR>
allow=ulaw<BR>
allow=alaw<BR>
allow=gsm<BR>
mailboxdetail=yes<BR>
<BR>
[ast003] << ast003 is the hostname of the remote server<BR>
type=friend<BR>
username=ast003 << using the login name of the server, but maybe I am confused about what username to use. Do I make a special SIP account for this? <BR>
secret= << I was using the password that went with the user account to log on to the server, but I guess that probably isn’t correct<BR>
auth=plaintext<BR>
host=72.249.129.91 <BR>
context=vvfarm-extensions << the context on the local machine for the extensions <BR>
peercontext=remote-extensions << the context on the remote server<BR>
qualify=yes<BR>
trunk=yes<BR>
<BR>
Extensions.conf<BR>
exten => _17XXX,1,Dial(iax2/ast003/${EXTEN}-1,20) << I don’t even know if that line is right. My goal is to dial 17121 or 17119 and have the phone dial 17121-1 or 17119-1. <BR>
<BR>
On the remote server: <BR>
<BR>
[general]<BR>
bindport = 4569 <BR>
bindaddr = 0.0.0.0 <BR>
disallow=all<BR>
allow=ulaw<BR>
allow=alaw<BR>
allow=gsm<BR>
mailboxdetail=yes<BR>
<BR>
[asterisk] <BR>
type=friend<BR>
username=asterisk <BR>
secret=<BR>
auth=plaintext<BR>
host=64.194.211.170<BR>
context=remote-extensions<BR>
peercontext= vvfarm-extensions<BR>
qualify=yes<BR>
trunk=yes<BR>
<BR>
Extensions.conf<BR>
<BR>
exten => _111XXX,1,Dial(iax2/asterisk/${EXTEN}-1,20) << I don’t even know if that line is right. My goal is to dial 11121 or 11119 and have the phone dial 11121-1 or 11119-1. <BR>
<BR>
Before I begin posted error messages, I am going to assume I have done many things wrong. <BR>
<BR>
Where should I begin? <BR>
<BR>
Steve Anness</SPAN></FONT>
</BODY>
</HTML>