<DIV>Mediaproxy is working only when the caller is behind NAT. If the Caller is in the public network and the callee is behind NAT, the mediaproxy does not work.. if I use the mediaproxy for all the invites then everything is working but I want to use the mediaproxy only when one of the party is behind NAT.</DIV>
<DIV> </DIV>
<DIV>This is how am using the mediaproxy in my configure. </DIV>
<DIV><BR> if (method=="INVITE" && isflagset(5)) {<BR> use_media_proxy();<BR> t_on_reply("1");<BR><BR>};</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR>onreply_route[1] {</DIV>
<DIV> </DIV>
<DIV> if (status=~"(183)|2[0-9][0-9]") {<BR> if (client_nat_test("1")) {<BR> fix_contact();<BR> };<BR> use_media_proxy();<BR> };<BR> if (status=~"[3-4]0[0-9]") {<BR> end_media_session();<BR> break;<BR> };<BR>}<BR> </DIV>
<DIV>Please let me know what i need to do to check if calle is behind NAT. </DIV>
<DIV> </DIV>
<DIV>thanks</DIV>
<DIV>Mohamed</DIV><p><br><hr size=1>Post your free ad now! <a href="http://ca.personals.yahoo.com/"><b>Yahoo! Canada Personals</b></a><br>