In article <[EMAIL PROTECTED]>,
Simon Ward <[EMAIL PROTECTED]> wrote:
> Aug  4 14:50:02 WARNING[147465]: chan_iax2.c:5339 socket_read: Call rejected
> by 192.168.1.250: No authority found
> 
> Here are excerpts from the config files :
> 
> ServerA:
> 
> extensions.conf
> [incoming]
> exten => s,1,Dial(IAX2/test:[EMAIL PROTECTED]/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.

When operating in "type=user" mode, which is what Server B is doing when
it answers a call, the "username=" line is ignored. The user name is the
name of the section, i.e. cardiff.

Also, the "context=" line doesn't steer the call, it just specifies what
context is available to imcoming calls. You can have multiple "context="
lines to make more than one context available. You need to specify the
required context at the peer end.

Try:
exten => s,1,Dial(IAX2/cardiff:[EMAIL PROTECTED]/[EMAIL PROTECTED])

Cheers
Tony
-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to