[asterisk-users] Passing Variables to Voicemail's Email Notification

Steve Totaro stotaro at first-notification.com
Tue Aug 21 04:52:19 CDT 2007


You could do more of a hack and find where in the code that the callerID 
name and number are found in the voicemail code and use the seldom used 
RDNIS variable.

C F's solution is clean and will work across upgrades but I would 
probably do the above.

Thanks,
Steve

C F wrote:
> 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
>>
>>     
>
> _______________________________________________
> --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
>
>
>   




More information about the asterisk-users mailing list