If you change ${ocem} to ${ocem}@default, this will probably work as you
want it to.

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Kelly opal
Sent: Tuesday, September 13, 2011 4:36 PM
To: [email protected]
Subject: [asterisk-users] Voicemail config

 

Hi

    Is there a way to use variables in voicemail.conf.

I want to have an oncall tech system. The tech oncall has his number and
email set in astdb. When a tech call comes in the dial plan checks astdb and
sets 2 variable ${oc} for the number and ${ocem} for the email. I can easily
dial the number using the variable, but if the call should go to voicemail I
am not getting the email. Below is my voicemail.conf entry for the mailbox.
I can hard code my email and it works so I know there is nothing wrong on
the system.

 

121 => 121,Tech Support,${ocem},[email protected]

 

Any help would be greatly appreciated.

 

Kelly

--
_____________________________________________________________________
-- 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

Reply via email to