Hi: It's the first time I have this problem. No matter how I configure my two IAX machines the connection is rejected. "chan_iax2.c:5550 socket_read: Call rejected by ****: No authority found" iax server A: [saad_out] type=peer host=hostip username=username secret=secret disallow=all allow=gsm iax server B: [guest] type=user username=username secret=secret context=tele disallow=all allow=gsm Any suggestions of why the connection is refused. I have no firewall. Thanks ____________________________________________________________________________________ We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265
First and foremost, you will probably want the two entries to be under the same name. So you'll want your user entry to also be named [saad_out]. Also, on server B you will want to have it register with server A. The line should be under the [general] section of iax.conf and look like this: register => username:secret@server A's IP Hope this helps, - ?? chawki hammoud <cyhammoud@yahoo.com> wrote: Hi: It's the first time I have this problem. No matter how I configure my two IAX machines the connection is rejected. "chan_iax2.c:5550 socket_read: Call rejected by ****: No authority found" iax server A: [saad_out] type=peer host=hostip username=username secret=secret disallow=all allow=gsm iax server B: [guest] type=user username=username secret=secret context=tele disallow=all allow=gsm Any suggestions of why the connection is refused. I have no firewall. Thanks ____________________________________________________________________________________ We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265 _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users --------------------------------- Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070507/18223d95/attachment.htm
Hi, Don't you have to configure the host option for each channel in iax.conf? Look at: http://www.voip-info.org/wiki/index.php?page=Asterisk+config+iax.conf Ronaldo. chawki hammoud wrote:> Hi: > > It's the first time I have this problem. > > No matter how I configure my two IAX machines the > connection is rejected. > > "chan_iax2.c:5550 socket_read: Call rejected by ****: > No authority found" > > iax server A: > > [saad_out] > type=peer > host=hostip > username=username > secret=secret > disallow=all > allow=gsm > > > iax server B: > > [guest] > type=user > username=username > secret=secret > context=tele > disallow=all > allow=gsm > > > Any suggestions of why the connection is refused. I > have no firewall. > > Thanks > > > > > > > ____________________________________________________________________________________ > We won't tell. Get more on shows you hate to love > (and love to hate): Yahoo! TV's Guilty Pleasures list. > http://tv.yahoo.com/collections/265 > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >
chawki hammoud wrote:> Hi: > > It's the first time I have this problem. > > No matter how I configure my two IAX machines the > connection is rejected. > > "chan_iax2.c:5550 socket_read: Call rejected by ****: > No authority found"Without seeing your dialplan it is a little hard to determine why but I'll try based on your iax.conf entries below.> iax server A: > > [saad_out] > type=peer > host=hostip > username=username > secret=secret > disallow=all > allow=gsm >When the call is sent out it is going to authenticate using the username "username".> iax server B: > > [guest] > type=user > username=username > secret=secret > context=tele > disallow=all > allow=gsm >This is incorrect, username is not valid in a user entry. The username is specified between the [ and ]. In this case it is guest. Therefore no user entry exists with the username "username" and the other box can't authenticate.> Any suggestions of why the connection is refused. I > have no firewall. > > Thanks > >Here is a basic entry for a peer: [trunk-out] type=peer host=my.silly.box username=myserver secret=password disallow=all allow=ulaw The call will be sent to my.silly.box and will try to authenticate as myserver with the password password. Here is a basic entry for a user: [myserver] type=user secret=password disallow=all allow=ulaw context=servers Here is the respective dial line: IAX2/trunk-out/${EXTEN} Joshua Colp Software Developer Digium, Inc.
Try type=friend and if that doesn't work, Insecure=very. I have battled this "no authority found" problem before but cannot remember the exact fix. Thanks, Steve Totaro http://www.asteriskhelpdesk.com KB3OPB> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of chawki hammoud > Sent: Thursday, May 10, 2007 5:39 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] iax to iax Reject Connection > > Hi: > > I just failed to see the difference between of what > you wrote and what I did. > > Anyway, same configuration is working fine with sip, > but not with iax. > > Regards; > Chawki Hammoud > > --- Joshua Colp <jcolp@digium.com> wrote: > > > chawki hammoud wrote: > > > Hi: > > > > > > It's the first time I have this problem. > > > > > > No matter how I configure my two IAX machines the > > > connection is rejected. > > > > > > "chan_iax2.c:5550 socket_read: Call rejected by > > ****: > > > No authority found" > > > > Without seeing your dialplan it is a little hard to > > determine why but > > I'll try based on your iax.conf entries below. > > > > > iax server A: > > > > > > [saad_out] > > > type=peer > > > host=hostip > > > username=username > > > secret=secret > > > disallow=all > > > allow=gsm > > > > > > > When the call is sent out it is going to > > authenticate using the username > > "username". > > > > > iax server B: > > > > > > [guest] > > > type=user > > > username=username > > > secret=secret > > > context=tele > > > disallow=all > > > allow=gsm > > > > > > > This is incorrect, username is not valid in a user > > entry. The username > > is specified between the [ and ]. In this case it is > > guest. Therefore no > > user entry exists with the username "username" and > > the other box can't > > authenticate. > > > > > Any suggestions of why the connection is refused. > > I > > > have no firewall. > > > > > > Thanks > > > > > > > > > > Here is a basic entry for a peer: > > > > [trunk-out] > > type=peer > > host=my.silly.box > > username=myserver > > secret=password > > disallow=all > > allow=ulaw > > > > The call will be sent to my.silly.box and will try > > to authenticate as > > myserver with the password password. > > > > Here is a basic entry for a user: > > > > [myserver] > > type=user > > secret=password > > disallow=all > > allow=ulaw > > context=servers > > > > Here is the respective dial line: > > IAX2/trunk-out/${EXTEN} > > > > Joshua Colp > > Software Developer > > Digium, Inc. > > > > _______________________________________________ > > --Bandwidth and Colocation provided by Easynews.com > > -- > > > > asterisk-users mailing list > > To UNSUBSCRIBE or update options visit: > > > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > >________________________________________________________________________ __> __________ > Finding fabulous fares is fun. > Let Yahoo! FareChase search your favorite travel sites to find flightand> hotel bargains. > http://farechase.yahoo.com/promo-generic-14795097 > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users