Your configuration is wrong, IAX is sort of tricky to master. Perhaps you should stop flooding the list with your messages every few hours? Play around with user= fromuser= and peer and friend and it should work with a few tries :) Better yet maybe the ITSP provide sample configfiles?
<br><br><div><span class="gmail_quote">On 12/1/06, <b class="gmail_sendername">hugolivude</b> <<a href="mailto:hugolivude@gmail.com">hugolivude@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Asterisk 1.2.7<br>Redhat 9<br><br>I have DiDs from two different ITSP both set up as IAX2. Each one<br>works when it's the only one in my iax.conf, but when I have them both<br>defined in iax.conf at the same time, only one will work. My
iax.conf<br>is provided below.<br><br>Any ideas how to fix? I'd like to use both DiDs!<br><br>Thanks,<br>H<br><br>My iax.conf is below. When I dial the DiD provided by ITSP_B, the<br>other ITSP seems to reject it. For example when I call the ITSP_B
<br>DiD, I get the following error message:<br><br>Nov 29 21:50:17 NOTICE[23106]: chan_iax2.c:7203 socket_read: Host <IP><br>failed to authenticate as ITSP_A<br><br>iax.conf<br>======<br>[general]<br>register => <my UserID>:<my password>@<ITSP A Server #1 domain>
<br>register => <my UserID>:<my password>@<ITSP A Server #2 domain><br>register => <my UserID>:<my password>@<ITSP B #1 domain><br>notransfer=yes<br>bindport=4569<br>bindaddr=<a href="http://0.0.0.0">
0.0.0.0</a><br>bandwidth=low<br>disallow=all<br>allow=ulaw<br>allow=g729<br>jitterbuffer=yes<br>forcejitterbuffer=no<br>tos=lowdelay<br>autokill=yes<br><br>[ITSP_B]<br>context=incoming-iax<br>type=friend<br>qualify=2000<br>
host=<ITSP B #1 domain><br>user=<my UserID><br>username=<my UserID><br>auth=md5<br>secret=<my password><br>disallow=all<br>allow=ulaw<br>;<br>; *** ITSP_A Inbound ***<br>[ITSP_A]<br>context=incoming-iax
<br>type=user<br>auth=md5<br>username=<my UserID><br>secret=<my password><br>disallow=all<br>allow=ulaw<br>;<br>; *** ITSP_A Outbound ***<br>[ITSP_A-Out]<br>type=peer<br>host=<ITSP A Server #1 domain><br>
auth=md5<br>username=<my UserID><br>secret=<my password><br>disallow=all<br>qualify=yes<br>allow=ulaw<br>;<br>[ITSP_A-Out2]<br>type=peer<br>host=<ITSP A Server #2 domain><br>auth=md5<br>username=<my UserID>
<br>secret=<my password><br>disallow=all<br>qualify=yes<br>allow=ulaw<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>
<br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote>
</div><br>