[Freeswitch-users] Alcatel 4018 - "481 Call Does Not Exist" on re-REGISTER

Christian Benke benkokakao at gmail.com
Mon Mar 14 15:20:38 MSK 2011


> I'll have to verify if the phone is actually reusing the
> initial nonce on the re-REGISTER in the same session.

See the attached full trace(I've removed some superfluous and
identical OPTIONS and REGISTERs to make the file smaller), the phone
is in fact reusing the first nonce forever.
Is this a behaviour i could cover with FreeSWITCH?

Unfortunately there's no parameter in the phone's config i could
change(At least no documented parameter).

Best regards,
Christian
-------------- next part --------------
interface: eth1 (192.168.0.0/255.255.255.0)
filter: (ip) and ( host 192.168.0.10 and port 5060 )
#
U 192.168.0.10:5060 -> 192.168.0.1:5060
REGISTER sip:192.168.0.1:5060 SIP/2.0.
From: Jake Doe <sip:400 at 192.168.0.1>;tag=6306aa1707057ea.
To: Jake Doe <sip:400 at 192.168.0.1>.
Via: SIP/2.0/UDP 192.168.0.10:5060;branch=z9hG4bK539e84e32.
Call-ID: 0aefb7ccada0398f214fb6633ab58b34 at 192.168.0.10.
CSeq: 1329443678 REGISTER.
Max-Forwards: 70.
Content-Length: 0.
Contact: Jake Doe <sip:400 at 192.168.0.10:5060>;expires=3600.
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE, INFO.
.

#
U 192.168.0.1:5060 -> 192.168.0.10:5060
SIP/2.0 401 Unauthorized.
Via: SIP/2.0/UDP 192.168.0.10:5060;branch=z9hG4bK539e84e32.
From: Jake Doe <sip:400 at 192.168.0.1>;tag=6306aa1707057ea.
To: Jake Doe <sip:400 at 192.168.0.1>;tag=yypHNKarvU9rQ.
Call-ID: 0aefb7ccada0398f214fb6633ab58b34 at 192.168.0.10.
CSeq: 1329443678 REGISTER.
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-c18835d 2011-02-25 01-53-05 +0100.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, precondition, path, replaces.
WWW-Authenticate: Digest realm="192.168.0.1", nonce="15a72d85-3c11-43b9-9016-fad60803eab3", algorithm=MD5, qop="auth".
Content-Length: 0.
.

#
U 192.168.0.10:5060 -> 192.168.0.1:5060
REGISTER sip:192.168.0.1:5060 SIP/2.0.
From: Jake Doe <sip:400 at 192.168.0.1>;tag=6306aa1707057ea.
To: Jake Doe <sip:400 at 192.168.0.1>.
Via: SIP/2.0/UDP 192.168.0.10:5060;branch=z9hG4bK0d96190c0.
Call-ID: 0aefb7ccada0398f214fb6633ab58b34 at 192.168.0.10.
CSeq: 1329443679 REGISTER.
Max-Forwards: 70.
Content-Length: 0.
Contact: Jake Doe <sip:400 at 192.168.0.10:5060>;expires=3600.
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE, INFO.
Authorization:Digest response="818b7844616f93615544d3abd7474e29",nc=00000001,username="400",realm="192.168.0.1",nonce="15a72d85-3c11-43b9-9016-fad60803eab3",algorithm=MD5,qop=auth,cnonce="e3374561f9e3906e60b2dc5f41bee141",uri="sip:192.168.0.1:5060".
.

#
U 192.168.0.1:5060 -> 192.168.0.10:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 192.168.0.10:5060;branch=z9hG4bK0d96190c0.
From: Jake Doe <sip:400 at 192.168.0.1>;tag=6306aa1707057ea.
To: Jake Doe <sip:400 at 192.168.0.1>;tag=Z7FaQeUUS4ZBK.
Call-ID: 0aefb7ccada0398f214fb6633ab58b34 at 192.168.0.10.
CSeq: 1329443679 REGISTER.
Contact: Jake Doe <sip:400 at 192.168.0.10:5060>;expires=3600.
Date: Mon, 14 Mar 2011 12:18:36 GMT.
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-c18835d 2011-02-25 01-53-05 +0100.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, precondition, path, replaces.
Content-Length: 0.
.

