[Asterisk-Users] IAX TO IAX call between two registered servers

John Millican john at millican.us
Mon Aug 8 15:42:33 MST 2005


Hello all,
I know this has been covered on list but can not find the answer I need, lots 
of references to no authority found, but none with an answer.
I have two * servers, one behind firewall with nat the other on a dmz with 
nat.  Both servers register with each other successfully.  
home is today's CVS-HEAD
away is Asterisk 1.0.7
on away: Registered to '165.xxx.xxx.xxx', who sees us as 69.xxx.xxx.xxx:4569 
on home: Registered IAX2 to '69.xxx.xxx.xxx', who sees us as 
165.xxx.xxx.xxx:4569
When i place a call from home to away:
exten => _998, 1, Dial(IAX2/xxxxxxxxx:home at away);

 I get the following message on home:
Aug  8 18:31:03 WARNING[20598]: chan_iax2.c:6820 socket_read: Call rejected by 
69.xxx.xxx.xxx: No authority found

and get this message on away
Aug  8 18:32:42 NOTICE[16923]: chan_iax2.c:5448 socket_read: Rejected connect 
attempt from 165.xxx.xxx.xxx

home iax.conf
[away]
type=peer
username=away
auth=plaintext
secret=xxxxxxxxx
host=dynamic
context=pap2
dissallow=all
allow=ulaw

[away-in]
type=peer
auth=plaintext
secret=xxxxxxxxx
host=dynamic
context=pap2
dissallow=all
allow=ulaw

[away-out]
type=peer
secret=xxxxxxxxx
username=away
host=dynamic
disallow=all
allow=ulaw


away iax.conf
[home]
type=peer
user=home
secret=xxxxxxxxx
host=dynamic
context=default

[home-in]
type=user
username=home
secret=xxxxxxxxx
context=default

[home-out]
type=peer
secret=xxxxxxxxx
username=home
host=my.domain.com

any suggestions would be greatly appreciated.
Thank you,
John M




More information about the asterisk-users mailing list