[SR-Users] Need help in setting up Presence

SamyGo govoiper at gmail.com
Tue Jun 11 07:33:44 CEST 2013


Hi again,

So I've conducted test with Yealink IP Phone and the results are the same,
please see the attached trace and suggest what should I do to have a
working presence model.

The same phenomenon with PUBLISH originated from Kamailio destined to
Kamailio is observed again.

Thanks for the support,
Sammy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130611/6a333303/attachment.html>
-------------- next part --------------
U 2013/06/11 01:24:17.492756 115.167.68.120:62252 -> 1.1.1.1:5060

REGISTER sip:wistle.myvoip.com SIP/2.0
Via: SIP/2.0/UDP 192.168.137.209:5065;rport;branch=z9hG4bK522606412
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=1015169947
To: "4144" <sip:4144 at wistle.myvoip.com>
Call-ID: 577895207 at 192.168.137.209
CSeq: 1 REGISTER
Contact: <sip:4144 at 192.168.137.209:5065>
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink SIP-T26P 6.60.0.120
Expires: 300
Content-Length: 0


U 2013/06/11 01:24:17.493298 1.1.1.1:5060 -> 115.167.68.120:62252

SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.137.209:5065;rport=62252;branch=z9hG4bK522606412;received=115.167.68.120
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=1015169947
To: "4144" <sip:4144 at wistle.myvoip.com>;tag=b27e1a1d33761e85846fc98f5f3a7e58.f10e
Call-ID: 577895207 at 192.168.137.209
CSeq: 1 REGISTER
WWW-Authenticate: Digest realm="wistle.myvoip.com", nonce="Uba1rVG2tIFAyeh7S+LW2h2BDc0pVOv1"
Server: kamailio (4.0.1 (i386/linux))
Content-Length: 0


U 2013/06/11 01:24:18.087376 115.167.68.120:62252 -> 1.1.1.1:5060

REGISTER sip:wistle.myvoip.com SIP/2.0
Via: SIP/2.0/UDP 192.168.137.209:5065;rport;branch=z9hG4bK522606412
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=1015169947
To: "4144" <sip:4144 at wistle.myvoip.com>
Call-ID: 577895207 at 192.168.137.209
CSeq: 1 REGISTER
Contact: <sip:4144 at 192.168.137.209:5065>
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink SIP-T26P 6.60.0.120
Expires: 300
Content-Length: 0


U 2013/06/11 01:24:18.087698 1.1.1.1:5060 -> 115.167.68.120:62252

SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.137.209:5065;rport=62252;branch=z9hG4bK522606412;received=115.167.68.120
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=1015169947
To: "4144" <sip:4144 at wistle.myvoip.com>;tag=b27e1a1d33761e85846fc98f5f3a7e58.f10e
Call-ID: 577895207 at 192.168.137.209
CSeq: 1 REGISTER
WWW-Authenticate: Digest realm="wistle.myvoip.com", nonce="Uba1rlG2tILsuBaRXAXH2b0wHhLApCqy"
Server: kamailio (4.0.1 (i386/linux))
Content-Length: 0


U 2013/06/11 01:24:18.917762 115.167.68.120:62252 -> 1.1.1.1:5060

REGISTER sip:wistle.myvoip.com SIP/2.0
Via: SIP/2.0/UDP 192.168.137.209:5065;rport;branch=z9hG4bK1887974474
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=235815246
To: "4144" <sip:4144 at wistle.myvoip.com>
Call-ID: 1667627551 at 192.168.137.209
CSeq: 1 REGISTER
Contact: <sip:4144 at 192.168.137.209:5065>
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink SIP-T26P 6.60.0.120
Expires: 300
Content-Length: 0


U 2013/06/11 01:24:18.918080 1.1.1.1:5060 -> 115.167.68.120:62252

SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.137.209:5065;rport=62252;branch=z9hG4bK1887974474;received=115.167.68.120
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=235815246
To: "4144" <sip:4144 at wistle.myvoip.com>;tag=b27e1a1d33761e85846fc98f5f3a7e58.1dbe
Call-ID: 1667627551 at 192.168.137.209
CSeq: 1 REGISTER
WWW-Authenticate: Digest realm="wistle.myvoip.com", nonce="Uba1rlG2tILsuBaRXAXH2b0wHhLApCqy"
Server: kamailio (4.0.1 (i386/linux))
Content-Length: 0


U 2013/06/11 01:24:19.352922 115.167.68.120:62252 -> 1.1.1.1:5060