#
U 192.168.0.1:5060 -> 192.168.0.10:5060
NOTIFY sip:400 at 192.168.0.10:5060;fs_nat=yes;fs_path=sip:400%40192.168.0.10:5060 SIP/2.0.
Via: SIP/2.0/UDP 192.168.0.1;rport;branch=z9hG4bKZU1D2yBN8N1gF.
Route: <sip:400 at 192.168.0.10:5060>.
Max-Forwards: 70.
From: <sip:400 at 192.168.0.1>;tag=0g92r9BZpDpye.
To: <sip:400 at 192.168.0.1>.
Call-ID: 078b76ca-c8d8-122e-c887-00105adc0460.
CSeq: 9716494 NOTIFY.
Contact: <sip:mod_sofia at 192.168.0.1:5060>.
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-c18835d 2011-02-25 01-53-05 +0100.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, precondition, path, replaces.
Event: message-summary.
Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer.
Subscription-State: terminated;reason=timeout.
Content-Type: application/simple-message-summary.
Content-Length: 62.
.
Messages-Waiting: no.
Message-Account: sip:400 at 192.168.0.1.
.

#
U 192.168.0.10:5060 -> 192.168.0.1:5060
SIP/2.0 200 OK.
From: <sip:400 at 192.168.0.1>;tag=0g92r9BZpDpye.
To: <sip:400 at 192.168.0.1>;tag=d52a47311a4b5d5.
Via: SIP/2.0/UDP 192.168.0.1;received=192.168.0.1;branch=z9hG4bKZU1D2yBN8N1gF;rport=5060;rport.
Call-ID: 078b76ca-c8d8-122e-c887-00105adc0460.
CSeq: 9716494 NOTIFY.
Content-Length: 0.
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE, INFO.
Supported: replaces.
Server: M5T SIP-UA SAFE/v3.6.9.13.
.

#
U 192.168.0.10:5060 -> 192.168.0.1:5060
SUBSCRIBE sip:400 at 192.168.0.1 SIP/2.0.
From: Jake Doe <sip:400 at 192.168.0.1>;tag=86fa6319ab01706.
To: sip:400 at 192.168.0.1.
Via: SIP/2.0/UDP 192.168.0.10:5060;branch=z9hG4bKe62118e50.
Call-ID: 3b922ea031a98fec52c48f3c158d11a2 at 192.168.0.10.
CSeq: 1565832931 SUBSCRIBE.
Max-Forwards: 70.
Content-Length: 0.
Route: <sip:192.168.0.1:5060;lr>.
Supported: timer.
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE, INFO.
Expires: 3600.
Event: message-summary.
Contact: Jake Doe <sip:400 at 192.168.0.10:5060>.
Supported: replaces.
.

#
U 192.168.0.1:5060 -> 192.168.0.10:5060
SIP/2.0 202 Accepted.
Via: SIP/2.0/UDP 192.168.0.10:5060;branch=z9hG4bKe62118e50.
From: Jake Doe <sip:400 at 192.168.0.1>;tag=86fa6319ab01706.
To: <sip:400 at 192.168.0.1>;tag=1S2Ut4v2KpcHa.
Call-ID: 3b922ea031a98fec52c48f3c158d11a2 at 192.168.0.10.
CSeq: 1565832931 SUBSCRIBE.
Contact: <sip:400 at 192.168.0.1:5060>.
Expires: 3600.
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-c18835d 2011-02-25 01-53-05 +0100.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, precondition, path, replaces.
Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer.
Subscription-State: active;expires=3600.
Content-Length: 0.
.

#
U 192.168.0.1:5060 -> 192.168.0.10:5060
NOTIFY sip:400 at 192.168.0.10:5060 SIP/2.0.
Via: SIP/2.0/UDP 192.168.0.1;rport;branch=z9hG4bK04t63Svr5yQ3a.
Max-Forwards: 70.
From: <sip:400 at 192.168.0.1>;tag=1S2Ut4v2KpcHa.
To: Jake Doe <sip:400 at 192.168.0.1>;tag=86fa6319ab01706.
Call-ID: 3b922ea031a98fec52c48f3c158d11a2 at 192.168.0.10.
CSeq: 9716494 NOTIFY.
Contact: <sip:400 at 192.168.0.1:5060>.
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-c18835d 2011-02-25 01-53-05 +0100.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, precondition, path, replaces.
Event: message-summary.
Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer.
Subscription-State: active;expires=3600.
Content-Type: application/simple-message-summary.
Content-Length: 62.
.
Messages-Waiting: no.
Message-Account: sip:400 at 192.168.0.1.
.

#
U 192.168.0.10:5060 -> 192.168.0.1:5060
SIP/2.0 200 OK.
From: <sip:400 at 192.168.0.1>;tag=1S2Ut4v2KpcHa.
To: Jake Doe <sip:400 at 192.168.0.1>;tag=86fa6319ab01706.
Via: SIP/2.0/UDP 192.168.0.1;received=192.168.0.1;branch=z9hG4bK04t63Svr5yQ3a;rport=5060;rport.
Call-ID: 3b922ea031a98fec52c48f3c158d11a2 at 192.168.0.10.
CSeq: 9716494 NOTIFY.
Content-Length: 0.
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE, INFO.
Supported: replaces.
Server: M5T SIP-UA SAFE/v3.6.9.13.
.

