Michael,<br>
<br>
I'm quite certain that if the value of the "flags" 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("location") 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("registrar", "nat_flag", 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> <<a href="mailto:mikep3000@hotmail.com">mikep3000@hotmail.com</a>> 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>>From: Java Rockx <<a href="mailto:javarockx@gmail.com">javarockx@gmail.com</a>><br>>Reply-To: Java Rockx <<a href="mailto:javarockx@gmail.com">
javarockx@gmail.com</a>><br>>To: michael p <<a href="mailto:mikep3000@hotmail.com">mikep3000@hotmail.com</a>><br>>CC: <a href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a><br>>Subject: Re: [serusers] calling problem
<br>>Date: Thu, 23 Jun 2005 09:02:29 -0400<br>><br>>Flags = 0 indicates that the SIP client is not behind a NAT device.<br>><br>>Flags = 1 indicates that the SIP client is behind a NAT device.<br>><br>>In order to get audio (ie, RTP streams) working one one or more SIP clients
<br>>is behind a NAT device you must use either rtpproxy or mediaproxy.<br>><br>>The Getting Started document at <a href="http://onsip.org/">http://onsip.org/</a> fully describes how to<br>>use<br>>both.<br>
><br>>A third, but IMHO, less appealing option would be to use a STUN server,<br>>such<br>>as mystun which is availble at <a href="http://sourceforge.net">sourceforge.net</a> <<a href="http://sourceforge.net">
http://sourceforge.net</a>>.<br>><br>>Regards,<br>>Paul<br>><br>>On 6/23/05, michael p <<a href="mailto:mikep3000@hotmail.com">mikep3000@hotmail.com</a>> wrote:<br>> ><br>> > hi<br>> >
<br>> > in my table location of SER i have a field flags, someone knows for what<br>> > is?<br>> ><br>> > now i have three users registered and two can call and their flags are<br>>"0"
<br>> > and one can't call and is flags field is "1"<br>> ><br>> > is that the reason why it don't work?<br>> ><br>> > thanks<br>> ><br>> > M.<br>> ><br>> ><br>
> > _______________________________________________<br>> > Serusers mailing list<br>> > <a href="mailto:serusers@lists.iptel.org">Serusers@iptel.org</a><br>> > <a href="http://lists.iptel.org/mailman/listinfo/serusers">
http://lists.iptel.org/mailman/listinfo/serusers</a><br>> ><br><br><br></blockquote></div><br>