<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Have a look at the location table, column cflag.<br>
Are your users registered behind nat having the cflag 64.<br>
<br>
If not, they are not registered correctly, just use setbflag(6) when
they are natted.<br>
<br>
modparam("usrloc", "nat_bflag", 6) at the beginning<br>
<br>
and on the main route <br>
replace<br>
<br>
if (is_method("REGISTER"))<br>
{<br>
if (!save("location"))<br>
sl_reply_error();<br>
<br>
exit;<br>
}<br>
<br>
<br>
<br>
by<br>
<br>
if (is_method("REGISTER"))<br>
{<br>
if (isflagset(5)) <br>
{<br>
setbflag(6);<br>
};<br>
<br>
if (!save("location"))<br>
sl_reply_error();<br>
<br>
exit;<br>
}<br>
<br>
Just missing in the sample configuration :)<br>
<br>
Never blame the Kamailio team for that, they have done a WONDERFULL job<br>
<br>
Olivier<br>
<br>
Pascal Maugeri a écrit :
<blockquote
cite="mid:990aed650906260338m38e0a912v8c723fcfeacd93e0@mail.gmail.com"
type="cite">I've just setup a similar configuration as yours.<br>
<br>
Could you
check the SDP payload of the SIP INVITE that goes from kamailio to the
callee ? It should contains the IP address of rtpproxy and the port
allocated by the proxy.<br>
<br>
Regards,<br>
Pascal<br>
<br>
<div class="gmail_quote">On Thu, Jun 25, 2009 at 12:41 PM, rubenrojas
- Trc.es <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:rubenrojas@trc.es">rubenrojas@trc.es</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;">Hello
everyone, this is my first post on this list,<br>
<br>
I have installed kamailio 1.5.1 and set up a vanilla default
kamailio.cfg, then I have modified the cfg to activate mysql, domain,
presence, nathelper and authentication with md5, everything works as
supposed to, and the clients can register, send txt messages and talk
to each other. The only problem is with the audio when the two clients
are behind a NAT, the phones can make a call and it does ring too, but
when you pick up there is no audio both ways.<br>
<br>
when the phones have a public IP everything goes fine, it also works
when I use a Linksys PAP2T whith the options to "Insert VIA received",
"Insert VIA rport", "Handle VIA received", "Handle VIA rport" and "NAT
mapping enable" turned on, with the Qutecom softphone works too. [...]</blockquote>
<div> </div>
</div>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Kamailio (OpenSER) - Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a>
<a class="moz-txt-link-freetext" href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a></pre>
</blockquote>
</body>
</html>