#
U 192.168.0.10:5060 -> 192.168.0.1:5060
OPTIONS sip:192.168.0.1:5060 SIP/2.0.
From: Jake Doe <sip:400 at 192.168.0.1>;tag=6306aa1707057ea.
To: Jake Doe <sip:400 at 192.168.0.1>.
Via: SIP/2.0/UDP 192.168.0.10:5060;branch=z9hG4bK6d342e095.
Call-ID: 0aefb7ccada0398f214fb6633ab58b34 at 192.168.0.10.
CSeq: 1329443680 OPTIONS.
Max-Forwards: 70.
Content-Length: 0.
Accept: Application/sdp.
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE, INFO.
Contact: Jake Doe <sip:400 at 192.168.0.10:5060>.
Authorization:Digest response="bc8dd6c344448e75060249710090cc6c",nc=00000002,username="400",realm="192.168.0.1",nonce="15a72d85-3c11-43b9-9016-fad60803eab3",algorithm=MD5,qop=auth,cnonce="e3374561f9e3906e60b2dc5f41bee141",uri="sip:192.168.0.1:5060".
.

#
U 192.168.0.1:5060 -> 192.168.0.10:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 192.168.0.10:5060;branch=z9hG4bK6d342e095.
From: Jake Doe <sip:400 at 192.168.0.1>;tag=6306aa1707057ea.
To: Jake Doe <sip:400 at 192.168.0.1>;tag=22UmvZD6gZ23N.
Call-ID: 0aefb7ccada0398f214fb6633ab58b34 at 192.168.0.10.
CSeq: 1329443680 OPTIONS.
Contact: <sip:192.168.0.1>.
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-c18835d 2011-02-25 01-53-05 +0100.
Accept: application/sdp.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, precondition, path, replaces.
Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer.
Content-Length: 0.
.

#
U 192.168.0.10:5060 -> 192.168.0.1:5060
OPTIONS sip:192.168.0.1 SIP/2.0.
From: Jake Doe <sip:400 at 192.168.0.1>;tag=6306aa1707057ea.
To: Jake Doe <sip:400 at 192.168.0.1>;tag=22UmvZD6gZ23N.
Via: SIP/2.0/UDP 192.168.0.10:5060;branch=z9hG4bKf800a73ab.
Call-ID: 0aefb7ccada0398f214fb6633ab58b34 at 192.168.0.10.
CSeq: 1329443681 OPTIONS.
Max-Forwards: 70.
Content-Length: 0.
Accept: Application/sdp.
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE, INFO.
Contact: Jake Doe <sip:400 at 192.168.0.10:5060>.
Authorization:Digest response="d67a226a40df8dc1c975194259d49e15",nc=00000003,username="400",realm="192.168.0.1",nonce="15a72d85-3c11-43b9-9016-fad60803eab3",algorithm=MD5,qop=auth,cnonce="e3374561f9e3906e60b2dc5f41bee141",uri="sip:192.168.0.1".
.

#
U 192.168.0.1:5060 -> 192.168.0.10:5060
SIP/2.0 481 Call Does Not Exist.
Via: SIP/2.0/UDP 192.168.0.10:5060;branch=z9hG4bKf800a73ab.
From: Jake Doe <sip:400 at 192.168.0.1>;tag=6306aa1707057ea.
To: Jake Doe <sip:400 at 192.168.0.1>;tag=22UmvZD6gZ23N.
Call-ID: 0aefb7ccada0398f214fb6633ab58b34 at 192.168.0.10.
CSeq: 1329443681 OPTIONS.
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-c18835d 2011-02-25 01-53-05 +0100.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, precondition, path, replaces.
Content-Length: 0.
.

#
U 192.168.0.1:5060 -> 192.168.0.10:5060
NOTIFY sip:400 at 192.168.0.10:5060 SIP/2.0.
Via: SIP/2.0/UDP 192.168.0.1;rport;branch=z9hG4bK1DmZ5mDv27Dpp.
Max-Forwards: 70.
From: <sip:400 at 192.168.0.1>;tag=yv4y3FmpN1Qcj.
To: Jake Doe <sip:400 at 192.168.0.1>;tag=52a569d0614b8e6.
Call-ID: 77871c9a2c7603027048b3b606932911 at 192.168.0.10.
CSeq: 9713101 NOTIFY.
Contact: <sip:400 at 192.168.0.1:5060>.
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-c18835d 2011-02-25 01-53-05 +0100.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, precondition, path, replaces.
Event: message-summary.
Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer.
Subscription-State: terminated;reason=timeout.
Content-Type: application/simple-message-summary.
Content-Length: 62.
.
Messages-Waiting: no.
Message-Account: sip:400 at 192.168.0.1.
.

