<div dir="ltr">Sorry, this test was done on a public server that's why it was showing public IPs.  I was trying out opensips and kamailio and same response for both.  Do you think this is a network firewall issue?<br></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 30, 2013 at 2:31 PM, Gertjan Wolzak <span dir="ltr"><<a href="mailto:g.wolzak@foize.com" target="_blank">g.wolzak@foize.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="NL"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hello Jason,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Well, as you can see now the error is:<u></u><u></u></span></p>
<div class="im"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">U 2013/07/29 18:24:03.328456 </span><a href="http://198.23.160.81:5060" target="_blank"><span lang="EN-US">198.23.160.81:5060</span></a><span lang="EN-US"> -> </span><a href="http://49.144.184.97:41998" target="_blank"><span lang="EN-US">49.144.184.97:41998</span></a><span lang="EN-US"><br>
SIP/2.0 477 Send failed (477/TM).<br>Via: SIP/2.0/UDP 192.168.0.107:41998;received=49.144.184.97;branch=z9hG4bK-d8754z-1cfc096228010333-1---d8754z-;rport=41998.<br>To: <</span><a href="mailto:sip%3A639195015475@198.23.160.81" target="_blank"><span lang="EN-US">sip:639195015475@198.23.160.81</span></a><span lang="EN-US">>;tag=eb0b3ccde0b882baee99bc071578cb61-d8d9.<br>
From: "639178864952"<</span><a href="mailto:sip%3A639178864952@198.23.160.81" target="_blank"><span lang="EN-US">sip:639178864952@198.23.160.81</span></a><span lang="EN-US">>;tag=1b3b463c.<br>Call-ID: NjhmYzk0ODZhNWVmOGE5MTU4ZWExM2Q5NjI1NDVhODg.<br>
</span>CSeq: 2 INVITE.<br>Server: OpenSIPS (1.8.3-notls (x86_64/linux)).<br>Content-Length: 0.<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p></div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">But as I am not a guru at all and this is a Kamailio users mailing list and not an opensips list….<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">I just googled the error, found that for Opensips and Kamailio it has something to do with not being able to make a tcp connection.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">So, check the port translations, make a tcpdump of wireshark dump and see if what is going wrong.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">You said that the clients and Kamailio were on the same lan, but from the logging you can see that you are on the internet…….<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Hope this helps a bit.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Good luck.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> <a href="mailto:sr-users-bounces@lists.sip-router.org" target="_blank">sr-users-bounces@lists.sip-router.org</a> [mailto:<a href="mailto:sr-users-bounces@lists.sip-router.org" target="_blank">sr-users-bounces@lists.sip-router.org</a>] <b>On Behalf Of </b>Jason Sia<br>
<b>Sent:</b> maandag 29 juli 2013 18:16<br><b>To:</b> Kamailio (SER) - Users Mailing List<br><b>Subject:</b> Re: [SR-Users] kamailio call problem<u></u><u></u></span></p></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p>
<div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<u></u><u></u></p></div><p class="MsoNormal">Thanks for the advice.  Here is the ngrep logs:<br><br>U 2013/07/29 18:23:52.994331 <a href="http://49.144.184.97:41998" target="_blank">49.144.184.97:41998</a> -> <a href="http://198.23.160.81:5060" target="_blank">198.23.160.81:5060</a><br>
INVITE <a href="mailto:sip%3A639195015475@198.23.160.81" target="_blank">sip:639195015475@198.23.160.81</a> SIP/2.0.<br>Via: SIP/2.0/UDP 192.168.0.107:41998;branch=<u></u><u></u></p><div><p class="MsoNormal">z9hG4bK-d8754z-2999840441d3d05a-1---d8754z-;rport.<br>
Max-Forwards: 70.<br>Contact: <<a href="http://sip:639178864952@49.144.184.97:41998" target="_blank">sip:639178864952@49.144.184.97:41998</a>>.<br>To: <<a href="mailto:sip%3A639195015475@198.23.160.81" target="_blank">sip:639195015475@198.23.160.81</a>>.<br>
From: "639178864952"<<a href="mailto:sip%3A639178864952@198.23.160.81" target="_blank">sip:639178864952@198.23.160.81</a>>;tag=1b3b463c.<br>Call-ID: NjhmYzk0ODZhNWVmOGE5MTU4ZWExM2Q5NjI1NDVhODg.<br>CSeq: 1 INVITE.<br>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO.<br>Content-Type: application/sdp.<br>Supported: replaces.<br>User-Agent: X-Lite release 4.5.3 stamp 70576.<br>Content-Length: 357.<br>.<br>
v=0.<br>o=- 1375107832761441 1 IN IP4 192.168.0.107.<br>s=X-Lite 4 release 4.5.3 stamp 70576.<br>c=IN IP4 192.168.0.107.<br>t=0 0.<br>m=audio 53084 RTP/AVP 123 9 0 8 97 100 98 101.<br>a=rtpmap:123 opus/48000/2.<br>a=fmtp:123 useinbandfec=1.<br>
a=rtpmap:97 speex/8000.<br>a=rtpmap:100 speex/16000.<br>a=rtpmap:98 ILBC/8000.<br>a=rtpmap:101 telephone-event/8000.<br>a=fmtp:101 0-15.<br>a=sendrecv.<br><br><br>U 2013/07/29 18:23:52.994422 <a href="http://198.23.160.81:5060" target="_blank">198.23.160.81:5060</a> -> <a href="http://49.144.184.97:41998" target="_blank">49.144.184.97:41998</a><br>
SIP/2.0 407 Proxy Authentication Required.<br>Via: SIP/2.0/UDP 192.168.0.107:41998;received=49.144.184.97;branch=z9hG4bK-d8754z-2999840441d3d05a-1---d8754z-;rport=41998.<br>To: <<a href="mailto:sip%3A639195015475@198.23.160.81" target="_blank">sip:639195015475@198.23.160.81</a>>;tag=80403214130c49515b8f7d7842a4c119.ef65.<br>
From: "639178864952"<<a href="mailto:sip%3A639178864952@198.23.160.81" target="_blank">sip:639178864952@198.23.160.81</a>>;tag=1b3b463c.<br>Call-ID: NjhmYzk0ODZhNWVmOGE5MTU4ZWExM2Q5NjI1NDVhODg.<br>CSeq: 1 INVITE.<br>
Proxy-Authenticate: Digest realm="198.23.160.81", nonce="51f67b16000000fae8c70592af760c78fa39cd43f84c1a6b".<br>Server: OpenSIPS (1.8.3-notls (x86_64/linux)).<br>Content-Length: 0.<br>.<br><br><br>U 2013/07/29 18:23:53.299025 <a href="http://49.144.184.97:41998" target="_blank">49.144.184.97:41998</a> -> <a href="http://198.23.160.81:5060" target="_blank">198.23.160.81:5060</a><br>
ACK <a href="mailto:sip%3A639195015475@198.23.160.81" target="_blank">sip:639195015475@198.23.160.81</a> SIP/2.0.<br>Via: SIP/2.0/UDP 192.168.0.107:41998;branch=z9hG4bK-d8754z-2999840441d3d05a-1---d8754z-;rport.<br>Max-Forwards: 70.<br>
To: <<a href="mailto:sip%3A639195015475@198.23.160.81" target="_blank">sip:639195015475@198.23.160.81</a>>;tag=80403214130c49515b8f7d7842a4c119.ef65.<br>From: "639178864952"<<a href="mailto:sip%3A639178864952@198.23.160.81" target="_blank">sip:639178864952@198.23.160.81</a>>;tag=1b3b463c.<br>
Call-ID: NjhmYzk0ODZhNWVmOGE5MTU4ZWExM2Q5NjI1NDVhODg.<br>CSeq: 1 ACK.<br>Content-Length: 0.<br>.<br><br><br>U 2013/07/29 18:23:53.317842 <a href="http://49.144.184.97:41998" target="_blank">49.144.184.97:41998</a> -> <a href="http://198.23.160.81:5060" target="_blank">198.23.160.81:5060</a><br>
INVITE <a href="mailto:sip%3A639195015475@198.23.160.81" target="_blank">sip:639195015475@198.23.160.81</a> SIP/2.0.<br>Via: SIP/2.0/UDP 192.168.0.107:41998;branch=z9hG4bK-d8754z-1cfc096228010333-1---d8754z-;rport.<br>Max-Forwards: 70.<br>
Contact: <<a href="http://sip:639178864952@49.144.184.97:41998" target="_blank">sip:639178864952@49.144.184.97:41998</a>>.<br>To: <<a href="mailto:sip%3A639195015475@198.23.160.81" target="_blank">sip:639195015475@198.23.160.81</a>>.<br>
From: "639178864952"<<a href="mailto:sip%3A639178864952@198.23.160.81" target="_blank">sip:639178864952@198.23.160.81</a>>;tag=1b3b463c.<br>Call-ID: NjhmYzk0ODZhNWVmOGE5MTU4ZWExM2Q5NjI1NDVhODg.<br>CSeq: 2 INVITE.<br>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO.<br>Content-Type: application/sdp.<br>Proxy-Authorization: Digest username="639178864952",realm="198.23.160.81",nonce="51f67b16000000fae8c70592af760c78fa39cd43f84c1a6b",uri="<a href="mailto:sip%3A639195015475@198.23.160.81" target="_blank">sip:639195015475@198.23.160.81</a>",response="1605e4e6b20dbbd6be5917c94dd3961e",algorithm=MD5.<br>
Supported: replaces.<br>User-Agent: X-Lite release 4.5.3 stamp 70576.<br>Content-Length: 357.<br>.<br>v=0.<br>o=- 1375107832761441 1 IN IP4 192.168.0.107.<br>s=X-Lite 4 release 4.5.3 stamp 70576.<br>c=IN IP4 192.168.0.107.<br>
t=0 0.<br>m=audio 53084 RTP/AVP 123 9 0 8 97 100 98 101.<br>a=rtpmap:123 opus/48000/2.<br>a=fmtp:123 useinbandfec=1.<br>a=rtpmap:97 speex/8000.<br>a=rtpmap:100 speex/16000.<br>a=rtpmap:98 ILBC/8000.<br>a=rtpmap:101 telephone-event/8000.<br>
a=fmtp:101 0-15.<br>a=sendrecv.<br><br><br>U 2013/07/29 18:23:53.318191 <a href="http://198.23.160.81:5060" target="_blank">198.23.160.81:5060</a> -> <a href="http://49.144.184.97:41998" target="_blank">49.144.184.97:41998</a><br>
SIP/2.0 100 Giving a try.<br>Via: SIP/2.0/UDP 192.168.0.107:41998;received=49.144.184.97;branch=z9hG4bK-d8754z-1cfc096228010333-1---d8754z-;rport=41998.<br>To: <<a href="mailto:sip%3A639195015475@198.23.160.81" target="_blank">sip:639195015475@198.23.160.81</a>>.<br>
From: "639178864952"<<a href="mailto:sip%3A639178864952@198.23.160.81" target="_blank">sip:639178864952@198.23.160.81</a>>;tag=1b3b463c.<br>Call-ID: NjhmYzk0ODZhNWVmOGE5MTU4ZWExM2Q5NjI1NDVhODg.<br>CSeq: 2 INVITE.<br>
Server: OpenSIPS (1.8.3-notls (x86_64/linux)).<br>Content-Length: 0.<br>.<br><br><br>U 2013/07/29 18:24:03.328456 <a href="http://198.23.160.81:5060" target="_blank">198.23.160.81:5060</a> -> <a href="http://49.144.184.97:41998" target="_blank">49.144.184.97:41998</a><br>
SIP/2.0 477 Send failed (477/TM).<br>Via: SIP/2.0/UDP 192.168.0.107:41998;received=49.144.184.97;branch=z9hG4bK-d8754z-1cfc096228010333-1---d8754z-;rport=41998.<br>To: <<a href="mailto:sip%3A639195015475@198.23.160.81" target="_blank">sip:639195015475@198.23.160.81</a>>;tag=eb0b3ccde0b882baee99bc071578cb61-d8d9.<br>
From: "639178864952"<<a href="mailto:sip%3A639178864952@198.23.160.81" target="_blank">sip:639178864952@198.23.160.81</a>>;tag=1b3b463c.<br>Call-ID: NjhmYzk0ODZhNWVmOGE5MTU4ZWExM2Q5NjI1NDVhODg.<br>CSeq: 2 INVITE.<br>
Server: OpenSIPS (1.8.3-notls (x86_64/linux)).<br>Content-Length: 0.<br>.<br><br><br>U 2013/07/29 18:24:03.582094 <a href="http://49.144.184.97:41998" target="_blank">49.144.184.97:41998</a> -> <a href="http://198.23.160.81:5060" target="_blank">198.23.160.81:5060</a><br>
ACK <a href="mailto:sip%3A639195015475@198.23.160.81" target="_blank">sip:639195015475@198.23.160.81</a> SIP/2.0.<br>Via: SIP/2.0/UDP 192.168.0.107:41998;branch=z9hG4bK-d8754z-1cfc096228010333-1---d8754z-;rport.<br>Max-Forwards: 70.<br>
To: <<a href="mailto:sip%3A639195015475@198.23.160.81" target="_blank">sip:639195015475@198.23.160.81</a>>;tag=eb0b3ccde0b882baee99bc071578cb61-d8d9.<br>From: "639178864952"<<a href="mailto:sip%3A639178864952@198.23.160.81" target="_blank">sip:639178864952@198.23.160.81</a>>;tag=1b3b463c.<br>
Call-ID: NjhmYzk0ODZhNWVmOGE5MTU4ZWExM2Q5NjI1NDVhODg.<br>CSeq: 2 ACK.<br>Content-Length: 0.<u></u><u></u></p><div><div><p class="MsoNormal"><img border="0"><u></u><u></u></p></div></div></div><p class="MsoNormal"><u></u> <u></u></p>
<div><p class="MsoNormal"><br>Thanks,<br>Jason<u></u><u></u></p></div></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">On Mon, Jul 29, 2013 at 3:33 PM, Gertjan Wolzak <<a href="mailto:g.wolzak@foize.com" target="_blank">g.wolzak@foize.com</a>> wrote:<u></u><u></u></p>
<div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hello Jason,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">What  you should do is on the Kamailio server do an ngrep, that information will make it possible for the people on the list to take a look and help you.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">By only telling your experiences it is hard to help you.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Just give the command:  ngrep –qt –W byline port 5060  and then do the test calls, so from android to xlite and vice versa.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Save the info and paste it in the case.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Good luck.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Gertjan</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> </span><u></u><u></u></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> <a href="mailto:sr-users-bounces@lists.sip-router.org" target="_blank">sr-users-bounces@lists.sip-router.org</a> [mailto:<a href="mailto:sr-users-bounces@lists.sip-router.org" target="_blank">sr-users-bounces@lists.sip-router.org</a>] <b>On Behalf Of </b>Jason Sia<br>
<b>Sent:</b> zondag 28 juli 2013 10:52<br><b>To:</b> <a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br><b>Subject:</b> [SR-Users] kamailio call problem</span><u></u><u></u></p>
</div><div><div><p class="MsoNormal"> <u></u><u></u></p><div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<u></u><u></u></p></div><div><p class="MsoNormal">I installed kamailio v 3.1.6 rpm.  I used the default configuration.  Kamailio started.  I have two clients one is an android phone using native sip client, and the other one x-lite.  I can call x-lite to phone but not the other way around.  When I restarted kamailio, I can call phone to x-lite but not the other way around.   The first one I did when I restart kamailio will be the only leg that will be working, then I have to restart again if I want to do the reverse. Has anyone encountered this problem?  How do I fix it?  I'm on a LAN, kamailio server and the two clients are on the same LAN.<u></u><u></u></p>
</div><div><p class="MsoNormal"> <u></u><u></u></p></div><p class="MsoNormal">Thanks,<br>Jason<u></u><u></u></p></div></div></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br><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><u></u><u></u></p>
</div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></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" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>