Michael,<br>
<br>
I'm quite certain that if the value of the &quot;flags&quot; column in the
location table is set to 1 then the SER registrar module thinks that
the REGISTER message is from a NATed client.<br>
<br>
By default, SER uses flag 4 to indicate NAT status in the ser.cfg file.
So if you have called setflag(4) somewhere before save(&quot;location&quot;) then
you are informing SER that the client is NATed.<br>
<br>
You can change the flag by using something like this<br>
<br>
modparam(&quot;registrar&quot;,&nbsp; &quot;nat_flag&quot;, 2)<br>
<br>
The above line tells SER to use flag 2 as the NAT indicator.<br>
<br>
Regards,<br>
Paul<br><br><div><span class="gmail_quote">On 6/24/05, <b class="gmail_sendername">michael p</b> &lt;<a href="mailto:mikep3000@hotmail.com">mikep3000@hotmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
it's impossible that it's that<br><br>first all my client are behind a NAT and some flags are 1 and others 0<br><br>second i 'm already used a stun server.<br><br><br>do you think that's something else?<br><br>do you know why after a specific time some SIP clients are deconnected
<br>alone?<br>is there a variable that i can change for that?<br><br>thanks<br><br>M.<br><br>&gt;From: Java Rockx &lt;<a href="mailto:javarockx@gmail.com">javarockx@gmail.com</a>&gt;<br>&gt;Reply-To: Java Rockx &lt;<a href="mailto:javarockx@gmail.com">
javarockx@gmail.com</a>&gt;<br>&gt;To: michael p &lt;<a href="mailto:mikep3000@hotmail.com">mikep3000@hotmail.com</a>&gt;<br>&gt;CC: <a href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a><br>&gt;Subject: Re: [serusers] calling problem
<br>&gt;Date: Thu, 23 Jun 2005 09:02:29 -0400<br>&gt;<br>&gt;Flags = 0 indicates that the SIP client is not behind a NAT device.<br>&gt;<br>&gt;Flags = 1 indicates that the SIP client is behind a NAT device.<br>&gt;<br>&gt;In order to get audio (ie, RTP streams) working one one or more SIP clients
<br>&gt;is behind a NAT device you must use either rtpproxy or mediaproxy.<br>&gt;<br>&gt;The Getting Started document at <a href="http://onsip.org/">http://onsip.org/</a> fully describes how to<br>&gt;use<br>&gt;both.<br>
&gt;<br>&gt;A third, but IMHO, less appealing option would be to use a STUN server,<br>&gt;such<br>&gt;as mystun which is availble at <a href="http://sourceforge.net">sourceforge.net</a> &lt;<a href="http://sourceforge.net">
http://sourceforge.net</a>&gt;.<br>&gt;<br>&gt;Regards,<br>&gt;Paul<br>&gt;<br>&gt;On 6/23/05, michael p &lt;<a href="mailto:mikep3000@hotmail.com">mikep3000@hotmail.com</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; hi<br>&gt; &gt;
<br>&gt; &gt; in my table location of SER i have a field flags, someone knows for what<br>&gt; &gt; is?<br>&gt; &gt;<br>&gt; &gt; now i have three users registered and two can call and their flags are<br>&gt;&quot;0&quot;
<br>&gt; &gt; and one can't call and is flags field is &quot;1&quot;<br>&gt; &gt;<br>&gt; &gt; is that the reason why it don't work?<br>&gt; &gt;<br>&gt; &gt; thanks<br>&gt; &gt;<br>&gt; &gt; M.<br>&gt; &gt;<br>&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>&gt; &gt; Serusers mailing list<br>&gt; &gt; <a href="mailto:serusers@lists.iptel.org">Serusers@iptel.org</a><br>&gt; &gt; <a href="http://lists.iptel.org/mailman/listinfo/serusers">
http://lists.iptel.org/mailman/listinfo/serusers</a><br>&gt; &gt;<br><br><br></blockquote></div><br>