[asterisk-users] send voicemail to multiple emails

M Hulber asterisk.admin at hulber.com
Wed Apr 13 05:32:26 CDT 2011


Instead of picking from multiple scripts, send the action to the script 
in a variable like the dial status

On 4/12/11 4:58 PM, Warren Selby wrote:
> Sorry for the top post, on my phone...
>
> It makes sense for someone who has written a custom visual voicemail 
> application to be able know when the vm has been checked...and that's 
> just one example off the top of my head.
>
> What I think would really be nice is that instead of removing features 
> from externnotify, it could be enhanced in a way that you can tell it 
> to run one script on a new vm, and a different one on a checked vm, 
> and yet another one on a deleted vm, etc. Obviously all of the bases 
> would have to be covered (move vm, listen to vm but not delete, skip 
> vm, new vm, transferred vm, etc).
>
> If I had the programming chops, I would take a crack at it myself.
>
> Thanks,
> --Warren Selby, dCAP
>
> On Apr 12, 2011, at 3:28 PM, vip killa <vipkilla at gmail.com 
> <mailto:vipkilla at gmail.com>> wrote:
>
>> 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.
>>
>> On Tue, Apr 12, 2011 at 4:26 PM, Steve Edwards <asterisk.org 
>> <http://asterisk.org>@sedwards.com <http://sedwards.com>> wrote:
>>
>>         On Tue, 12 Apr 2011, vip killa wrote:
>>
>>             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...
>>
>>
>>     On Tue, 12 Apr 2011, Steve Edwards wrote:
>>
>>         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.
>>
>>
>>     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.
>>
>>
>>     -- 
>>     Thanks in advance,
>>     -------------------------------------------------------------------------
>>     Steve Edwards sedwards at sedwards.com
>>     <mailto:sedwards at sedwards.com>      Voice: +1-760-468-3867
>>     <tel:%2B1-760-468-3867> PST
>>     Newline                                              Fax:
>>     +1-760-731-3000 <tel:%2B1-760-731-3000>
>>
>>     --
>>     _____________________________________________________________________
>>     -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>     New to Asterisk? Join us for a live introductory webinar every Thurs:
>>     http://www.asterisk.org/hello
>>
>>     asterisk-users mailing list
>>     To UNSUBSCRIBE or update options visit:
>>     http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>> http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                 http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110413/578510d1/attachment.htm>


More information about the asterisk-users mailing list