[Spce-user] mr3.4.1 sems: "no matching Contact - deregistered" / kamailio-lb contact (un)masking

Daniel Grotti dgrotti at sipwise.com
Sun Aug 24 08:26:12 EDT 2014


Hi,
sorry in the trace below I just see the registration process at 09:39:43.
Where do you see the second REGISTER after 10sec ? It should Re-REGISTER
again after 3600 sec.

Also I don't see the unREGISTER message (with Expires: 0).
Can you provide such messages ?

Daniel







On 08/24/2014 11:05 AM, Arjan Hakkesteegt wrote:
> Hi all,
>
> I have a fresh install of mr3.4.1 (actually I messed up upgrading from
> 3.3.1 on a mysql error and didn't have a proper backup; my bad.
> Completey wiped the VM and started from scratch).
> SEMS is successfully registering with my SIP trunk provider, I can
> call to and be called from the PSTN.
> However, looking at the sems logs ("debug: 'yes'" in config.yml,
> attached), it is re-registering every 10 seconds because of a "no
> matching Contact - deregistered" error.
>
> Below is the output of ngrep-sip for one attempt. I'm no expert but it
> looks like the unmasking of the contact fails in kamailio-lb.
> 178.X.Y.Z = public IP address
> 12345 = didlogic user id
>
> I'd appreciate any help.
>
> Thanks,
> Arjan
>
>
>
> U 2014/08/24 09:39:43.210372 127.0.0.1:5080 -> 127.0.0.1:5060
> REGISTER sip:sip.nl.didlogic.net SIP/2.0'
> Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKIG5LNa8x;rport'
> From:
> <sip:12345 at sip.nl.didlogic.net>;tag=227C9105-53F996BF00032EEE-6060F700'
> To: <sip:12345 at sip.nl.didlogic.net>'
> CSeq: 50 REGISTER'
> Call-ID: 015670DF-53F996BF00033117-60710700'
> Route: <sip:127.0.0.1:5060;lr>'
> Max-Forwards: 70'
> Expires: 3600'
> User-Agent: Sipwise NGCP Application Server 3.X'
> Contact: <sip:178.X.Y.Z:5060;transport=udp>'
> Content-Length: 0'
> '
>
>
> U 2014/08/24 09:39:43.211469 178.X.Y.Z:5060 -> 72.251.241.166:5060
> REGISTER sip:sip.nl.didlogic.net SIP/2.0'
> Via: SIP/2.0/UDP
> 178.X.Y.Z;branch=z9hG4bKc603.4d33604a362202e4562c26f0f8afb615.0'
> Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKIG5LNa8x;rport=5080'
> From:
> <sip:12345 at sip.nl.didlogic.net>;tag=227C9105-53F996BF00032EEE-6060F700'
> To: <sip:12345 at sip.nl.didlogic.net>'
> CSeq: 50 REGISTER'
> Call-ID: 015670DF-53F996BF00033117-60710700'
> Max-Forwards: 69'
> Expires: 3600'
> User-Agent: Sipwise NGCP Application Server 3.X'
> Contact: <sip:178.X.Y.Z:5060;transport=udp>'
> Content-Length: 0'
> '
>
>
> U 2014/08/24 09:39:43.258182 72.251.241.166:5060 -> 178.X.Y.Z:5060
> SIP/2.0 401 Unauthorized'
> Via: SIP/2.0/UDP
> 178.X.Y.Z;branch=z9hG4bKc603.4d33604a362202e4562c26f0f8afb615.0;rport=5060'
> Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKIG5LNa8x;rport=5080'
> From:
> <sip:12345 at sip.nl.didlogic.net>;tag=227C9105-53F996BF00032EEE-6060F700'
> To:
> <sip:12345 at sip.nl.didlogic.net>;tag=b27e1a1d33761e85846fc98f5f3a7e58.fae6'
> CSeq: 50 REGISTER'
> Call-ID: 015670DF-53F996BF00033117-60710700'
> WWW-Authenticate: Digest realm="sip.nl.didlogic.net",
> nonce="U/mX61P5lr9U1NSl+99whZC51Z20733QKpDIeoA=", qop="auth"'
> Content-Length: 0'
> '
>
>
> U 2014/08/24 09:39:43.258552 127.0.0.1:5060 -> 127.0.0.1:5080
> SIP/2.0 401 Unauthorized'
> Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKIG5LNa8x;rport=5080'
> From:
> <sip:12345 at sip.nl.didlogic.net>;tag=227C9105-53F996BF00032EEE-6060F700'
> To:
> <sip:12345 at sip.nl.didlogic.net>;tag=b27e1a1d33761e85846fc98f5f3a7e58.fae6'
> CSeq: 50 REGISTER'
> Call-ID: 015670DF-53F996BF00033117-60710700'
> WWW-Authenticate: Digest realm="sip.nl.didlogic.net",
> nonce="U/mX61P5lr9U1NSl+99whZC51Z20733QKpDIeoA=", qop="auth"'
> Content-Length: 0'
> P-NGCP-Src-Ip: 72.251.241.166'
> P-NGCP-Src-Port: 5060'
> P-NGCP-Src-Proto: udp'
> P-NGCP-Src-Af: 4'
> '
>
>
> U 2014/08/24 09:39:43.260249 127.0.0.1:5080 -> 127.0.0.1:5060
> REGISTER sip:sip.nl.didlogic.net SIP/2.0'
> Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKRaVVYaD1;rport'
> From:
> <sip:12345 at sip.nl.didlogic.net>;tag=227C9105-53F996BF00032EEE-6060F700'
> To: <sip:12345 at sip.nl.didlogic.net>'
> CSeq: 51 REGISTER'
> Call-ID: 015670DF-53F996BF00033117-60710700'
> Route: <sip:127.0.0.1:5060;lr>'
> Max-Forwards: 70'
> Expires: 3600'
> Authorization: Digest username="12345", realm="sip.nl.didlogic.net",
> nonce="U/mX61P5lr9U1NSl+99whZC51Z20733QKpDIeoA=",
> uri="sip:sip.nl.didlogic.net", qop=auth, cnonce="570de1e7",
> nc=00000001, response="2b54500d9b70647866d0190affd850a0", algorithm=MD5'
> Contact: <sip:127.0.0.1:5080;transport=udp>'
> Contact: <sip:178.X.Y.Z:5060;transport=udp>'
> Content-Length: 0'
> '
>
>
> U 2014/08/24 09:39:43.260751 178.X.Y.Z:5060 -> 72.251.241.166:5060
> REGISTER sip:sip.nl.didlogic.net SIP/2.0'
> Via: SIP/2.0/UDP
> 178.X.Y.Z;branch=z9hG4bKd603.3582e31aa520aa31282983c13533f2b7.0'
> Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKRaVVYaD1;rport=5080'
> From:
> <sip:12345 at sip.nl.didlogic.net>;tag=227C9105-53F996BF00032EEE-6060F700'
> To: <sip:12345 at sip.nl.didlogic.net>'
> CSeq: 51 REGISTER'
> Call-ID: 015670DF-53F996BF00033117-60710700'
> Max-Forwards: 69'
> Expires: 3600'
> Authorization: Digest username="12345", realm="sip.nl.didlogic.net",
> nonce="U/mX61P5lr9U1NSl+99whZC51Z20733QKpDIeoA=",
> uri="sip:sip.nl.didlogic.net", qop=auth, cnonce="570de1e7",
> nc=00000001, response="2b54500d9b70647866d0190affd850a0", algorithm=MD5'
> Content-Length: 0'
> Contact:
> <sip:ngcp-lb at 178.X.Y.Z:5060;ngcpct=7369703a3132372e302e302e313a35303830>'
> '
>
>
> U 2014/08/24 09:39:43.288129 72.251.241.166:5060 -> 178.X.Y.Z:5060
> SIP/2.0 200 OK'
> Via: SIP/2.0/UDP
> 178.X.Y.Z;branch=z9hG4bKd603.3582e31aa520aa31282983c13533f2b7.0;rport=5060'
> Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKRaVVYaD1;rport=5080'
> From:
> <sip:12345 at sip.nl.didlogic.net>;tag=227C9105-53F996BF00032EEE-6060F700'
> To:
> <sip:12345 at sip.nl.didlogic.net>;tag=b27e1a1d33761e85846fc98f5f3a7e58.95fd'
> CSeq: 51 REGISTER'
> Call-ID: 015670DF-53F996BF00033117-60710700'
> Contact:
> <sip:ngcp-lb at 178.X.Y.Z:5060;ngcpct=7369703a3132372e302e302e313a35303830>;expires=3600'
> Content-Length: 0'
> '
>
>
> U 2014/08/24 09:39:43.288567 127.0.0.1:5060 -> 127.0.0.1:5080
> SIP/2.0 200 OK'
> Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKRaVVYaD1;rport=5080'
> From:
> <sip:12345 at sip.nl.didlogic.net>;tag=227C9105-53F996BF00032EEE-6060F700'
> To:
> <sip:12345 at sip.nl.didlogic.net>;tag=b27e1a1d33761e85846fc98f5f3a7e58.95fd'
> CSeq: 51 REGISTER'
> Call-ID: 015670DF-53F996BF00033117-60710700'
> Contact:
> <sip:ngcp-lb at 178.X.Y.Z:5060;ngcpct=7369703a3132372e302e302e313a35303830>;expires=3600'
> Content-Length: 0'
> P-NGCP-Src-Ip: 72.251.241.166'
> P-NGCP-Src-Port: 5060'
> P-NGCP-Src-Proto: udp'
> P-NGCP-Src-Af: 4'
> '
>
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://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/20140824/5185dede/attachment-0001.html>


More information about the Spce-user mailing list