Hi Klaus,<br><br>thanks for your answer - fix_nat_register() works fine, but ...<br>I forget these two params, yep :<br><br>modparam("nathelper", "received_avp", "$avp(i:42)")<br>modparam("registrar", "received_avp", "$avp(i:42)")<br>
<br>...<br><br>if (nat_uac_test("19"))<br>{<br> if (method == "REGISTER")<br> {<br> xlog("L_INFO","-> fix nat register");<br> fix_nated_register();<br>
}<br> else<br> {<br> xlog("L_INFO","-> fix nat contact");<br> fix_nated_contact();<br> }<br> xlog("L_INFO","-> NAT involved, set the NAT flag");<br>
setflag(4); # flag nat<br> $avp(i:803) = 1; # avp uac_nat<br>}<br><br>And when I'm looking the mySQL location table, now it has the received params with ip:port.<br>Now, I've to do more tests to be sure about NAT config on my customers routers.<br>
<br>Many thanks !<br><br>.Sam.<br><br><br><br><div class="gmail_quote">On Tue, Nov 4, 2008 at 11:08 AM, Klaus Darilion <span dir="ltr"><<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">looks like you do not perform NAT traversal for REGISTER request.<br>
do you call fix_nated_register()?<br>
take a look at the location table. The entries should haev the "receive" column filled with the real source address information.<br>
<br>
regards<br>
klaus<br>
<br>
Samuel Muller schrieb:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
Hello all,<br>
<br>
I tried during one week to adapt my old SER configuration file (ser.cfg, for SER 2.0.0),<br>
who works really great, to Kamailio v1.4.2.<br>
<br>
I used to change all the stuff needed (many functions, onsend route, ... disappeared or was replaced, ...).<br>
That's ok, concepts are the same - registration are ok, NAT (seems to) works with rtpproxy,<br>
and I'm using radius server (Radiator). MySQL is only here to store locations, domains,<br>
and trusted stuff like gateways. Everything looks fine (load kamalio : no pbm, REGISTER, OPTIONS methods and SIP ping ok, ...)<br>
<br>
Right now, RTP does not work, and no SIP phone (linksys spa9xx, thomson st2030, ...) can't call - there's no ringing, even if all the sip phones are registered and known by OpenSER ...<br>
It seems OpenSER can't send the SIP requests to the callee ???<br>
<br>
Did anyone had the same problem and resolved it ?<br>
Or, eventually anyone does have some config sample config file (as you can have in SER examples stuff) ?<br>
<br>
I would like to let here a debug log of a call from a linksys spa942 to a sjphone but it's a bit enormous (debug log + config file) ...<br>
so i let it in attached file.<br>
<br>
the scenario is :<br>
0123451011 (sjphone) calls 0123451012 (linksys spa9xx)<br>
the 2 UACs are on the same LAN, through the same router, with the same realm.<br>
there're registered and are stored into the location table in mySQL.<br>
<br>
but the problem is present in all the case we can have (different realms, different WAN connections, different SIP UACs ...)<br>
<br>
Thanks in advance !<br>
<br>
-- <br>
Samuel MULLER<br>
<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</blockquote></div><br>