<div>Hi, all.</div>
<div>I have problems with iax2, when try to communicate with one third server, asterisk reports the following errors in server's, could help me? <br>Server A it speaks It with C in iax and Server B it speaks with D in iax, but Server A it does not obtain to speak with B in iax, reports the following error in server B "chan_iax2.c:5749 socket_read: Host
200.xxx.xxx.xxx failed you authenticate sipspo "and in the Server A, where I originate the calls reports the following message: "chan_iax2.c:5553 socket_read: Call rejected by 200.xxx.xxx.xxx: In authority found -- Hungup ' IAX2/gatewayspo/16384 ' Where would apply the function switch in
extensions.conf? Necessary of something more? I am using the version the 1.0.9 of asterisk in all tips. <br>Below follows my configurations of iax.conf the interesting one is that register it functions in each server, what could be? Already I compiled and I installed everything two times and the error persists.
</div>
<div><br>Greatings</div>
<div> </div>
<div>
<p>server B</p>
<p>[general]<br>bindport=4569<br>bindaddr=<a href="http://0.0.0.0">0.0.0.0</a></p>
<p>trunkdfreq=40<br>amaflags=billing<br>disallow=all<br>allow=gsm<br>allow=g729<br>;allow=g723.1<br>;allow=ulaw<br>tos=lowdelay<br>jitterbuffer=yes</p>
<p>[cornjundiai]<br>type=friend<br>username=corncea<br>context=default<br>secret=spojundiai<br>host=<a href="http://133.1.150.1">133.1.150.1</a><br>peercontext=default<br>qualify=yes<br>trunk=yes<br>insecure=very<br>canreinvite=no
<br>incominglimit=30<br>disallow=all<br>allow=gsm<br>;allow=g729<br>;allow=g723.1<br>;allow=ulaw</p>
<p>[gatewaycea]<br>type=friend<br>username=sipcea<br>context=default<br>secret=ceaiax<br>host=200.XXX.XXX.XXX<br>peercontext=default<br>qualify=yes<br>trunk=yes<br>insecure=very<br>canreinvite=no<br>incominglimit=30<br>disallow=all
<br>allow=gsm<br>;allow=g729<br>;allow=g729<br>;allow=g723.1<br>;allow=ulaw</p>
<p>[5003]<br>type=friend<br>secret=5003<br>context=default<br>host=dynamic<br>regexten=5003<br>amaflags=billing</p>
<p><br>SERVER A:</p>
<p>[agra]<br>type=friend<br>username=cea<br>context=default<br>secret=agracea<br>host=200.XXX.XXX.XXX<br>peercontext=default<br>qualify=yes<br>trunk=yes<br>insecure=very<br>canreinvite=no<br>incominglimit=30<br>disallow=all
<br>allow=gsm<br>;allow=g729<br>;allow=g723.1<br>;allow=ulaw</p>
<p>[sipcea]<br>type=friend<br>username=gatewaycea<br>context=default<br>secret=ceaiax<br>insecure=very<br>host=200.XXX.XXX.XXX<br>peercontext=default<br>qualify=yes<br>trunk=yes<br>insecure=very<br>canreinvite=no<br>incominglimit=30
<br>disallow=all<br>allow=gsm<br>;allow=g729<br>;allow=g723.1<br>;allow=ulaw</p>
<p>;[5011]<br>type=friend<br>secret=5011<br>host=dynamic<br>callgroup=1<br>amaflags=billing</p></div>