<div dir="ltr"><div><div>Lorenzo,<br><br>Thanks for your reply again.<br><br></div>Please see attached text file with the capture. Original IP addresses were replaced, but you can still see the ending sometimes it is 24 (which is incorrect)<br>

and sometimes it is the correct 246,<br><br></div>Where can i find the network.yml file and how do you think that the misconfiguration could have happened.<br><br>Thanks,<br><br>Oren<br><div><div><div><div><font style face="yw-30f09826b6488858d27ad863e0042f45db60a20d-c9ee9c84e1c4430b6229deb37a8dc2bb--o"></font></div>

</div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 4, 2013 at 6:57 PM, Lorenzo Mangani <span dir="ltr"><<a href="mailto:lorenzo.mangani@gmail.com" target="_blank">lorenzo.mangani@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Oren,<div><br></div><div>If the machine has the right address, I'd double check the network.yml configuration for errors.</div>

<div>The messages you pasted are from sipsak - seeing the traces from a device will tell the story better about both issues.</div>

<div>Start ngrep like you did above and restart the softclient to capture the REGISTER messages for this subscriber as well as the replies from the NGCP.</div><div><br><div>Best.<div class="im"><div><span style="font-family:arial,sans-serif"><span style="font-family:Arial"><div style="font-size:13px;color:rgb(119,119,119)">



<font><span style="font-family:Arial;color:rgb(119,119,119)"><br></span></font></div><div style="font-size:13px"><font color="#666666"><span style="font-family:Arial">Lorenzo Mangani</span></font></div><div style="font-size:13px">



<font color="#666666"><div style="font-size:x-small"><br></div><div style="font-size:x-small">HOMER DEV TEAM</div></font></div><div style="font-size:x-small"><font color="#666666" size="1"><span style="font-family:Arial">QXIP - Capture Engineering</span></font></div>



<div style="font-size:x-small"><br></div></span></span></div><br></div><div><div class="h5"><div class="gmail_quote">On Mon, Aug 5, 2013 at 12:08 AM, Oren Yehezkely <span dir="ltr"><<a href="mailto:orenyny@gmail.com" target="_blank">orenyny@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 dir="auto"><div>Lorenzo,</div><div><br></div><div>Thanks for your reply.</div><div>All the IP addresses in the sample below are truncated. The address ends with 24 instead of 246.</div>



<div>Not sure where I could be mistaken since the machine does have the correct address. Seems more like a bug in one of the scripts, I guess.</div><div><br></div><div>I a m not sure how to capture the traffic on the client side but I tried with 2 different soft phones in a network tha has other SIP devices working.</div>



<div><br></div><div>Thanks,</div><div><br></div><div>Oren<br><br>Sent from my iPhone</div><div><div><div><br>On Aug 4, 2013, at 4:44 PM, Lorenzo Mangani <<a href="mailto:lorenzo.mangani@gmail.com" target="_blank">lorenzo.mangani@gmail.com</a>> wrote:<br>



<br></div><blockquote type="cite"><div>Oren,<div><br></div><div>Those are just keep-alive messages and unrelated to your case. Could you capture the SIP output of the actual device trying to REGISTER and the resulting (failure?) messages sent back from the NGCP in order to make some suggestions as of the problem? Also where did you see the address getting truncated? You might be suffering from misconfiguration somewhere.</div>





<div><div><div><span style="font-family:arial,sans-serif"><span style="font-family:Arial"><div style="font-size:13px;color:rgb(119,119,119)"><font><span style="font-family:Arial;color:rgb(119,119,119)"><br>

</span></font></div><div style="font-size:13px;color:rgb(119,119,119)"><font><span style="font-family:Arial;color:rgb(119,119,119)">Best</span></font></div><div style="font-size:13px;color:rgb(119,119,119)"><font><span style="font-family:Arial;color:rgb(119,119,119)"><br>





</span></font></div><div style="font-size:13px"><font color="#666666"><span style="font-family:Arial">Lorenzo Mangani</span></font></div><div style="font-size:13px"><font color="#666666"><div style="font-size:x-small"><br>





</div><div style="font-size:x-small">HOMER DEV TEAM</div></font></div><div style="font-size:x-small"><font color="#666666" size="1"><span style="font-family:Arial">QXIP - Capture Engineering</span></font></div><div style="font-size:x-small">





