[asterisk-users] iax to iax Reject Connection
chawki hammoud
cyhammoud at yahoo.com
Thu May 10 02:39:13 MST 2007
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 at 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 flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097
More information about the asterisk-users
mailing list