<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
sorry in the trace below I just see the registration process at
09:39:43.<br>
Where do you see the second REGISTER after 10sec ? It should
Re-REGISTER again after 3600 sec.<br>
<br>
Also I don't see the unREGISTER message (with Expires: 0).<br>
Can you provide such messages ?<br>
<br>
Daniel<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On 08/24/2014 11:05 AM, Arjan Hakkesteegt wrote:<br>
</div>
<blockquote cite="mid:53F9AAE5.2090904@hakwerk.com" type="cite">Hi
all,
<br>
<br>
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).
<br>
SEMS is successfully registering with my SIP trunk provider, I can
call to and be called from the PSTN.
<br>
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.
<br>
<br>
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.
<br>
178.X.Y.Z = public IP address
<br>
12345 = didlogic user id
<br>
<br>
I'd appreciate any help.
<br>
<br>
Thanks,
<br>
Arjan
<br>
<br>
<br>
<br>
U 2014/08/24 09:39:43.210372 127.0.0.1:5080 -> 127.0.0.1:5060
<br>
REGISTER sip:sip.nl.didlogic.net SIP/2.0'
<br>
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKIG5LNa8x;rport'
<br>
From:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:12345@sip.nl.didlogic.net"><sip:12345@sip.nl.didlogic.net></a>;tag=227C9105-53F996BF00032EEE-6060F700'<br>
To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:12345@sip.nl.didlogic.net"><sip:12345@sip.nl.didlogic.net></a>'
<br>
CSeq: 50 REGISTER'
<br>
Call-ID: 015670DF-53F996BF00033117-60710700'
<br>
Route: <sip:127.0.0.1:5060;lr>'
<br>
Max-Forwards: 70'
<br>
Expires: 3600'
<br>
User-Agent: Sipwise NGCP Application Server 3.X'
<br>
Contact: <sip:178.X.Y.Z:5060;transport=udp>'
<br>
Content-Length: 0'
<br>
'
<br>
<br>
<br>
U 2014/08/24 09:39:43.211469 178.X.Y.Z:5060 ->
72.251.241.166:5060
<br>
REGISTER sip:sip.nl.didlogic.net SIP/2.0'
<br>
Via: SIP/2.0/UDP
178.X.Y.Z;branch=z9hG4bKc603.4d33604a362202e4562c26f0f8afb615.0'
<br>
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKIG5LNa8x;rport=5080'
<br>
From:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:12345@sip.nl.didlogic.net"><sip:12345@sip.nl.didlogic.net></a>;tag=227C9105-53F996BF00032EEE-6060F700'<br>
To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:12345@sip.nl.didlogic.net"><sip:12345@sip.nl.didlogic.net></a>'
<br>
CSeq: 50 REGISTER'
<br>
Call-ID: 015670DF-53F996BF00033117-60710700'
<br>
Max-Forwards: 69'
<br>
Expires: 3600'
<br>
User-Agent: Sipwise NGCP Application Server 3.X'
<br>
Contact: <sip:178.X.Y.Z:5060;transport=udp>'
<br>
Content-Length: 0'
<br>
'
<br>
<br>
<br>
U 2014/08/24 09:39:43.258182 72.251.241.166:5060 ->
178.X.Y.Z:5060
<br>
SIP/2.0 401 Unauthorized'
<br>
Via: SIP/2.0/UDP
178.X.Y.Z;branch=z9hG4bKc603.4d33604a362202e4562c26f0f8afb615.0;rport=5060'<br>
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKIG5LNa8x;rport=5080'
<br>
From:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:12345@sip.nl.didlogic.net"><sip:12345@sip.nl.didlogic.net></a>;tag=227C9105-53F996BF00032EEE-6060F700'<br>
To:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:12345@sip.nl.didlogic.net"><sip:12345@sip.nl.didlogic.net></a>;tag=b27e1a1d33761e85846fc98f5f3a7e58.fae6'<br>
CSeq: 50 REGISTER'
<br>
Call-ID: 015670DF-53F996BF00033117-60710700'
<br>
WWW-Authenticate: Digest realm="sip.nl.didlogic.net",
nonce="U/mX61P5lr9U1NSl+99whZC51Z20733QKpDIeoA=", qop="auth"'
<br>
Content-Length: 0'
<br>
'
<br>
<br>
<br>
U 2014/08/24 09:39:43.258552 127.0.0.1:5060 -> 127.0.0.1:5080
<br>
SIP/2.0 401 Unauthorized'
<br>
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKIG5LNa8x;rport=5080'
<br>
From:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:12345@sip.nl.didlogic.net"><sip:12345@sip.nl.didlogic.net></a>;tag=227C9105-53F996BF00032EEE-6060F700'<br>
To:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:12345@sip.nl.didlogic.net"><sip:12345@sip.nl.didlogic.net></a>;tag=b27e1a1d33761e85846fc98f5f3a7e58.fae6'<br>
CSeq: 50 REGISTER'
<br>
Call-ID: 015670DF-53F996BF00033117-60710700'
<br>
WWW-Authenticate: Digest realm="sip.nl.didlogic.net",
nonce="U/mX61P5lr9U1NSl+99whZC51Z20733QKpDIeoA=", qop="auth"'
<br>
Content-Length: 0'
<br>
P-NGCP-Src-Ip: 72.251.241.166'
<br>
P-NGCP-Src-Port: 5060'
<br>
P-NGCP-Src-Proto: udp'
<br>
P-NGCP-Src-Af: 4'
<br>
'
<br>
<br>
<br>
U 2014/08/24 09:39:43.260249 127.0.0.1:5080 -> 127.0.0.1:5060
<br>
REGISTER sip:sip.nl.didlogic.net SIP/2.0'
<br>
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKRaVVYaD1;rport'
<br>
From:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:12345@sip.nl.didlogic.net"><sip:12345@sip.nl.didlogic.net></a>;tag=227C9105-53F996BF00032EEE-6060F700'<br>
To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:12345@sip.nl.didlogic.net"><sip:12345@sip.nl.didlogic.net></a>'
<br>
CSeq: 51 REGISTER'
<br>
Call-ID: 015670DF-53F996BF00033117-60710700'
<br>
Route: <sip:127.0.0.1:5060;lr>'
<br>
Max-Forwards: 70'
<br>
Expires: 3600'
<br>
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'
<br>
Contact: <sip:127.0.0.1:5080;transport=udp>'
<br>
Contact: <sip:178.X.Y.Z:5060;transport=udp>'
<br>
Content-Length: 0'
<br>
'
<br>
<br>
<br>
U 2014/08/24 09:39:43.260751 178.X.Y.Z:5060 ->
72.251.241.166:5060
<br>
REGISTER sip:sip.nl.didlogic.net SIP/2.0'
<br>
Via: SIP/2.0/UDP
178.X.Y.Z;branch=z9hG4bKd603.3582e31aa520aa31282983c13533f2b7.0'
<br>
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKRaVVYaD1;rport=5080'
<br>
From:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:12345@sip.nl.didlogic.net"><sip:12345@sip.nl.didlogic.net></a>;tag=227C9105-53F996BF00032EEE-6060F700'<br>
To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:12345@sip.nl.didlogic.net"><sip:12345@sip.nl.didlogic.net></a>'
<br>
CSeq: 51 REGISTER'
<br>
Call-ID: 015670DF-53F996BF00033117-60710700'
<br>
Max-Forwards: 69'
<br>
Expires: 3600'
<br>
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'
<br>
Content-Length: 0'
<br>
Contact:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:ngcp-lb@178.X.Y.Z:5060;ngcpct=7369703a3132372e302e302e313a35303830"><sip:ngcp-lb@178.X.Y.Z:5060;ngcpct=7369703a3132372e302e302e313a35303830></a>'<br>
'
<br>
<br>
<br>
U 2014/08/24 09:39:43.288129 72.251.241.166:5060 ->
178.X.Y.Z:5060
<br>
SIP/2.0 200 OK'
<br>
Via: SIP/2.0/UDP
178.X.Y.Z;branch=z9hG4bKd603.3582e31aa520aa31282983c13533f2b7.0;rport=5060'<br>
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKRaVVYaD1;rport=5080'
<br>
From:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:12345@sip.nl.didlogic.net"><sip:12345@sip.nl.didlogic.net></a>;tag=227C9105-53F996BF00032EEE-6060F700'<br>
To:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:12345@sip.nl.didlogic.net"><sip:12345@sip.nl.didlogic.net></a>;tag=b27e1a1d33761e85846fc98f5f3a7e58.95fd'<br>
CSeq: 51 REGISTER'
<br>
Call-ID: 015670DF-53F996BF00033117-60710700'
<br>
Contact:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:ngcp-lb@178.X.Y.Z:5060;ngcpct=7369703a3132372e302e302e313a35303830"><sip:ngcp-lb@178.X.Y.Z:5060;ngcpct=7369703a3132372e302e302e313a35303830></a>;expires=3600'<br>
Content-Length: 0'
<br>
'
<br>
<br>
<br>
U 2014/08/24 09:39:43.288567 127.0.0.1:5060 -> 127.0.0.1:5080
<br>
SIP/2.0 200 OK'
<br>
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKRaVVYaD1;rport=5080'
<br>
From:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:12345@sip.nl.didlogic.net"><sip:12345@sip.nl.didlogic.net></a>;tag=227C9105-53F996BF00032EEE-6060F700'<br>
To:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:12345@sip.nl.didlogic.net"><sip:12345@sip.nl.didlogic.net></a>;tag=b27e1a1d33761e85846fc98f5f3a7e58.95fd'<br>
CSeq: 51 REGISTER'
<br>
Call-ID: 015670DF-53F996BF00033117-60710700'
<br>
Contact:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:ngcp-lb@178.X.Y.Z:5060;ngcpct=7369703a3132372e302e302e313a35303830"><sip:ngcp-lb@178.X.Y.Z:5060;ngcpct=7369703a3132372e302e302e313a35303830></a>;expires=3600'<br>
Content-Length: 0'
<br>
P-NGCP-Src-Ip: 72.251.241.166'
<br>
P-NGCP-Src-Port: 5060'
<br>
P-NGCP-Src-Proto: udp'
<br>
P-NGCP-Src-Af: 4'
<br>
'
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Spce-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
<a class="moz-txt-link-freetext" href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a>
</pre>
</blockquote>
<br>
</body>
</html>