#
U 192.168.0.10:5060 -> 192.168.0.1:5060
SIP/2.0 200 OK.
From: <sip:400 at 192.168.0.1>;tag=yv4y3FmpN1Qcj.
To: Jake Doe <sip:400 at 192.168.0.1>;tag=52a569d0614b8e6.
Via: SIP/2.0/UDP 192.168.0.1;received=192.168.0.1;branch=z9hG4bK1DmZ5mDv27Dpp;rport=5060;rport.
Call-ID: 77871c9a2c7603027048b3b606932911 at 192.168.0.10.
CSeq: 9713101 NOTIFY.
Content-Length: 0.
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE, INFO.
Supported: replaces.
Server: M5T SIP-UA SAFE/v3.6.9.13.
.

#
U 192.168.0.10:5060 -> 192.168.0.1:5060
OPTIONS sip:192.168.0.1 SIP/2.0.
From: Jake Doe <sip:400 at 192.168.0.1>;tag=6306aa1707057ea.
To: Jake Doe <sip:400 at 192.168.0.1>;tag=22UmvZD6gZ23N.
Via: SIP/2.0/UDP 192.168.0.10:5060;branch=z9hG4bK72332f87f.
Call-ID: 0aefb7ccada0398f214fb6633ab58b34 at 192.168.0.10.
CSeq: 1329443695 OPTIONS.
Max-Forwards: 70.
Content-Length: 0.
Accept: Application/sdp.
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE, INFO.
Contact: Jake Doe <sip:400 at 192.168.0.10:5060>.
Authorization:Digest response="0f87ba7361f4e8a5b1bc01fb623fc5d4",nc=00000011,username="400",realm="192.168.0.1",nonce="15a72d85-3c11-43b9-9016-fad60803eab3",algorithm=MD5,qop=auth,cnonce="e3374561f9e3906e60b2dc5f41bee141",uri="sip:192.168.0.1".
.

#
U 192.168.0.1:5060 -> 192.168.0.10:5060
SIP/2.0 481 Call Does Not Exist.
Via: SIP/2.0/UDP 192.168.0.10:5060;branch=z9hG4bK72332f87f.
From: Jake Doe <sip:400 at 192.168.0.1>;tag=6306aa1707057ea.
To: Jake Doe <sip:400 at 192.168.0.1>;tag=22UmvZD6gZ23N.
Call-ID: 0aefb7ccada0398f214fb6633ab58b34 at 192.168.0.10.
CSeq: 1329443695 OPTIONS.
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-c18835d 2011-02-25 01-53-05 +0100.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, precondition, path, replaces.
Content-Length: 0.
.

#
U 192.168.0.10:5060 -> 192.168.0.1:5060
REGISTER sip:192.168.0.1 SIP/2.0.
From: Jake Doe <sip:400 at 192.168.0.1>;tag=6306aa1707057ea.
To: Jake Doe <sip:400 at 192.168.0.1>;tag=22UmvZD6gZ23N.
Via: SIP/2.0/UDP 192.168.0.10:5060;branch=z9hG4bK75e801328.
Call-ID: 0aefb7ccada0398f214fb6633ab58b34 at 192.168.0.10.
CSeq: 1329443707 REGISTER.
Max-Forwards: 70.
Content-Length: 0.
Contact: Jake Doe <sip:400 at 192.168.0.10:5060>;expires=3600.
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE, INFO.
Authorization:Digest response="72a25afb32797b5c3b894eb9a45f8ced",nc=0000001d,username="400",realm="192.168.0.1",nonce="15a72d85-3c11-43b9-9016-fad60803eab3",algorithm=MD5,qop=auth,cnonce="e3374561f9e3906e60b2dc5f41bee141",uri="sip:192.168.0.1".
.

#
U 192.168.0.1:5060 -> 192.168.0.10:5060
SIP/2.0 481 Call Does Not Exist.
Via: SIP/2.0/UDP 192.168.0.10:5060;branch=z9hG4bK75e801328.
From: Jake Doe <sip:400 at 192.168.0.1>;tag=6306aa1707057ea.
To: Jake Doe <sip:400 at 192.168.0.1>;tag=22UmvZD6gZ23N.
Call-ID: 0aefb7ccada0398f214fb6633ab58b34 at 192.168.0.10.
CSeq: 1329443707 REGISTER.
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-c18835d 2011-02-25 01-53-05 +0100.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, precondition, path, replaces.
Content-Length: 0.
.


More information about the FreeSWITCH-users mailing list