Honestly, I don't understand why "externnotify" should run when someone checks their voicemail... the change i made, makes sense so maybe that should be contributed to the asterisk source.<br><br><div class="gmail_quote">
On Tue, Apr 12, 2011 at 4:26 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;">
<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Tue, 12 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 ended up modify app_voicemail.c to not run "externnotify" when someone checks their voicemail, it now only runs when a new message is left... then externnotify will send out the emails and other notifications...<br>
</blockquote></blockquote>
<br></div><div class="im">
On Tue, 12 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">
I would suggest that enhancing mailcmd to include relevant channel variables (like VM_*) in the child environment or on the command line would be more useful than changing the behavior of externnotify.<br>
</blockquote>
<br></div>
The 'difference' between enhancing mailcmd and changing externotify is that the enhancement can be contributed and accepted into the source so everybody can use it and the Asterisk developers will maintain it for you while your change will always be yours alone to remember to re-apply and update with each revision of Asterisk.<div>
<div></div><div class="h5"><br>
<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><br>
<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>
</div></div></blockquote></div><br>