<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Okay! here i have manually configure polycom 501 and tell to subscribe asterisk for MWI. and look like MWI started working but issue is i am getting delayed MWI notification.. sometime its 1 hrs or sometime its 30min<br><br><br>see following debug. what is Expires: 3600 ? from where its coming from ?<br><br><-------------><br>--- (10 headers 0 lines) ---<br>Really destroying SIP dialog '29bd9ffd4ce2e0b737a68f9145812de2@172.30.1.46:5060' Method: OPTIONS<br><br><--- SIP read from UDP:172.30.245.143:5060 ---><br>SUBSCRIBE sip:asterisk@172.30.1.46:5060 SIP/2.0<br>Via: SIP/2.0/UDP 172.30.245.143;branch=z9hG4bK2b7c62c3FA125372<br>From: "Satish Patel" <sip:7623@laverne.east.ora.com>;tag=9FBFC6B1-EE9095EE<br>To: <sip:7623@laverne.east.ora.com>;tag=as65ea68d2<br>CSeq: 6 SUBSCRIBE<br>Call-ID: 739c15bd-75f452ef-dcd95504@172.30.245.143<br>Contact: <sip:7623@172.30.245.143><br>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER<br>Event: message-summary<br>User-Agent: PolycomSoundPointIP-SPIP_501-UA/1.6.5.0043<br>Accept: application/simple-message-summary<br>Max-Forwards: 70<br>Expires: 3600<br>Content-Length: 0<br><br><-------------><br>--- (14 headers 0 lines) ---<br>Found peer '7623' for '7623' from 172.30.245.143:5060<br>Scheduling destruction of SIP dialog '739c15bd-75f452ef-dcd95504@172.30.245.143' in 3610000 ms (Method: SUBSCRIBE)<br><br><--- Transmitting (no NAT) to 172.30.245.143:5060 ---><br>SIP/2.0 200 OK<br>Via: SIP/2.0/UDP 172.30.245.143;branch=z9hG4bK2b7c62c3FA125372;received=172.30.245.143<br>From: "Satish Patel" <sip:7623@laverne.east.ora.com>;tag=9FBFC6B1-EE9095EE<br>To: <sip:7623@laverne.east.ora.com>;tag=as65ea68d2<br>Call-ID: 739c15bd-75f452ef-dcd95504@172.30.245.143<br>CSeq: 6 SUBSCRIBE<br>Server: Asterisk PBX SVN-branch-1.8-r321926<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH<br>Supported: replaces, timer<br>Expires: 3600<br>Contact: <sip:asterisk@172.30.1.46:5060>;expires=3600<br>Content-Length: 0<br><br><br><------------><br>Reliably Transmitting (no NAT) to 172.30.245.143:5060:<br>NOTIFY sip:7623@172.30.245.143 SIP/2.0<br>Via: SIP/2.0/UDP 172.30.1.46:5060;branch=z9hG4bK337c5799<br>Max-Forwards: 70<br>Route: <sip:7623@172.30.245.143><br>From: "asterisk" <sip:asterisk@172.30.1.46>;tag=as65ea68d2<br>To: <sip:7623@172.30.245.143>;tag=9FBFC6B1-EE9095EE<br>Contact: <sip:asterisk@172.30.1.46:5060><br>Call-ID: 739c15bd-75f452ef-dcd95504@172.30.245.143<br>CSeq: 107 NOTIFY<br>User-Agent: Asterisk PBX SVN-branch-1.8-r321926<br>Event: message-summary<br>Content-Type: application/simple-message-summary<br>Subscription-State: active<br>Content-Length: 97<br><br>Messages-Waiting: yes<br>Message-Account: sip:asterisk@172.30.1.46:5060<br>Voice-Message: 2/0 (0/0)<br><br><br><br>> Date: Thu, 9 Jun 2011 18:25:30 +0100<br>> From: davies147@gmail.com<br>> To: asterisk-users@lists.digium.com<br>> Subject: Re: [asterisk-users] Asterisk 1.8 broken MWI<br>> <br>> On 9 June 2011 15:49, satish patel <satish_lx@hotmail.com> wrote:<br>> >> Date: Wed, 8 Jun 2011 18:15:14 +0100<br>> >> From: davies147@gmail.com<br>> >> To: asterisk-users@lists.digium.com<br>> >> Subject: Re: [asterisk-users] Asterisk 1.8 broken MWI<br>> >><br>> >> On 8 June 2011 17:20, satish patel <satish_lx@hotmail.com> wrote:<br>> >> > Interesting thing is when i reload sip.conf i got MWI lamp working on<br>> >> > polycom 501<br>> >> ><br>> >> > But its not working when anyone leave voicemail. Do you know its some<br>> >> > timeout or polling setting in sip.conf ?<br>> >> ><br>> >> > Still my question is my my asterisk not sending NOTIFY message ? Do i<br>> >> > need<br>> >> > to subscribe my phone to asterisk ?<br>> >> ><br>> >><br>> >> Does this help?<br>> >><br>> >> https://issues.asterisk.org/jira/browse/ASTERISK-17866<br>> >><br>> >> Regards,<br>> >> Steve<br>> >><br>> > Thanks steve,<br>> ><br>> > But you know if i connect X-lite softphone my asterisk sending NOTIFY .<br>> ><br>> > But its not sending NOTIFY to polycom 501 phone ? Do you think i need to<br>> > subscribe my phone to asterisk ?<br>> ><br>> > -S<br>> ><br>> <br>> X-Lite automatically SUBSCRIBEs for MWI indication. Polycom and snom<br>> do not do this by default, instead they assume that the REGISTER will<br>> automatically cause MWI notifications.<br>> <br>> chan_sip changed behaviour (by accident I suspect) somewhere between<br>> version 1.2 and 1.6, and the patch basically puts back what went<br>> missing. It is crude, but has not caused me any problems so far.<br>> <br>> Regards,<br>> Steve<br>> <br>> --<br>> _____________________________________________________________________<br>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>> New to Asterisk? Join us for a live introductory webinar every Thurs:<br>> http://www.asterisk.org/hello<br>> <br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> http://lists.digium.com/mailman/listinfo/asterisk-users<br>                                            </body>
</html>