[Asterisk-Users] Calling Voicemail in an AGI script

Michael Welter mike at introspect.com
Wed Jan 19 19:25:45 MST 2005


Michael Welter wrote:
>  From an AGI script I'm setting two channel variables and then calling 
> Voicemail on several mailboxes.  I know the channel variables are set 
> correctly because I can "GET VARIABLE" from within the script.
> 
> In voicemail.conf (in mailsubject and emailbody) I reference the channel 
> variables, but the values do not appear in the email.
> 
> Does the Voicemail system have access to my channel variables?  It 
> certainly can access variables like VM_MSGNUM, VM_MAILBOX, etc.
> 
> Can anyone point me in the proper direction?
> 
> Thanks,
> Mike
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
Never mind.  I modified voicemail.c to take two parameters and provide 
two variables (VM_ARG1 and VM_ARG2) which are used in email generation.

If anyone else is interested in this then I'll try to get it into CVS.

Mike



More information about the asterisk-users mailing list