Cassius Smith
2010-Oct-18 01:13 UTC
[asterisk-users] IAX2 works one direction, but not the other...
<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div>I'm having trouble getting an IAX2 connection between a couple of servers. I<br>can make calls from server B to server A, but when I call from Server A to server<br>B, I get "No authority found".<br><br>On ServerA I am running Asterisk 1.6.2.9<br>On ServerB I'm running 1.6.2.13<br><br>Any hints for me? <br>The registrations in both directions seem to work fine when I do an iax2 reload from the CLI.<br><br>config file snips shown below.<br>Thanks<br>Cassius Smith<br>=====================================<br><br>On server B, I have the following:<br>[general]<br>register => serverB:longsecretpassword2@ServerA_IP<br><br>[serverA]<br>type=friend<br>host=dynamic<br>auth=md5<br>secret=longsecretpassword1<br>context=no911<br><br>[serverB]<br>type=friend<br>host=dynamic<br>auth=md5<br>secret=longsecretpassword2<br>context=no911<br><br>On server A, I have the following:<br>[general]<br>register => serverA:longsecretpassword1@ServerB_IP<br><br>[serverB]<br>type=friend<br>host=dynamic<br>auth=md5<br>secret=longsecretpassword2<br>context=no911<br><br>[cary]<br>type=friend<br>host=dynamic<br>auth=md5<br>secret=longsecretpassword1<br>context=no911<br><br></div> <blockquote id="replyBlockquote" webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size: 10pt; color: black; font-family: verdana;"> </blockquote></span></body></html>
Cassius Smith
2010-Oct-18 23:41 UTC
[asterisk-users] IAX2 works one direction, but not the other...
I'm having trouble getting an IAX2 connection between a couple of servers. I can make calls from server B to server A, but when I call from Server A to server B, I get "No authority found". If I remove serverA's password on ServerB's iax.conf, calls will go through as "UNAUTHENTICATED". On ServerA I am running Asterisk 1.6.2.9 On ServerB I'm running 1.6.2.13 Any hints for me? The registrations in both directions seem to work fine when I do an iax2 reload from the CLI. config file snips shown below. Thanks Cassius Smith ==================================== On server B, I have the following: [general] register => serverB:longsecretpassword2 at ServerA_IP [serverA] type=friend host=dynamic auth=md5 secret=longsecretpassword1 context=no911 [serverB] type=friend host=dynamic auth=md5 secret=longsecretpassword2 ; if I remove this, calls go through as UNAUTHENTICATED context=no911 On server A, I have the following: [general] register => serverA:longsecretpassword1 at ServerB_IP [serverB] type=friend host=dynamic auth=md5 secret=longsecretpassword2 context=no911 [cary] type=friend host=dynamic auth=md5 secret=longsecretpassword1 context=no911
Cassius Smith
2010-Oct-19 00:28 UTC
[asterisk-users] IAX2 works one direction, but not the other...
<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div>BTW I apologize for the double send. <br></div> <blockquote id="replyBlockquote" webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size: 10pt; color: black; font-family: verdana;"> </blockquote></span></body></html>
bakko
2010-Oct-19 16:22 UTC
[asterisk-users] IAX2 works one direction, but not the other...
Hi Paul, I spent two days to conect two Asterisk BOX (1.6.2.13) with IAX with username and password. Only when i changed secret with remotesecret the connection work. Maybe you can try the same configuration to confirm this behaviour Regards - Bakko
Paul Belanger
2010-Oct-19 16:54 UTC
[asterisk-users] IAX2 works one direction, but not the other...
On Mon, Oct 18, 2010 at 7:41 PM, Cassius Smith <cassius at cassius.org> wrote:> Any hints for me?Server Ottawa (192.168.1.190) register => Ottawa:OttawaIsCool at 192.168.1.196 [Toronto] type=peer host=dynamic username=Toronto secret=TorontoIsFine Server Toronto (192.168.1.196) register => Toronto:TorontoIsFine at 192.168.1.190 [Ottawa] type=peer host=dynamic username=Ottawa secret=OttawaIsCool -- Paul Belanger | dCAP Polybeacon | Consultant Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode) blog.polybeacon.com
khalid touati
2010-Oct-19 18:04 UTC
[asterisk-users] IAX2 works one direction, but not the other...
Hi Cassius, it may be slightly offsubject but i did connect two 1.6 asterisk boxes, and the only issue i had is these two statements missing: calltokenoptional=209.16.236.73/255.255.255.0 requirecalltoken=no hope it helps! On Tue, Oct 19, 2010 at 12:54 PM, Paul Belanger < paul.belanger at polybeacon.com> wrote:> On Mon, Oct 18, 2010 at 7:41 PM, Cassius Smith <cassius at cassius.org> > wrote: > > Any hints for me? > > Server Ottawa (192.168.1.190) > > register => Ottawa:OttawaIsCool at 192.168.1.196<Ottawa%3AOttawaIsCool at 192.168.1.196> > > [Toronto] > type=peer > host=dynamic > username=Toronto > secret=TorontoIsFine > > Server Toronto (192.168.1.196) > > register => Toronto:TorontoIsFine at 192.168.1.190<Toronto%3ATorontoIsFine at 192.168.1.190> > > [Ottawa] > type=peer > host=dynamic > username=Ottawa > secret=OttawaIsCool > > -- > Paul Belanger | dCAP > Polybeacon | Consultant > Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode) > blog.polybeacon.com > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Abdullah -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101019/ef58ac04/attachment.htm