John Van Hengel Report post Posted 04/28/2004 08:01 PM I get emailed copies of voicemail from serveral departmental mailboxes. In the email it says from mailbox 14 or 23 etc. Rather than have to memorize a list of mailboxes I tried to modify the email template to use the mailbox name. However this variable does not seem to exist. Can this be done? Share this post Link to post
SupportTeam Report post Posted 04/28/2004 10:23 PM It is easy to modify the Voicemail script to make a Result Variable containing the mailbox's Name available. see in VoiceGuide's \system\vm\ directory: script: vmLm.vgs module: VmLmRecInit The following changes were made in that module: sVmb_Name = vg.Vm_VmbConfig_Get(sVmbId, "Name") sNewRv = "[VmLmRecFilename]{" & sFname & "}[MsgLenMax]{" & sMsgLenMax & "}[Vmb_Name]{" & sVmb_Name & "}" see how Vm_VmbConfig_Get is used to retrieve the information and then the value is added to the list of Result Variables which will be returned to VG... $RV[Vmb_Name] will now contain the Mailbox's name. Fully modified script attached below (based on script shipped with v5.2.1). Note that you will need the Enterprise version of VG to use a modified voicemail script. vmLm.vgs Share this post Link to post
JVANHENGEL Report post Posted 05/07/2004 03:34 PM I am a little unclear. Are you saying that you have moded the system so you can now use $RV[Vmb_Name] in the VMemailforwardbody.txt file or do you have to mode the script and for that I have to buy a more expensive product? Share this post Link to post
SupportTeam Report post Posted 05/08/2004 07:15 AM The voicemail script was modified. To use this script you just place the previously attached script in VoiceGuide's \system\vm\ directory, overwriting the existing file. The modification described in above module is just another example of how VoiceGuide's voicemail scripts can be extended to suit individual needs. You will need the Enterprise version of VG to use this modification as only the Enterprise version supports scriptable voicemail. (The Pro version's voicemail cannot be changed). Share this post Link to post