<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Yes, I understand this part, but then what is the purpose of pollmailboxes if not to trigger mwi?<br><br>&gt; From: tlesher@digium.com<br>&gt; To: asterisk-users@lists.digium.com<br>&gt; Date: Wed, 7 Jul 2010 01:23:34 -0500<br>&gt; Subject: Re: [asterisk-users] Externnotify on pollmailboxes=yes<br>&gt; <br>&gt; On Tuesday 06 July 2010 22:51:03 Eric Hiller wrote:<br>&gt; &gt; Tilghman Lesher wrote:<br>&gt; &gt; &gt; On Monday 05 July 2010 19:17:00 Eric Hiller wrote:<br>&gt; &gt; &gt; &gt; Not sure if this is a bug yet, so I wanted to ask around to see if<br>&gt; &gt; &gt; &gt; anyone else was having this issue. I have pollmailboxes=yes set in<br>&gt; &gt; &gt; &gt; voicemail.conf but externnotify is not called. I know it isn't the<br>&gt; &gt; &gt; &gt; externnotify script because if the changes are done in asterisk then it<br>&gt; &gt; &gt; &gt; is called properly, if the changes are done via our webserver then it<br>&gt; &gt; &gt; &gt; is not. Also, we use odbc voicemail storage. Thanks for any help,<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; The externnotify script is only run when voicemail is left through the<br>&gt; &gt; &gt; Voicemail application.  I'm not sure if you're leaving voicemail messages<br>&gt; &gt; &gt; through an external app or if you're expecting the script to be run when<br>&gt; &gt; &gt; the count changes, but it's only run in that single case.<br>&gt; &gt;<br>&gt; &gt; Not if a voicemail is left by another system, but if a voicemail is deleted<br>&gt; &gt; by an external system (ie. web interface). But externnotify is only run<br>&gt; &gt; upon voicemail() or voicemailmain()? What is the purpose of<br>&gt; &gt; pollmailboxes=yes then?<br>&gt; <br>&gt; The purpose of pollmailboxes is to update the Message Waiting indicator on<br>&gt; various models of phones which support receiving that information through<br>&gt; its communication protocol (SIP, IAX, or other) when Voicemail cannot rely on<br>&gt; its own internal state to determine when a mailbox has messages.<br>&gt; <br>&gt; This isn't really all that odd:  the option behaves exactly as documented in<br>&gt; the sample file:<br>&gt; <br>&gt; ; If you need to have an external program, i.e. /usr/bin/myapp<br>&gt; ; called when a voicemail is left, delivered, or your voicemailbox<br>&gt; ; is checked, uncomment this.<br>&gt; ;externnotify=/usr/bin/myapp<br>&gt; <br>&gt; -- <br>&gt; Tilghman Lesher<br>&gt; Digium, Inc. | Senior Software Developer<br>&gt; twitter: Corydon76 | IRC: Corydon76-dig (Freenode)<br>&gt; Check us out at: www.digium.com &amp; www.asterisk.org<br>&gt; <br>&gt; -- <br>&gt; _____________________________________________________________________<br>&gt; -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>&gt; New to Asterisk? Join us for a live introductory webinar every Thurs:<br>&gt;                http://www.asterisk.org/hello<br>&gt; <br>&gt; asterisk-users mailing list<br>&gt; To UNSUBSCRIBE or update options visit:<br>&gt;    http://lists.digium.com/mailman/listinfo/asterisk-users<br>                                               <br /><hr />Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. <a href='http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1' target='_new'>Learn more.</a></body>
</html>