What happens if there are more than 1 message and the user does not listen to all messages though? <br><br><div class="gmail_quote">On Wed, Apr 6, 2011 at 1:00 PM, Steven Howes <span dir="ltr">&lt;<a href="mailto:steve-lists@geekinter.net">steve-lists@geekinter.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word"><div class="im"><div><div>On 6 Apr 2011, at 17:46, vip killa wrote:</div><blockquote type="cite">
<div>I have &quot;externnotify = /var/lib/asterisk/agi-bin/<a href="http://vm_notify.pl/" target="_blank">vm_notify.pl</a>&quot; so that when someone is left a voicemail it will call the person&#39;s mobile phone and prompt them with the new message. The perl script simply originates a call to a persons mobile phone and connects it to their voicemail using VoiceMailMain. Problem is when user hangs up from checking their messages, it runs the externnotify again causing an infinite loop. Has anybody encountered this problem or is there an option to not have it run externnotify after checking messages?</div>
</blockquote><br></div></div><div>Look at the docs. Externnotify sends mailbox + mailbox count. Make your script exit if it&#39;s 0 messages.</div><div><br></div><font color="#888888"><div>S</div></font></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>