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
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@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
Possibly Parallel Threads
- SV: Re: SV: Re: SV: Re: Fromstring when sending e-mailonrecievedvoicemail
- VoiceMail fromstring?
- Asterisk-MySQL: Not loading voicemail config from MySQL
- Voicemail notification by email is missing CallerID info
- SV: Re: SV: Re: Fromstring when sending e-mail onrecievedvoicemail