[asterisk-users] voicemail call back loop

vip killa vipkilla at gmail.com
Wed Apr 6 14:40:12 CDT 2011


does mailcmd send any variables or data to script? I need a way for script
to identify which mailbox was left a message.

On Wed, Apr 6, 2011 at 3:11 PM, Steve Edwards <asterisk.org at sedwards.com>wrote:

> On Tue, 5 Apr 2011, Steve Edwards wrote:
>
>  Use 'mailcmd' in voicemail.conf.
>>
>
> On Wed, 6 Apr 2011, vip killa wrote:
>
>  I have "externnotify = /var/lib/asterisk/agi-bin/vm_notify.pl" so that
>> when someone is left a voicemail it will call the
>> person'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?
>>
>
> Mailcmd?
>
> Also, storing programs that aren't AGIs in the AGI directory doesn't sound
> like a 'best practice' candidate to me.
>
> --
> Thanks in advance,
> -------------------------------------------------------------------------
> Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
> Newline                                              Fax: +1-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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110406/3c29d76e/attachment.htm>


More information about the asterisk-users mailing list