0xception
2007-Aug-21 01:25 UTC
[asterisk-users] Passing Variables to Voicemail's Email Notification
Is there a way, other then recoding the entire voicemail application, to pass dialplan variables to the voicemail application and to the email notifications of new voicemail. For example in our small tech support queue i would like to pass the ticket number with the email notification that a new support voicemail was left. I've tried simply replacing the ${VM_WHATEVER} w/ the actual variable name inside the voicemail.conf file, I've also tried setting the VM variables directly before the voicemail application call in the dial plan... both of these fail. Anyone else know of another way? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070820/3cdc716f/attachment.htm
C F
2007-Aug-21 01:49 UTC
[asterisk-users] Passing Variables to Voicemail's Email Notification
While I don't have an answer on how to access channel variables from voicemail.conf, for the problem you mention this should help. Change CALLERID(name) to your ticket number and then use VM_CIDNAME in the subject line. If you don't want to lose the original CIDNAME then just add your ticket number like this: Set(CALLERID(name)=${CALLERID(name)} TICKETNUMBER:12345) On 8/20/07, 0xception <0xception at gmail.com> wrote:> Is there a way, other then recoding the entire voicemail application, to > pass dialplan variables to the voicemail application and to the email > notifications of new voicemail. > > For example in our small tech support queue i would like to pass the ticket > number with the email notification that a new support voicemail was left. > I've tried simply replacing the ${VM_WHATEVER} w/ the actual variable name > inside the voicemail.conf file, I've also tried setting the VM variables > directly before the voicemail application call in the dial plan... both of > these fail. > > Anyone else know of another way? > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users >