I don't think I said to use flag 4. What I said was that if you don't
specify a flag, then SER will use flag 4 because that is how the
default flag that the registrar module will use.<br>
<br>
So my point was that if you are using flag 4 for something else in your
ser.cfg then that may be "stepping on the toes" of the NAT flag. If you
are use flag 5 then you should be OK.<br>
<br>
Regards,<br>
Paul<br><br><div><span class="gmail_quote">On 6/27/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;">
Paul,<br><br>in ser.cfg i have :<br><br># Special flag marking contacts behind NAT<br>modparam("registrar", "nat_flag", 6)<br><br>and after:<br><br># Flag 5: NAT flag<br> #=0: Request comes from user with public IP (caller has public IP
<br>addre$<br> #=1: Request comes from user behind NAT (caller is behind NAT)<br># Flag 6: NAT flag for contacts saved in the location table<br> #=0: The callee has public IP address<br> #=1: The callee is behind NAT
<br><br>why did you tell me to put the flag to 4? is the number of the flag is<br>important or it's not ?<br><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>Best regards,<br><br>Michael<br><br><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>>, serusers <<a href="mailto:serusers@iptel.org">serusers@lists.iptel.org</a>><br>>Subject: Re: [serusers] calling problem
<br>>Date: Fri, 24 Jun 2005 07:24:19 -0400<br>><br>>Michael,<br>><br>>I'm quite certain that if the value of the "flags" column in the location<br>>table is set to 1 then the SER registrar module thinks that the REGISTER
<br>>message is from a NATed client.<br>><br>>By default, SER uses flag 4 to indicate NAT status in the ser.cfg file. So<br>>if you have called setflag(4) somewhere before save("location") then you<br>
>are<br>>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>>On 6/24/05, michael p <<a href="mailto:mikep3000@hotmail.com">mikep3000@hotmail.com</a>> wrote:<br>> ><br>> > 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<br>> > 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<br>>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>> > <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<br>> > what<br>> > > > is?<br>
> > > ><br>> > > > now i have three users registered and two can call and their flags<br>>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@lists.iptel.org</a><br>> > > >
<a href="http://lists.iptel.org/mailman/listinfo/serusers">http://mail.iptel.org/mailman/listinfo/serusers</a><br>> > > ><br>> ><br>> ><br>> ><br><br><br></blockquote></div><br>