REGISTER sip:wistle.myvoip.com SIP/2.0
Via: SIP/2.0/UDP 192.168.137.209:5065;rport;branch=z9hG4bK2099949785
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=235815246
To: "4144" <sip:4144 at wistle.myvoip.com>
Call-ID: 1667627551 at 192.168.137.209
CSeq: 2 REGISTER
Contact: <sip:4144 at 192.168.137.209:5065>
Authorization: Digest username="4144", realm="wistle.myvoip.com", nonce="Uba1rlG2tILsuBaRXAXH2b0wHhLApCqy", uri="sip:wistle.myvoip.com", response="daffe5f54e7a0367f20bea3195c1aeac", algorithm=MD5
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink SIP-T26P 6.60.0.120
Expires: 300
Content-Length: 0


U 2013/06/11 01:24:19.356739 1.1.1.1:5060 -> 115.167.68.120:62252

SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.137.209:5065;rport=62252;branch=z9hG4bK2099949785;received=115.167.68.120
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=235815246
To: "4144" <sip:4144 at wistle.myvoip.com>;tag=b27e1a1d33761e85846fc98f5f3a7e58.a8c0
Call-ID: 1667627551 at 192.168.137.209
CSeq: 2 REGISTER
Contact: <sip:4144 at 192.168.137.123:5065>;expires=251;received="sip:115.167.68.120:62247", <sip:4144 at 192.168.137.209:5065>;expires=300;received="sip:115.167.68.120:62252"
Server: kamailio (4.0.1 (i386/linux))
Content-Length: 0


U 2013/06/11 01:24:20.242721 115.167.68.120:62252 -> 1.1.1.1:5060

SUBSCRIBE sip:4144 at wistle.myvoip.com SIP/2.0
Via: SIP/2.0/UDP 192.168.137.209:5065;rport;branch=z9hG4bK1751143641
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=402798045
To: "4144" <sip:4144 at wistle.myvoip.com>
Call-ID: 744164545 at 192.168.137.209
CSeq: 1 SUBSCRIBE
Contact: <sip:4144 at 192.168.137.209:5065>
Accept: application/simple-message-summary
Max-Forwards: 70
User-Agent: Yealink SIP-T26P 6.60.0.120
Expires: 3600
Event: message-summary
Content-Length: 0


U 2013/06/11 01:24:20.243070 1.1.1.1:5060 -> 115.167.68.120:62252

SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.137.209:5065;rport=62252;branch=z9hG4bK1751143641;received=115.167.68.120
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=402798045
To: "4144" <sip:4144 at wistle.myvoip.com>;tag=b27e1a1d33761e85846fc98f5f3a7e58.12c3
Call-ID: 744164545 at 192.168.137.209
CSeq: 1 SUBSCRIBE
Proxy-Authenticate: Digest realm="wistle.myvoip.com", nonce="Uba1sFG2tIQ0IYr5vs8CJGfeiy1xmMTX"
Server: kamailio (4.0.1 (i386/linux))
Content-Length: 0


U 2013/06/11 01:24:20.257374 115.167.68.120:62252 -> 1.1.1.1:5060

SUBSCRIBE sip:4144 at wistle.myvoip.com SIP/2.0
Via: SIP/2.0/UDP 192.168.137.209:5065;rport;branch=z9hG4bK1599145041
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=13661594
To: "4144" <sip:4144 at wistle.myvoip.com>
Call-ID: 1952062860 at 192.168.137.209
CSeq: 1 SUBSCRIBE
Contact: <sip:4144 at 192.168.137.209:5065>
Max-Forwards: 70
User-Agent: Yealink SIP-T26P 6.60.0.120
Expires: 330
Event: reg
Accept: application/reginfo+xml
Content-Length: 0


U 2013/06/11 01:24:20.257726 1.1.1.1:5060 -> 115.167.68.120:62252

SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.137.209:5065;rport=62252;branch=z9hG4bK1599145041;received=115.167.68.120
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=13661594
To: "4144" <sip:4144 at wistle.myvoip.com>;tag=b27e1a1d33761e85846fc98f5f3a7e58.61fd
Call-ID: 1952062860 at 192.168.137.209
CSeq: 1 SUBSCRIBE
Proxy-Authenticate: Digest realm="wistle.myvoip.com", nonce="Uba1sFG2tIQ0IYr5vs8CJGfeiy1xmMTX"
Server: kamailio (4.0.1 (i386/linux))
Content-Length: 0


U 2013/06/11 01:24:20.352563 115.167.68.120:62252 -> 1.1.1.1:5060

