[Asterisk-Users] IAX TO IAX call between two registered servers
Carlos Chavez
cursor at telecomabmex.com
Mon Aug 8 16:06:49 MST 2005
On Mon, 2005-08-08 at 18:42 -0400, John Millican wrote:
> 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 guess what you are trying to do here is dial 998 and then the remote
extension number? If so your extension shoud be something like:
exten => _998.,1,Dial(IAX2/xxxxx:home at away/${EXTEN:3})
>
> 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
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
--
Telecomunicaciones Abiertas de Mexico
Carlos Chavez
Director de Tecnologia
+52-55-91169161 Ext. 2001
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050808/a9eb6cff/attachment.pgp
More information about the asterisk-users
mailing list