<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Hi Alex,<BR>
&nbsp;<BR>
The problem I am having is that I am receiving one way audio or none at all for some calls.<BR>
&nbsp;<BR>
For example I have two pones behind the same NAT and they can call each other without any problems, they can also call out through an asterisk gateway. The problems occur when there are incoming calls from the gateway.<BR>
&nbsp;<BR>
I have looked at the SDP and they have local addresses, so I use the fix_nated_sdp("15") option and calls from the gateways work, however now calls between the two phones inside of the same NAT fail. I think this is because the devices can talk to each other directly, however when the SDP is changed to the NAT'ed address they can not.<BR>
&nbsp;<BR>
If there is a way to check if they are behind the same NAT device, I could then only fix_nated_sdp("15") only when needed.<BR>
&nbsp;<BR>
Thanks,<BR>
&nbsp;<BR>
Ross<BR><BR><BR>

<HR id=stopSpelling>
<BR>
&gt; Date: Mon, 28 Jul 2008 09:50:20 -0400<BR>&gt; From: abalashov@evaristesys.com<BR>&gt; To: ross_beer@hotmail.com<BR>&gt; CC: users@lists.openser.org<BR>&gt; Subject: Re: [Kamailio-Users] Detecting Two Phones Behind Same NAT<BR>&gt; <BR>&gt; Ross Beer wrote:<BR>&gt; <BR>&gt; &gt; Is there a way to detect two phones behind the same NAT device?<BR>&gt; <BR>&gt; What do you mean by "detect?"<BR>&gt; <BR>&gt; If they register, their Contacts will (presumably) be to different NAT'd <BR>&gt; signaling ports on the NAT device.<BR>&gt; <BR>&gt; -- <BR>&gt; Alex Balashov<BR>&gt; Evariste Systems<BR>&gt; Web : http://www.evaristesys.com/<BR>&gt; Tel : (+1) (678) 954-0670<BR>&gt; Direct : (+1) (678) 954-0671<BR>&gt; Mobile : (+1) (706) 338-8599<BR><BR><br /><hr />Get Hotmail on your Mobile!  <a href='http://clk.atdmt.com/UKM/go/101719965/direct/01/' target='_new'>Try it Now!</a></body>
</html>