<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
can you provide ngrep with a signaling flow for a call that doesn't
work? It should show if the rtpproxy control functions were
executed.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 8/28/13 9:28 PM, Kethzer Docteur
wrote:<br>
</div>
<blockquote
cite="mid:CAHoHPXwx4wynuCh2C0WivH8yPw445SUjFTm0M3EoHaLiZbnFLw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>I need help to fixed my NAT configuration I have nat module
load but nat configuration is not working. ANY HELP PLease</div>
<div><br>
</div>
<div>
<div>#!ifdef WITH_NAT</div>
<div>loadmodule "nathelper.so"</div>
<div>loadmodule "rtpproxy.so"</div>
<div>loadmodule "nat_traversal.so"</div>
</div>
<div>#!endif<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>#!ifdef WITH_NAT</div>
<div># ----- rtpproxy params -----</div>
<div>modparam("rtpproxy", "rtpproxy_sock", "udp:<a
moz-do-not-send="true" href="http://127.0.0.1:7722">127.0.0.1:7722</a>")</div>
<div><br>
</div>
<div># ----- nathelper params -----</div>
<div>modparam("nathelper", "natping_interval", 30)</div>
<div>modparam("nathelper", "ping_nated_only", 1)</div>
<div>modparam("nathelper", "sipping_bflag", FLB_NATSIPPING)</div>
<div>modparam("nathelper", "sipping_from", "<a
moz-do-not-send="true"
href="mailto:sip%3Apinger@67.215.8.130">sip:pinger@67.215.8.130</a>")</div>
<div><br>
</div>
<div># params needed for NAT traversal in other modules</div>
<div>modparam("nathelper|registrar", "received_avp",
"$avp(RECEIVED)")</div>
<div>modparam("usrloc", "nat_bflag", FLB_NATB)</div>
<div>#!endif</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>route[NATDETECT] {</div>
<div>#!ifdef WITH_NAT</div>
<div> force_rport();</div>
<div> if (nat_uac_test("19")) {</div>
<div> if (is_method("REGISTER")) {</div>
<div> fix_nated_register();</div>
<div> } else {</div>
<div> add_contact_alias();</div>
<div> }</div>
<div> setflag(FLT_NATS);</div>
<div>
}</div>
<div>#!endif</div>
<div> return;</div>
<div>}</div>
<div><br>
</div>
<div># RTPProxy control</div>
<div>route[NATMANAGE] {</div>
<div>#!ifdef WITH_NAT</div>
<div> if (is_request()) {</div>
<div> if(has_totag()) {</div>
<div> if(check_route_param("nat=yes")) {</div>
<div> setbflag(FLB_NATB);</div>
<div> }</div>
<div> }</div>
<div> }</div>
<div> if (!(isflagset(FLT_NATS) || isbflagset(FLB_NATB)))</div>
<div> return;</div>
<div><br>
</div>
<div> rtpproxy_manage();</div>
<div><br>
</div>
<div> if (is_request()) {</div>
<div> if (!has_totag()) {</div>
<div> add_rr_param(";nat=yes");</div>
<div> }</div>
<div> }</div>
<div> if (is_reply()) {</div>
<div> if(isbflagset(FLB_NATB)) {</div>
<div> add_contact_alias();</div>
<div> }</div>
<div> }</div>
<div>#!endif</div>
<div> return;</div>
<div>}</div>
<div><br>
</div>
-- <br>
Kethzer Docteur<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Trainings - Berlin, Oct 21-24; Miami, Nov 11-13, 2013
- more details about Kamailio trainings at <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> -
</pre>
</body>
</html>