VoiceGuide IVR Software Main Page
Jump to content

Display Mailbox Name In Email

Recommended Posts

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

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×