SUBSCRIBE sip:4144 at wistle.myvoip.com SIP/2.0
Via: SIP/2.0/UDP 192.168.137.209:5065;rport;branch=z9hG4bK1598260778
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=1757091849
To: <sip:4144 at wistle.myvoip.com>
Call-ID: 1783280358 at 192.168.137.209
CSeq: 1 SUBSCRIBE
Contact: <sip:4144 at 192.168.137.209:5065>
Accept: application/dialog-info+xml
Max-Forwards: 70
User-Agent: Yealink SIP-T26P 6.60.0.120
Expires: 1800
Event: dialog
Content-Length: 0


U 2013/06/11 01:24:20.352915 1.1.1.1:5060 -> 115.167.68.120:62252

SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.137.209:5065;rport=62252;branch=z9hG4bK1598260778;received=115.167.68.120
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=1757091849
To: <sip:4144 at wistle.myvoip.com>;tag=b27e1a1d33761e85846fc98f5f3a7e58.dcf0
Call-ID: 1783280358 at 192.168.137.209
CSeq: 1 SUBSCRIBE
Proxy-Authenticate: Digest realm="wistle.myvoip.com", nonce="Uba1sFG2tIQ0IYr5vs8CJGfeiy1xmMTX"
Server: kamailio (4.0.1 (i386/linux))
Content-Length: 0


U 2013/06/11 01:24:20.958052 115.167.68.120:62252 -> 1.1.1.1:5060

SUBSCRIBE sip:4144 at wistle.myvoip.com SIP/2.0
Via: SIP/2.0/UDP 192.168.137.209:5065;rport;branch=z9hG4bK1075802353
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=13661594
To: "4144" <sip:4144 at wistle.myvoip.com>
Call-ID: 1952062860 at 192.168.137.209
CSeq: 2 SUBSCRIBE
Contact: <sip:4144 at 192.168.137.209:5065>
Proxy-Authorization: Digest username="4144", realm="wistle.myvoip.com", nonce="Uba1sFG2tIQ0IYr5vs8CJGfeiy1xmMTX", uri="sip:4144 at wistle.myvoip.com", response="4934f2bbbd56b183a0a0d4afbbaf4c8c", algorithm=MD5
Max-Forwards: 70
User-Agent: Yealink SIP-T26P 6.60.0.120
Expires: 330
Event: reg
Accept: application/reginfo+xml
Content-Length: 0


U 2013/06/11 01:24:20.959016 1.1.1.1:5060 -> 115.167.68.120:62252

SIP/2.0 202 OK
Via: SIP/2.0/UDP 192.168.137.209:5065;rport=62252;branch=z9hG4bK1075802353;received=115.167.68.120
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=13661594
To: "4144" <sip:4144 at wistle.myvoip.com>;tag=a6a1c5f60faecf035a1ae5b6e96e979a-576a
Call-ID: 1952062860 at 192.168.137.209
CSeq: 2 SUBSCRIBE
Expires: 330
Contact: <sip:1.1.1.1:5060>
Server: kamailio (4.0.1 (i386/linux))
Content-Length: 0


U 2013/06/11 01:24:20.959657 1.1.1.1:5060 -> 115.167.68.120:62252

NOTIFY sip:4144 at 115.167.68.120:62252 SIP/2.0
Via: SIP/2.0/UDP 1.1.1.1;branch=z9hG4bK7d55.1d7e6ce3.0
To: sip:4144 at wistle.myvoip.com;tag=13661594
From: sip:4144 at wistle.myvoip.com;tag=a6a1c5f60faecf035a1ae5b6e96e979a-576a
CSeq: 2 NOTIFY
Call-ID: 1952062860 at 192.168.137.209
Content-Length: 0
User-Agent: kamailio (4.0.1 (i386/linux))
Max-Forwards: 70
Event: reg
Contact: <sip:1.1.1.1:5060>
Subscription-State: active;expires=330


U 2013/06/11 01:24:20.977624 115.167.68.120:62252 -> 1.1.1.1:5060

