<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On 6 Apr 2011, at 17:46, vip killa wrote:</div><blockquote type="cite"><div>I have "externnotify = /var/lib/asterisk/agi-bin/<a href="http://vm_notify.pl/">vm_notify.pl</a>" so that when someone is left a voicemail it will call the person's mobile phone and prompt them with the new message.&nbsp;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>Look at the docs. Externnotify sends mailbox + mailbox count. Make your script exit if it's 0 messages.</div><div><br></div><div>S</div></body></html>