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},1113334444 at vtext.net Any help would be greatly appreciated. Kelly -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110913/f8319841/attachment.htm>
If you change ${ocem} to ${ocem}@default, this will probably work as you want it to. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Kelly opal Sent: Tuesday, September 13, 2011 4:36 PM To: asterisk-users at lists.digium.com 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},1113334444 at vtext.net Any help would be greatly appreciated. Kelly -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110913/077a7ff5/attachment.htm>
I would not use voicemail for this. I would do the following. Have the call come in. Ring the on call tech with a dial. If they don't pickup and press an accept key then. Answer the call. Record a message from the caller. Use a script to e-mail the message to the tech. (I would recommend you use some kind of ticketing system to e-mail to that way you could have a progression if the on call tech does not respond in a timely manner. ) This is just one possible way to address this. problem I can think of about 10 others depending on the actual requirements. Thanks Bryant Zimmerman (ZK Tech Inc.) 616-855-1030 Ext. 2003 ---------------------------------------- From: "Kelly opal" <kelly at ncwcom.com> Sent: Tuesday, September 13, 2011 5:35 PM To: asterisk-users at lists.digium.com 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},1113334444 at vtext.net Any help would be greatly appreciated. Kelly -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110913/d797420a/attachment.htm>