does mailcmd send any variables or data to script? I need a way for script to identify which mailbox was left a message.<br><br><div class="gmail_quote">On Wed, Apr 6, 2011 at 3:11 PM, Steve Edwards <span dir="ltr"><<a href="http://asterisk.org">asterisk.org</a>@<a href="http://sedwards.com">sedwards.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On Tue, 5 Apr 2011, Steve Edwards wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Use 'mailcmd' in voicemail.conf.<br>
</blockquote><div><div></div><div class="h5">
<br>
On Wed, 6 Apr 2011, vip killa wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have "externnotify = /var/lib/asterisk/agi-bin/<a href="http://vm_notify.pl" target="_blank">vm_notify.pl</a>" so that when someone is left a voicemail it will call the<br>
person's mobile phone and prompt them with the new message. The perl script simply originates a call to a persons mobile<br>
phone and connects it to their voicemail using VoiceMailMain. Problem is when user hangs up from checking their messages,<br>
it runs the externnotify again causing an infinite loop. Has anybody encountered this problem or is there an option to<br>
not have it run externnotify after checking messages?<br>
</blockquote>
<br></div></div>
Mailcmd?<br>
<br>
Also, storing programs that aren't AGIs in the AGI directory doesn't sound like a 'best practice' candidate to me.<br><font color="#888888">
<br>
-- <br>
Thanks in advance,<br>
-------------------------------------------------------------------------<br>
Steve Edwards <a href="mailto:sedwards@sedwards.com" target="_blank">sedwards@sedwards.com</a> Voice: <a href="tel:%2B1-760-468-3867" value="+17604683867" target="_blank">+1-760-468-3867</a> PST<br>
Newline Fax: <a href="tel:%2B1-760-731-3000" value="+17607313000" target="_blank">+1-760-731-3000</a></font><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>