<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt">I would not use voicemail for this.<br />
I would do the following.<br />
<br />
Have the call come in. <br />
Ring the on call tech with a dial.<br />
If they don't pickup and press an accept key then.<br />
Answer the call.<br />
Record a message from the caller.<br />
Use a script to e-mail the message to the tech. <br />
(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. ) <br />
<br />
This is just one possible way to address this. problem I can think of about 10 others depending on the actual requirements.<br />
<br />
<div id="divSignature">Thanks<br />
<br />
Bryant Zimmerman (ZK Tech Inc.)<br />
616-855-1030 Ext. 2003</div>
<br />
<br />
<span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;"><hr width="100%" size="2" align="center" />
<b>From</b>: "Kelly opal" <kelly@ncwcom.com><br />
<b>Sent</b>: Tuesday, September 13, 2011 5:35 PM<br />
<b>To</b>: asterisk-users@lists.digium.com<br />
<b>Subject</b>: [asterisk-users] Voicemail config</span><br />
<br />
<div dir="ltr">
<div style="font-family: 'calibri'; color: #000000; font-size: 12pt;">
<div>Hi</div>
<div> Is there a way to use variables in voicemail.conf.</div>
<div>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.</div>
<div> </div>
<div>121 => 121,Tech Support,${ocem},1113334444@vtext.net</div>
<div> </div>
<div>Any help would be greatly appreciated.</div>
<div> </div>
<div>Kelly</div>
</div>
</div>
<br /></span>