<div><br></div><div>The Handbook is your best friend! Did you follow the official installation guide?</div>If this is the issue, you should probably re-spawn from here and correct the missing details: <div><a href="http://www.sipwise.com/doc/2.8/spce/ar01s05.html#_network_configuration">http://www.sipwise.com/doc/2.8/spce/ar01s05.html#_network_configuration</a><div>

<br></div><div><div><span style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><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)">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 size="1" color="#666666"><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 Mon, Aug 5, 2013 at 8:56 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="ltr"><div><div><div><div><div><div><div><div>Lorenzo,<br><br></div>I hope you had the chance to get some coffee before reading my reply.<br>

</div>network.yml file does not look correct to me but i am not 100% how it should look.<br>

</div>Obviously the installation did not work well, and I wonder how can it be.<br></div>Obviously when I saw the amount of scripts being installed and later updated, i wondered how could it be that it is done with no error.<br>



</div>I hope that someone here is going to take a look at this to prevent errors in the future.<br></div><br></div>What should I correct in this file? Should I reinstall the whole thing again?<br><br></div>Thanks,<br><br>



Oren<br><br>root@sipwise:/etc/ngcp-config# vi network.yml <br><br>---<br>hosts:<br>  self:<br>    interfaces:<br>      - lo<br>    lo:<br>      ip: 127.0.0.1<br>      netmask: 255.255.255.0<br>      shared_ip: []<br>      shared_v6ip: []<br>



      type:<br>        - sip_int<br>        - ha_int<br>        - web_ext<br>        - sip_ext<br>        - rtp_ext<br>        - web_int<br>      v6ip: '::1'<br>    role:<br>      - proxy<br>      - lb<br>      - mgmt<br>



<div><div><div><div><div><div><div><div><div><div><font face="yw-30f09826b6488858d27ad863e0042f45db60a20d-efe01d43015de2bb99083f8c9ea93b26--o"></font></div></div></div></div></div></div></div></div></div></div></div><div class="HOEnZb">

<div class="h5">

<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 5, 2013 at 2:27 AM, 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"><div>Oren,</div><div><br></div>It appears your Bria is sending REGISTRATIONS and getting zero replies. This suggests the system is not listening on the .246 but actually on the .24 address (as seen in the keep alives being answered), which would be the result of a network misconfiguration of the NGCP in my opinion, of course this could be wrong of course due to the fact i'm answering this before my coffee :) Please check the configuration in /etc/ngcp-config/network.yml and validate what you configured this system with - if needed, make changes and apply them according to the HandBook procedures for normal configuration, or share more details if in doubt.<div>





<div><span style="font-family:arial,sans-serif"><span style="font-family:Arial"><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;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">





<font color="#999999" size="1"><span style="font-family:Arial"><br></span></font></div></div><div><font color="#999999" size="1">US: <a href="tel:%2B17737475014" value="+17737475014" target="_blank">+17737475014</a></font></div>

<div><font color="#999999" size="1">NL: <a href="tel:%2B31858880841" value="+31858880841" target="_blank">+31858880841</a></font></div>

<div>

<font color="#999999" size="1">SKYPE: <a style="margin:0px;padding:0px">+990009369991479725</a></font></div><div><font color="#999999" size="1">INUM: <a href="tel:%2B883510001822925" value="+883510001822925" target="_blank">+883510001822925</a></font></div>

<div><font color="#999999" size="1">SIP: <a href="mailto:lorenzo@6num.net" target="_blank">lorenzo@6num.net</a></font></div>



</span></span></div><div><div>
<br><br><div class="gmail_quote">On Mon, Aug 5, 2013 at 7:54 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="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 face="yw-30f09826b6488858d27ad863e0042f45db60a20d-c9ee9c84e1c4430b6229deb37a8dc2bb--o"></font></div>







</div></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><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><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>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>