<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName" /><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]--><style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:#606420;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Verdana;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Verdana;
        color:navy;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="#606420">
<div class="Section1">
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Hi All,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Following message I got in console for an extension,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">[Jul 5 12:10:56] VERBOSE[3729] chan_sip.c:<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"><--- SIP read from UDP:132.186.230.70:7510 ---><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">SUBSCRIBE sip:18215@sip1.test.in SIP/2.0^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Via: SIP/2.0/UDP 132.186.230.70:7510;branch=z9hG4bK-d8754z-2b3b65532b3b6553-1---d8754z-;rport^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Max-Forwards: 70^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Contact: <sip:18238@132.186.230.70:7510>^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">To: <sip:18215@sip1.test.in>^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">From: "18238"<sip:18238@10.20.20.52>;tag=2b3b6553^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Call-ID: MmQ3ZDZiNzY4Y2FmNmU1OWU5NjUxODY5NTAyNTU3MDc.^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">CSeq: 1 SUBSCRIBE^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Subject: Available^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Expires: 3600^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Accept: multipart/related, application/rlmi+xml, application/pidf+xml^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, REGISTER, SUBSCRIBE, INFO^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Supported: replaces^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">User-Agent: ^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Event: presence^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Content-Length: 0^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"><-------------><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">[Jul 5 12:10:56] VERBOSE[3729] chan_sip.c: --- (16 headers 0 lines) ---<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">[Jul 5 12:10:56] VERBOSE[3729] chan_sip.c: Ignoring this SUBSCRIBE request<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">[Jul 5 12:10:56] VERBOSE[3729] chan_sip.c: Found peer '18238' for '18238' from 132.186.230.70:7510<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">[Jul 5 12:10:56] VERBOSE[3729] chan_sip.c: Looking for 18227 in test-local-outgoing (domain sip1.test.in)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">[Jul 5 12:10:56] VERBOSE[3729] chan_sip.c: Scheduling destruction of SIP dialog 'MmQ3ZDZiNzY4Y2FmNmU1OWU5NjUxODY5NTAyNTU3MDc.' in
3610000 ms (Method: SUBSCRIBE)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">[Jul 5 12:10:56] VERBOSE[3729] chan_sip.c:<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"><--- Transmitting (no NAT) to 132.186.230.70:7510 ---><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">SIP/2.0 200 OK^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Via: SIP/2.0/UDP 132.186.230.70:7510;branch=z9hG4bK-d8754z-2b3b65532b3b6553-1---d8754z-;received=132.186.230.70;rport=7510^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">From: "18238"<sip:18238@10.20.20.52>;tag=2b3b6553^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">To: <sip:18215@sip1.test.in>;tag=as6c37f730^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Call-ID: MmQ3ZDZiNzY4Y2FmNmU1OWU5NjUxODY5NTAyNTU3MDc.^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">CSeq: 1 SUBSCRIBE^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Server: Asterisk PBX 1.6.2.16.1^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Supported: replaces, timer^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Expires: 3600^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Contact: <sip:18227@10.20.20.52>;expires=3600^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Content-Length: 0^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"><------------><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">[Jul 5 12:10:56] VERBOSE[3729] chan_sip.c: set_destination: Parsing <sip:18238@132.186.230.70:7510> for address/port to send to<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">[Jul 5 12:10:56] VERBOSE[3729] chan_sip.c: set_destination: set destination to 132.186.230.70, port 7510<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">[Jul 5 12:10:56] VERBOSE[3729] chan_sip.c: Reliably Transmitting (no NAT) to 132.186.230.70:7510:<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">NOTIFY sip:18238@132.186.230.70:7510 SIP/2.0^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Via: SIP/2.0/UDP 10.20.20.52:5060;branch=z9hG4bK0f6d2ae2;rport^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Max-Forwards: 70^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">From: <sip:18227@sip1.siemens.in>;tag=as6c37f730^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">To: "18238"<sip:18238@10.20.20.52>;tag=2b3b6553^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Contact: <sip:18227@10.20.20.52>^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Call-ID: MmQ3ZDZiNzY4Y2FmNmU1OWU5NjUxODY5NTAyNTU3MDc.^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">CSeq: 119 NOTIFY^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">User-Agent: Asterisk PBX 1.6.2.16.1^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Event: presence^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Content-Type: application/pidf+xml^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Subscription-State: active^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">Content-Length: 533^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">^M<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"><?xml version="1.0" encoding="ISO-8859-1"?><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"><presence xmlns="urn:ietf:params:xml:ns:pidf"<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">xmlns:pp="urn:ietf:params:xml:ns:pidf:person"<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">xmlns:es="urn:ietf:params:xml:ns:pidf:rpid:status:rpid-status"<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">xmlns:ep="urn:ietf:params:xml:ns:pidf:rpid:rpid-person"<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy">entity="sip:18238@10.20.20.52"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"><pp:person><status><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"><ep:activities><ep:away/></ep:activities><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"></status></pp:person><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"><note>Not online</note><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"><tuple id="18227"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"><contact priority="1">sip:18227@sip1.siemens.in</contact><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"><status><basic>closed</basic></status><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"></tuple><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"></presence><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Verdana"><span style="font-size:
10.0pt;font-family:Verdana;color:navy"><o:p> </o:p></span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span lang="DE" style="font-size:12.0pt"><o:p> </o:p></span></font></p>
</div>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">
<hr size="2" width="100%" align="center" tabindex="-1">
</span></font></div>
<p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;
font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> Deka, Rajib IN MAA SL
<br>
<b><span style="font-weight:bold">Sent:</span></b> Tuesday, July 05, 2011 12:15 PM<br>
<b><span style="font-weight:bold">To:</span></b> '<st1:PersonName w:st="on">asterisk-users@lists.digium.com</st1:PersonName>'<br>
<b><span style="font-weight:bold">Subject:</span></b> SIP Presence not working</span></font><o:p></o:p></p>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt;
font-family:Verdana">Hello all,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt;
font-family:Verdana"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt;
font-family:Verdana">I found a problem regarding SIP presence in asterisk (1.6.2). The scenario is not working properly for all users.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt;
font-family:Verdana">Our SIP client sends SIP:SUBSCRIBE to all the configured extensions in asterisk during registration process. Asterisk replies with 200 OK for all SUBSCRIBE.
But if I run “sip show subscriptions” in CLI prompt, it shows only a few live subscriptions per user. The result is not consistent; sometime it shows subscription status for all the extensions and sometime a few (per user). We have allowsubscribe=yes and callcounter=yes
in sip.conf file.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt;
font-family:Verdana"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt;
font-family:Verdana">Can somebody please help me to debug this issue and identify the root cause? <o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt;
font-family:Verdana"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt;
font-family:Verdana">Regards,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt;
font-family:Verdana">Rajib<o:p></o:p></span></font></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">Important notice: This e-mail and any attachment there to contains corporate proprietary information. If you have received it by mistake, please notify us immediately by reply e-mail and delete this e-mail and its attachments
from your system.<br>
Thank You.<br>
</font>
</body>
</html>