[Asterisk-Users] IAX Not working between machines
Andrew Joakimsen
andrew at envisionstudio.net
Fri Oct 10 19:19:44 MST 2003
I double checked the contexts and they are all using the same context
right now.
I also just notied this message:
NOTICE[9226]: File chan_iax2.c, Line 2855 (register_verify): Peer
USERNAME is not dynamic (from 66.156.244.159)
> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com [mailto:asterisk-users-
> admin at lists.digium.com] On Behalf Of Jeremy McNamara
> Sent: Friday, October 10, 2003 8:25 PM
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] IAX Not working between machines
>
> Andrew Joakimsen wrote:
>
> >I setup two machines to talk to each other with IAX and it does not
seem
> >to work. When a call comes into one machine and transfers it to the
> >other, the machine that is transferring to the other one shows:
> >
> > -- Accepting AUTHENTICATED call from 65.127.126.42, requested
format
> >= 4, actual format = 4
> > -- Executing Dial("IAX2[NuFone at NuFone]/4",
> >"IAX2/USERNAME:SECRET at joako/320|90|r") in new stack
> > -- Called USERNAME:SECRET at joako/320
> >WARNING[9226]: File chan_iax2.c, Line 4152 (socket_read): Call
rejected
> >by 66.156.244.159: No authority found
> >
> >
> >And the machine that should receive the call says:
> >
> >*CLI> NOTICE[8201]: File chan_iax2.c, Line 4060 (socket_read):
Rejected
> >connect attempt from 69.41.227.70
> >
> >
>
> Both of these errors mean the same exact thing, the calling party does
> not have the authority to call the called party.
>
> You need something like this:
>
> [USERNAME]
> type=user
> secret=SECRET
> context=the_appropriate context_here_containing_the_320_exten
>
> on the 69.41.227.70 machine.
>
>
> Also, if your not careful, calling like that would cause a Native
Bridge
> to occur, this may or may not be something you want, depending on if
you
> wish to bill for this telephone call or not.
>
>
> Thank you, drive-thru,
>
>
> Jeremy McNamara
>
>
>
>
>
>
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list