SUBSCRIBE sip:4144 at wistle.myvoip.com SIP/2.0
Via: SIP/2.0/UDP 192.168.137.209:5065;rport;branch=z9hG4bK334526790
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=402798045
To: "4144" <sip:4144 at wistle.myvoip.com>
Call-ID: 744164545 at 192.168.137.209
CSeq: 2 SUBSCRIBE
Contact: <sip:4144 at 192.168.137.209:5065>
Proxy-Authorization: Digest username="4144", realm="wistle.myvoip.com", nonce="Uba1sFG2tIQ0IYr5vs8CJGfeiy1xmMTX", uri="sip:4144 at wistle.myvoip.com", response="4934f2bbbd56b183a0a0d4afbbaf4c8c", algorithm=MD5
Accept: application/simple-message-summary
Max-Forwards: 70
User-Agent: Yealink SIP-T26P 6.60.0.120
Expires: 3600
Event: message-summary
Content-Length: 0


U 2013/06/11 01:24:20.978690 1.1.1.1:5060 -> 115.167.68.120:62252

SIP/2.0 489 Bad Event
Via: SIP/2.0/UDP 192.168.137.209:5065;rport=62252;branch=z9hG4bK334526790;received=115.167.68.120
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=402798045
To: "4144" <sip:4144 at wistle.myvoip.com>;tag=a6a1c5f60faecf035a1ae5b6e96e979a-1358
Call-ID: 744164545 at 192.168.137.209
CSeq: 2 SUBSCRIBE
Allow-Events: presence.winfo, reg, dialog, presence
Server: kamailio (4.0.1 (i386/linux))
Content-Length: 0


U 2013/06/11 01:24:21.062749 115.167.68.120:62252 -> 1.1.1.1:5060

SUBSCRIBE sip:4144 at wistle.myvoip.com SIP/2.0
Via: SIP/2.0/UDP 192.168.137.209:5065;rport;branch=z9hG4bK1648134034
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=1757091849
To: <sip:4144 at wistle.myvoip.com>
Call-ID: 1783280358 at 192.168.137.209
CSeq: 2 SUBSCRIBE
Contact: <sip:4144 at 192.168.137.209:5065>
Proxy-Authorization: Digest username="4144", realm="wistle.myvoip.com", nonce="Uba1sFG2tIQ0IYr5vs8CJGfeiy1xmMTX", uri="sip:4144 at wistle.myvoip.com", response="4934f2bbbd56b183a0a0d4afbbaf4c8c", algorithm=MD5
Accept: application/dialog-info+xml
Max-Forwards: 70
User-Agent: Yealink SIP-T26P 6.60.0.120
Expires: 1800
Event: dialog
Content-Length: 0


U 2013/06/11 01:24:21.063701 1.1.1.1:5060 -> 115.167.68.120:62252

SIP/2.0 202 OK
Via: SIP/2.0/UDP 192.168.137.209:5065;rport=62252;branch=z9hG4bK1648134034;received=115.167.68.120
From: "4144" <sip:4144 at wistle.myvoip.com>;tag=1757091849
To: <sip:4144 at wistle.myvoip.com>;tag=a6a1c5f60faecf035a1ae5b6e96e979a-bda1
Call-ID: 1783280358 at 192.168.137.209
CSeq: 2 SUBSCRIBE
Expires: 1800
Contact: <sip:1.1.1.1:5060>
Server: kamailio (4.0.1 (i386/linux))
Content-Length: 0


U 2013/06/11 01:24:21.063958 1.1.1.1:5060 -> 115.167.68.120:62252

NOTIFY sip:4144 at 115.167.68.120:62252 SIP/2.0
Via: SIP/2.0/UDP 1.1.1.1;branch=z9hG4bK9e78.cc34b496.0
To: sip:4144 at wistle.myvoip.com;tag=1757091849
From: sip:4144 at wistle.myvoip.com;tag=a6a1c5f60faecf035a1ae5b6e96e979a-bda1
CSeq: 2 NOTIFY
Call-ID: 1783280358 at 192.168.137.209
Content-Length: 0
User-Agent: kamailio (4.0.1 (i386/linux))
Max-Forwards: 70
Event: dialog
Contact: <sip:1.1.1.1:5060>
Subscription-State: active;expires=1800


U 2013/06/11 01:24:21.307434 115.167.68.120:62252 -> 1.1.1.1:5060

SIP/2.0 200 OK
Via: SIP/2.0/UDP 1.1.1.1:5060;branch=z9hG4bK7d55.1d7e6ce3.0
From: <sip:4144 at wistle.myvoip.com>;tag=a6a1c5f60faecf035a1ae5b6e96e979a-576a
To: <sip:4144 at wistle.myvoip.com>;tag=13661594
Call-ID: 1952062860 at 192.168.137.209
CSeq: 2 NOTIFY
User-Agent: Yealink SIP-T26P 6.60.0.120
Content-Length: 0



More information about the sr-users mailing list