BTW..
Q1: Are you using HEAD or STABLE?
Q2: Are you using "bindaddr", "externip", "localnet" and "localmask" in your SIP.CONF?
Something tells me that the CVS HEAD version of Asterisk is smart enough to figure out
if we'r inside or outside...
(chan_sip.c checked out june-10)
/*--- ast_sip_ouraddrfor: NAT fix - decide which IP address to use for ASterisk
server? ---*/
/* Only used for outbound registrations */
static int ast_sip_ouraddrfor(struct in_addr *them, struct in_addr *us)
{
/*
* Using the localaddr structure built up with localnet statements
* apply it to their address to see if we need to substitute our
* externip or can get away with our internal bindaddr
*/
Then again, I could be wrong.. ;-)
-- Soren
----- Original Message -----
From: "Didelot Loic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 11, 2004 2:37 PM
Subject: [Asterisk-Users] phone calls betweens phones behind the same nat
> Hi,
> I have the following problem.
>
> I have 5 phones behind the same nat (canreinvite=yes). it works fine to
> receive calls and to make calls. sound quality is good, so everything
> works fine.
>
> The poblem is that the phone behind nat cant call each other. It works
> if canreinvite=no. But i want to do this.
>
> Does anyone have an idea?
>
> Regards,
> cjk.
>
> _______________________________________________
> 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
>
_______________________________________________
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