[Asterisk-Users] IAX2 'no authority found' problem

Tony Nichols tony at mail.applog.com
Thu Aug 5 08:36:59 MST 2004


On Wed, 2004-08-04 at 10:32, Simon Ward wrote:
> Hi everyone,
> I'm having some problem trying to set up an IAX connection between two * 
> servers.
> The scenario is :
> serverA has an X100p card and will direct all calls from the X100p over 
> IAX to a specific extension on serverB which is at the other end of an 
> unfirewalled VPN connection.
> 
> At the moment serverA tries to redirect the call to serverB but recieves 
> this message (it appears on both servers) :
> 
> -- Executing Dial("Zap/1-1", "IAX2/test:test at 192.168.1.250/cardiff") in 
> new stack
>      -- Called test:test at 192.168.1.250/cardiff
> Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: NEW
>     Timestamp: 00006ms  SCall: 00001  DCall: 00000 [192.168.1.250:4569]
>     VERSION         : 2
>     CALLED NUMBER   : cardiff
>     LANGUAGE        : en
>     USERNAME        : test
>     FORMAT          : 2
>     CAPABILITY      : 65283
>     ADSICPE         : 2
>     DATE TIME       : 151287361
> 
> Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: REJECT
>     Timestamp: 00001ms  SCall: 00001  DCall: 00001 [192.168.1.250:4569]
>     CAUSE           : No authority found
> 
> Aug  4 14:50:02 WARNING[147465]: chan_iax2.c:5339 socket_read: Call rejected
> by 192.168.1.250: No authority found
> Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: ACK
>     Timestamp: 00001ms  SCall: 00001  DCall: 00001 [192.168.1.250:4569]
>      -- Hungup 'IAX2/192.168.1.250:4569/1'
>    == No one is available to answer at this time
> 
> Here are excerpts from the config files :
> 
> ServerA:
> 
> extensions.conf
> [incoming]
> exten => s,1,Dial(IAX2/test:test at 192.168.1.250/cardiff)
> 
> ServerB:
> 
> iax.conf
> [cardiff]
> type=friend
> username=test
> secret=test
> context=sipfonescard
> 
> extensions.conf
> [sipfonescard]
> exten => cardiff,1,Dial(SIP/1101)
> 
> Has anyone got any suggestions on what might be the solution to the 'no 
> authority found' problem, I'm convinced that it must be something pretty 
> simple that I'm missing but I can't find any tips to point me in the 
> right direction.
> 
> Any suggestions would be appreciated,
> 
> Thanks,
> Simon Ward
> _______________________________________________
I also have a vpn between my sites.
Here is what I use:

iax (both servers)

[pbx]
type=user
secret=test
trunk=yes
host=dynamic
qualify=yes
username=pbx

servera:extensions.conf
; iax princeton bridge
exten => _2XX,1,Dial IAX2/pbx:test at 192.168.2.2/${EXTEN}

serverb:extensions.conf
; iax ripley bridge
exten => _1XX,1,Dial IAX2/pbx:test at 192.168.1.5/${EXTEN}

Don't use trunk=yes if you don't have a digium card at each pbx (it's
needed for timing).

t o n y




More information about the asterisk-users mailing list