<br></div></span></span></div><br><div class="gmail_quote">On Sun, Aug 4, 2013 at 8:57 PM, Oren Yehezkely <span dir="ltr"><<a href="mailto:orenyny@gmail.com" target="_blank">orenyny@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 dir="ltr"><div><div><div><div><div><div><div><div><div>Hello,<br><br>I just installed a new server. Everything seems to work fine so far. I am able to reach the server using IP and host name.<br><br></div>However no matter what I do, I cannot register any SIP device.<br>







<br></div>I have tried creating 2 domains one with the host name and one with the IP address, none have worked.<br><br></div>I have found about ngrep-sip by searching this list for similar issues and looked at the output.<br>







<br></div>The only thing I have noticed is that in some messages the IP address of the server is truncated.<br></div>So, assuming that the correct IP address (this is just an example, the correct IP address is an external IP) is 192.168.0.246.<br>







</div>A message will show the IP address as 192.168.0.24 (note the missing 6 at the end.<br><br></div>Messages are below(I revised the actual IP address). Is this an expected behavior?<br></div>If so, can you tell why I cannot register? I have no additional firewall.<br>







<br></div>Thanks,<br><br>Oren<br><div><div><br>U 2013/08/04 14:47:45.246025 <a href="http://127.0.0.1:5062" target="_blank">127.0.0.1:5062</a> -> <a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a><br>SIP/2.0 200 Alive'<br>





Record-Route: <sip:127.0.0.1;lr=on;ftag=3319431d;ngcplb=yes;socket=udp:<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a>>'<br>

Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bKe92c.17c5ccea973d4532a15a59c2f07c0ba3.0'<br>Via: SIP/2.0/UDP 192.168.0.24:9676;received=127.0.0.1;branch=z9hG4bK.6705ebfe;rport=9676;alias'<br>From: sip:sipsak@192.168.0.24:9676;tag=3319431d'<br>







To: sip:nagios@voip.sipwise.local;tag=1d24a28a0bded6c40d31e6db8aab9ac6.678b'<br>Call-ID: <a href="mailto:857293597@192.168.0.24" target="_blank">857293597@192.168.0.24</a>'<br>CSeq: 1 OPTIONS'<br>P-Out-Socket: udp:<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a>'<br>







Server: Sipwise NGCP Proxy 2.X'<br>Content-Length: 0'<br>'<br><br>#<br>U 2013/08/04 14:47:45.246181 <a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a> -> <a href="http://127.0.0.1:9676" target="_blank">127.0.0.1:9676</a><br>







SIP/2.0 100 Trying'<br>Via: SIP/2.0/UDP 192.168.0.24:9676;received=127.0.0.1;branch=z9hG4bK.6705ebfe;rport=9676;alias'<br>From: sip:sipsak@192.168.0.24:9676;tag=3319431d'<br>To: sip:nagios@voip.sipwise.local'<br>







Call-ID: <a href="mailto:857293597@192.168.0.24" target="_blank">857293597@192.168.0.24</a>'<br>CSeq: 1 OPTIONS'<br>Server: Sipwise NGCP Proxy 2.X'<br>Content-Length: 0'<br>'<br><br>#<br>U 2013/08/04 14:47:45.246303 <a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a> -> <a href="http://127.0.0.1:9676" target="_blank">127.0.0.1:9676</a><br>







SIP/2.0 200 Alive'<br>Record-Route: <sip:127.0.0.1;lr=on;ftag=3319431d;ngcplb=yes;socket=udp:<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a>>'<br>Via: SIP/2.0/UDP 192.168.0.24:9676;received=127.0.0.1;branch=z9hG4bK.6705ebfe;rport=9676;alias'<br>







From: sip:sipsak@192.168.0.24:9676;tag=3319431d'<br>To: sip:nagios@voip.sipwise.local;tag=1d24a28a0bded6c40d31e6db8aab9ac6.678b'<br>Call-ID: <a href="mailto:857293597@192.168.0.24" target="_blank">857293597@192.168.0.24</a>'<br>







CSeq: 1 OPTIONS'<br>Server: Sipwise NGCP Proxy 2.X'<br>Content-Length: 0'<br><br><div><div><div><div><div><div><div><div><font face="yw-30f09826b6488858d27ad863e0042f45db60a20d-6cbe5e2a532977dac59cac84626544e8--o"></font></div>







</div></div></div></div></div></div></div></div></div></div>
<br>_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
<br></blockquote></div><br></div></div>
</div></blockquote></div></div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>