<div dir="ltr"><div><div><div>All of my clients are behind NAT! Unfortunately I can not put my captures here. The strange thing here for me is that:<br></div>1- Desktop can always REGISTER with all of my usernames.<br></div>2- My android phones can REGISTER with some usernames! For example if I have a 12 and a 17 username Android Linphone can REGISTER with 12 but not with 17. Kamailio will always return a 401 error. This thing only happens on Android Linphone.<br></div><div><br>I captured packets for both scenarios but nothing is strange about packets! How is this even possible?!!<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 5, 2016 at 1:25 PM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
received and rport are added when the client is behind NAT. Can you
paste here the capture for the case that doesn't work? It will help
us to see what is wrong there, and if not, could be that the mobile
operator does some SIP ALG which breaks/blocks the sip, in this case
you have to switch to tls.<br>
<br>
Cheers,<br>
Daniel <br><span class="">
<br>
<div>On 05/02/16 07:35, Gholamreza Sabery
wrote:<br>
</div>
</span><blockquote type="cite"><span class="">
<div dir="ltr">I am using Kamailio 4.1.x with NAT enabled. When I
want to REGISTER using my desktop client which is Linphone
everything is find with any username. But on Android some users
can REGISTER and someusers can not. I captured SIP packets and
the only difference between packets on Android devices and
packets on Desktop client is that on my desktop "received" and
"rport" are not added by Kamailio in response messages. Any idea
on what is happening here?<br>
</div>
<br>
<fieldset></fieldset>
<br>
</span><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre cols="72">--
Daniel-Constantin Mierla
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a href="http://miconda.eu" target="_blank">http://miconda.eu</a></pre>
</font></span></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>