[Spce-user] New install cannot register subscribers
Oren Yehezkely
orenyny at gmail.com
Mon Aug 5 01:54:24 EDT 2013
Lorenzo,
Thanks for your reply again.
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)
and sometimes it is the correct 246,
Where can i find the network.yml file and how do you think that the
misconfiguration could have happened.
Thanks,
Oren
On Sun, Aug 4, 2013 at 6:57 PM, Lorenzo Mangani
<lorenzo.mangani at gmail.com>wrote:
> Oren,
>
> If the machine has the right address, I'd double check the network.yml
> configuration for errors.
> The messages you pasted are from sipsak - seeing the traces from a device
> will tell the story better about both issues.
> 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.
>
> Best.
>
> Lorenzo Mangani
>
> HOMER DEV TEAM
> QXIP - Capture Engineering
>
>
> On Mon, Aug 5, 2013 at 12:08 AM, Oren Yehezkely <orenyny at gmail.com> wrote:
>
>> Lorenzo,
>>
>> Thanks for your reply.
>> All the IP addresses in the sample below are truncated. The address ends
>> with 24 instead of 246.
>> 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.
>>
>> 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.
>>
>> Thanks,
>>
>> Oren
>>
>> Sent from my iPhone
>>
>> On Aug 4, 2013, at 4:44 PM, Lorenzo Mangani <lorenzo.mangani at gmail.com>
>> wrote:
>>
>> Oren,
>>
>> 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.
>>
>> Best
>>
>> Lorenzo Mangani
>>
>> HOMER DEV TEAM
>> QXIP - Capture Engineering
>>
>>
>> On Sun, Aug 4, 2013 at 8:57 PM, Oren Yehezkely <orenyny at gmail.com> wrote:
>>
>>> Hello,
>>>
>>> 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.
>>>
>>> However no matter what I do, I cannot register any SIP device.
>>>
>>> I have tried creating 2 domains one with the host name and one with the
>>> IP address, none have worked.
>>>
>>> I have found about ngrep-sip by searching this list for similar issues
>>> and looked at the output.
>>>
>>> The only thing I have noticed is that in some messages the IP address of
>>> the server is truncated.
>>> 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.
>>> A message will show the IP address as 192.168.0.24 (note the missing 6
>>> at the end.
>>>
>>> Messages are below(I revised the actual IP address). Is this an expected
>>> behavior?
>>> If so, can you tell why I cannot register? I have no additional firewall.
>>>
>>> Thanks,
>>>
>>> Oren
>>>
>>> U 2013/08/04 14:47:45.246025 127.0.0.1:5062 -> 127.0.0.1:5060
>>> SIP/2.0 200 Alive'
>>> Record-Route: <sip:127.0.0.1;lr=on;ftag=3319431d;ngcplb=yes;socket=udp:
>>> 127.0.0.1:5060>'
>>> Via: SIP/2.0/UDP
>>> 127.0.0.1;branch=z9hG4bKe92c.17c5ccea973d4532a15a59c2f07c0ba3.0'
>>> Via: SIP/2.0/UDP 192.168.0.24:9676
>>> ;received=127.0.0.1;branch=z9hG4bK.6705ebfe;rport=9676;alias'
>>> From: sip:sipsak at 192.168.0.24:9676;tag=3319431d'
>>> To: sip:nagios at voip.sipwise.local
>>> ;tag=1d24a28a0bded6c40d31e6db8aab9ac6.678b'
>>> Call-ID: 857293597 at 192.168.0.24'
>>> CSeq: 1 OPTIONS'
>>> P-Out-Socket: udp:127.0.0.1:5060'
>>> Server: Sipwise NGCP Proxy 2.X'
>>> Content-Length: 0'
>>> '
>>>
>>> #
>>> U 2013/08/04 14:47:45.246181 127.0.0.1:5060 -> 127.0.0.1:9676
>>> SIP/2.0 100 Trying'
>>> Via: SIP/2.0/UDP 192.168.0.24:9676
>>> ;received=127.0.0.1;branch=z9hG4bK.6705ebfe;rport=9676;alias'
>>> From: sip:sipsak at 192.168.0.24:9676;tag=3319431d'
>>> To: sip:nagios at voip.sipwise.local'
>>> Call-ID: 857293597 at 192.168.0.24'
>>> CSeq: 1 OPTIONS'
>>> Server: Sipwise NGCP Proxy 2.X'
>>> Content-Length: 0'
>>> '
>>>
>>> #
>>> U 2013/08/04 14:47:45.246303 127.0.0.1:5060 -> 127.0.0.1:9676
>>> SIP/2.0 200 Alive'
>>> Record-Route: <sip:127.0.0.1;lr=on;ftag=3319431d;ngcplb=yes;socket=udp:
>>> 127.0.0.1:5060>'
>>> Via: SIP/2.0/UDP 192.168.0.24:9676
>>> ;received=127.0.0.1;branch=z9hG4bK.6705ebfe;rport=9676;alias'
>>> From: sip:sipsak at 192.168.0.24:9676;tag=3319431d'
>>> To: sip:nagios at voip.sipwise.local
>>> ;tag=1d24a28a0bded6c40d31e6db8aab9ac6.678b'
>>> Call-ID: 857293597 at 192.168.0.24'
>>> CSeq: 1 OPTIONS'
>>> Server: Sipwise NGCP Proxy 2.X'
>>> Content-Length: 0'
>>>
>>>
>>> _______________________________________________
>>> Spce-user mailing list
>>> Spce-user at lists.sipwise.com
>>> http://lists.sipwise.com/listinfo/spce-user
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20130805/b721a24c/attachment-0001.html>
-------------- next part --------------
#
U 2013/08/05 01:31:15.244683 127.0.0.1:5060 -> 127.0.0.1:8167
SIP/2.0 200 Alive'
Record-Route: <sip:127.0.0.1;lr=on;ftag=701dfa3a;ngcplb=yes;socket=udp:127.0.0.1:5060>'
Via: SIP/2.0/UDP 111.111.111.24:8167;received=127.0.0.1;branch=z9hG4bK.5419bc75;rport=8167;alias'
From: sip:sipsak at 111.111.111.24:8167;tag=701dfa3a'
To: sip:nagios at voip.sipwise.local;tag=1d24a28a0bded6c40d31e6db8aab9ac6.945f'
Call-ID: 1881012794 at 111.111.111.24'
CSeq: 1 OPTIONS'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
#
U 2013/08/05 01:31:16.954922 1.2.3.4:57222 -> 111.111.111.246:5060
REGISTER sip:111.111.111.246 SIP/2.0'
Via: SIP/2.0/UDP 192.168.0.113:57222;branch=z9hG4bK-d8754z-1ad5e343b0d0ad11-1---d8754z-;rport'
Max-Forwards: 70'
Contact: <sip:1002 at 192.168.0.113:57222;rinstance=80130bd793f1989d>'
To: <sip:1002 at 111.111.111.246>'
From: <sip:1002 at 111.111.111.246>;tag=75e50c09'
Call-ID: ODI4MjY2MzJhZjgxYWU4NjJiMWE0YWRjMmE3MzE5ZWE'
CSeq: 1 REGISTER'
Expires: 3600'
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO'
User-Agent: Bria 3 release 3.5.2 stamp 70365'
Content-Length: 0'
'
#
U 2013/08/05 01:31:20.957844 1.2.3.4:57222 -> 111.111.111.246:5060
REGISTER sip:111.111.111.246 SIP/2.0'
Via: SIP/2.0/UDP 192.168.0.113:57222;branch=z9hG4bK-d8754z-1ad5e343b0d0ad11-1---d8754z-;rport'
Max-Forwards: 70'
Contact: <sip:1002 at 192.168.0.113:57222;rinstance=80130bd793f1989d>'
To: <sip:1002 at 111.111.111.246>'
From: <sip:1002 at 111.111.111.246>;tag=75e50c09'
Call-ID: ODI4MjY2MzJhZjgxYWU4NjJiMWE0YWRjMmE3MzE5ZWE'
CSeq: 1 REGISTER'
Expires: 3600'
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO'
User-Agent: Bria 3 release 3.5.2 stamp 70365'
Content-Length: 0'
'
#
U 2013/08/05 01:31:24.955966 1.2.3.4:57222 -> 111.111.111.246:5060
REGISTER sip:111.111.111.246 SIP/2.0'
Via: SIP/2.0/UDP 192.168.0.113:57222;branch=z9hG4bK-d8754z-1ad5e343b0d0ad11-1---d8754z-;rport'
Max-Forwards: 70'
Contact: <sip:1002 at 192.168.0.113:57222;rinstance=80130bd793f1989d>'
To: <sip:1002 at 111.111.111.246>'
From: <sip:1002 at 111.111.111.246>;tag=75e50c09'
Call-ID: ODI4MjY2MzJhZjgxYWU4NjJiMWE0YWRjMmE3MzE5ZWE'
CSeq: 1 REGISTER'
Expires: 3600'
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO'
User-Agent: Bria 3 release 3.5.2 stamp 70365'
Content-Length: 0'
'
#
U 2013/08/05 01:31:25.245475 127.0.0.1:7819 -> 127.0.0.1:5060
OPTIONS sip:nagios at voip.sipwise.local SIP/2.0'
Via: SIP/2.0/UDP 111.111.111.24:7819;branch=z9hG4bK.5872e0d2;rport;alias'
From: sip:sipsak at 111.111.111.24:7819;tag=3450a270'
To: sip:nagios at voip.sipwise.local'
Call-ID: 877699696 at 111.111.111.24'
CSeq: 1 OPTIONS'
Contact: sip:sipsak at 111.111.111.24:7819'
Content-Length: 0'
Max-Forwards: 70'
User-Agent: sipsak 0.9.6'
Accept: text/plain'
'
#
U 2013/08/05 01:31:25.246107 127.0.0.1:5060 -> 127.0.0.1:5062
OPTIONS sip:nagios at voip.sipwise.local SIP/2.0'
Record-Route: <sip:127.0.0.1;lr=on;ftag=3450a270;ngcplb=yes;socket=udp:127.0.0.1:5060>'
Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bK0149.2a934b3eb21b107c752ffb8af1b444de.0'
Via: SIP/2.0/UDP 111.111.111.24:7819;received=127.0.0.1;branch=z9hG4bK.5872e0d2;rport=7819;alias'
From: sip:sipsak at 111.111.111.24:7819;tag=3450a270'
To: sip:nagios at voip.sipwise.local'
Call-ID: 877699696 at 111.111.111.24'
CSeq: 1 OPTIONS'
Contact: sip:sipsak at 111.111.111.24:7819'
Content-Length: 0'
Max-Forwards: 69'
User-Agent: sipsak 0.9.6'
Accept: text/plain'
P-NGCP-Src-Ip: 127.0.0.1'
P-NGCP-Src-Port: 7819'
P-NGCP-Src-Proto: udp'
P-NGCP-Src-Af: 4'
P-Sock-Info: udp:127.0.0.1:5060'
'
#
U 2013/08/05 01:31:25.246262 127.0.0.1:5062 -> 127.0.0.1:5060
SIP/2.0 100 Trying'
Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bK0149.2a934b3eb21b107c752ffb8af1b444de.0'
Via: SIP/2.0/UDP 111.111.111.24:7819;received=127.0.0.1;branch=z9hG4bK.5872e0d2;rport=7819;alias'
From: sip:sipsak at 111.111.111.24:7819;tag=3450a270'
To: sip:nagios at voip.sipwise.local'
Call-ID: 877699696 at 111.111.111.24'
CSeq: 1 OPTIONS'
P-Out-Socket: udp:127.0.0.1:5060'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
#
U 2013/08/05 01:31:25.246338 127.0.0.1:5062 -> 127.0.0.1:5060
SIP/2.0 200 Alive'
Record-Route: <sip:127.0.0.1;lr=on;ftag=3450a270;ngcplb=yes;socket=udp:127.0.0.1:5060>'
Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bK0149.2a934b3eb21b107c752ffb8af1b444de.0'
Via: SIP/2.0/UDP 111.111.111.24:7819;received=127.0.0.1;branch=z9hG4bK.5872e0d2;rport=7819;alias'
From: sip:sipsak at 111.111.111.24:7819;tag=3450a270'
To: sip:nagios at voip.sipwise.local;tag=1d24a28a0bded6c40d31e6db8aab9ac6.f3cd'
Call-ID: 877699696 at 111.111.111.24'
CSeq: 1 OPTIONS'
P-Out-Socket: udp:127.0.0.1:5060'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
#
U 2013/08/05 01:31:25.246483 127.0.0.1:5060 -> 127.0.0.1:7819
SIP/2.0 100 Trying'
Via: SIP/2.0/UDP 111.111.111.24:7819;received=127.0.0.1;branch=z9hG4bK.5872e0d2;rport=7819;alias'
From: sip:sipsak at 111.111.111.24:7819;tag=3450a270'
To: sip:nagios at voip.sipwise.local'
Call-ID: 877699696 at 111.111.111.24'
CSeq: 1 OPTIONS'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
#
U 2013/08/05 01:31:25.246560 127.0.0.1:5060 -> 127.0.0.1:7819
SIP/2.0 200 Alive'
Record-Route: <sip:127.0.0.1;lr=on;ftag=3450a270;ngcplb=yes;socket=udp:127.0.0.1:5060>'
Via: SIP/2.0/UDP 111.111.111.24:7819;received=127.0.0.1;branch=z9hG4bK.5872e0d2;rport=7819;alias'
From: sip:sipsak at 111.111.111.24:7819;tag=3450a270'
To: sip:nagios at voip.sipwise.local;tag=1d24a28a0bded6c40d31e6db8aab9ac6.f3cd'
Call-ID: 877699696 at 111.111.111.24'
CSeq: 1 OPTIONS'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
#
U 2013/08/05 01:31:28.957432 1.2.3.4:57222 -> 111.111.111.246:5060
REGISTER sip:111.111.111.246 SIP/2.0'
Via: SIP/2.0/UDP 192.168.0.113:57222;branch=z9hG4bK-d8754z-1ad5e343b0d0ad11-1---d8754z-;rport'
Max-Forwards: 70'
Contact: <sip:1002 at 192.168.0.113:57222;rinstance=80130bd793f1989d>'
To: <sip:1002 at 111.111.111.246>'
From: <sip:1002 at 111.111.111.246>;tag=75e50c09'
Call-ID: ODI4MjY2MzJhZjgxYWU4NjJiMWE0YWRjMmE3MzE5ZWE'
CSeq: 1 REGISTER'
Expires: 3600'
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO'
User-Agent: Bria 3 release 3.5.2 stamp 70365'
Content-Length: 0'
'
#
U 2013/08/05 01:31:32.965573 1.2.3.4:57222 -> 111.111.111.246:5060
REGISTER sip:111.111.111.246 SIP/2.0'
Via: SIP/2.0/UDP 192.168.0.113:57222;branch=z9hG4bK-d8754z-1ad5e343b0d0ad11-1---d8754z-;rport'
Max-Forwards: 70'
Contact: <sip:1002 at 192.168.0.113:57222;rinstance=80130bd793f1989d>'
To: <sip:1002 at 111.111.111.246>'
From: <sip:1002 at 111.111.111.246>;tag=75e50c09'
Call-ID: ODI4MjY2MzJhZjgxYWU4NjJiMWE0YWRjMmE3MzE5ZWE'
CSeq: 1 REGISTER'
Expires: 3600'
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO'
User-Agent: Bria 3 release 3.5.2 stamp 70365'
Content-Length: 0'
'
#
U 2013/08/05 01:31:35.245059 127.0.0.1:6217 -> 127.0.0.1:5060
OPTIONS sip:nagios at voip.sipwise.local SIP/2.0'
Via: SIP/2.0/UDP 111.111.111.24:6217;branch=z9hG4bK.6c7db5fe;rport;alias'
From: sip:sipsak at 111.111.111.24:6217;tag=435c522e'
To: sip:nagios at voip.sipwise.local'
Call-ID: 1130123822 at 111.111.111.24'
CSeq: 1 OPTIONS'
Contact: sip:sipsak at 111.111.111.24:6217'
Content-Length: 0'
Max-Forwards: 70'
User-Agent: sipsak 0.9.6'
Accept: text/plain'
'
#
U 2013/08/05 01:31:35.245647 127.0.0.1:5060 -> 127.0.0.1:5062
OPTIONS sip:nagios at voip.sipwise.local SIP/2.0'
Record-Route: <sip:127.0.0.1;lr=on;ftag=435c522e;ngcplb=yes;socket=udp:127.0.0.1:5060>'
Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bK625a.2af33f01317fb51b13ea97624cdbf608.0'
Via: SIP/2.0/UDP 111.111.111.24:6217;received=127.0.0.1;branch=z9hG4bK.6c7db5fe;rport=6217;alias'
From: sip:sipsak at 111.111.111.24:6217;tag=435c522e'
To: sip:nagios at voip.sipwise.local'
Call-ID: 1130123822 at 111.111.111.24'
CSeq: 1 OPTIONS'
Contact: sip:sipsak at 111.111.111.24:6217'
Content-Length: 0'
Max-Forwards: 69'
User-Agent: sipsak 0.9.6'
Accept: text/plain'
P-NGCP-Src-Ip: 127.0.0.1'
P-NGCP-Src-Port: 6217'
P-NGCP-Src-Proto: udp'
P-NGCP-Src-Af: 4'
P-Sock-Info: udp:127.0.0.1:5060'
'
#
U 2013/08/05 01:31:35.245774 127.0.0.1:5062 -> 127.0.0.1:5060
SIP/2.0 100 Trying'
Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bK625a.2af33f01317fb51b13ea97624cdbf608.0'
Via: SIP/2.0/UDP 111.111.111.24:6217;received=127.0.0.1;branch=z9hG4bK.6c7db5fe;rport=6217;alias'
From: sip:sipsak at 111.111.111.24:6217;tag=435c522e'
To: sip:nagios at voip.sipwise.local'
Call-ID: 1130123822 at 111.111.111.24'
CSeq: 1 OPTIONS'
P-Out-Socket: udp:127.0.0.1:5060'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
#
U 2013/08/05 01:31:35.245867 127.0.0.1:5062 -> 127.0.0.1:5060
SIP/2.0 200 Alive'
Record-Route: <sip:127.0.0.1;lr=on;ftag=435c522e;ngcplb=yes;socket=udp:127.0.0.1:5060>'
Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bK625a.2af33f01317fb51b13ea97624cdbf608.0'
Via: SIP/2.0/UDP 111.111.111.24:6217;received=127.0.0.1;branch=z9hG4bK.6c7db5fe;rport=6217;alias'
From: sip:sipsak at 111.111.111.24:6217;tag=435c522e'
To: sip:nagios at voip.sipwise.local;tag=1d24a28a0bded6c40d31e6db8aab9ac6.8174'
Call-ID: 1130123822 at 111.111.111.24'
CSeq: 1 OPTIONS'
P-Out-Socket: udp:127.0.0.1:5060'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
#
U 2013/08/05 01:31:35.246028 127.0.0.1:5060 -> 127.0.0.1:6217
SIP/2.0 100 Trying'
Via: SIP/2.0/UDP 111.111.111.24:6217;received=127.0.0.1;branch=z9hG4bK.6c7db5fe;rport=6217;alias'
From: sip:sipsak at 111.111.111.24:6217;tag=435c522e'
To: sip:nagios at voip.sipwise.local'
Call-ID: 1130123822 at 111.111.111.24'
CSeq: 1 OPTIONS'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
#
U 2013/08/05 01:31:35.246106 127.0.0.1:5060 -> 127.0.0.1:6217
SIP/2.0 200 Alive'
Record-Route: <sip:127.0.0.1;lr=on;ftag=435c522e;ngcplb=yes;socket=udp:127.0.0.1:5060>'
Via: SIP/2.0/UDP 111.111.111.24:6217;received=127.0.0.1;branch=z9hG4bK.6c7db5fe;rport=6217;alias'
From: sip:sipsak at 111.111.111.24:6217;tag=435c522e'
To: sip:nagios at voip.sipwise.local;tag=1d24a28a0bded6c40d31e6db8aab9ac6.8174'
Call-ID: 1130123822 at 111.111.111.24'
CSeq: 1 OPTIONS'
Server: Sipwise NGCP Proxy 2.X'
Content-Length: 0'
'
#
U 2013/08/05 01:31:36.958247 1.2.3.4:57222 -> 111.111.111.246:5060
REGISTER sip:111.111.111.246 SIP/2.0'
Via: SIP/2.0/UDP 192.168.0.113:57222;branch=z9hG4bK-d8754z-1ad5e343b0d0ad11-1---d8754z-;rport'
Max-Forwards: 70'
Contact: <sip:1002 at 192.168.0.113:57222;rinstance=80130bd793f1989d>'
To: <sip:1002 at 111.111.111.246>'
From: <sip:1002 at 111.111.111.246>;tag=75e50c09'
Call-ID: ODI4MjY2MzJhZjgxYWU4NjJiMWE0YWRjMmE3MzE5ZWE'
CSeq: 1 REGISTER'
Expires: 3600'
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO'
User-Agent: Bria 3 release 3.5.2 stamp 70365'
Content-Length: 0'
'
More information about the Spce-user
mailing list