VoiceGuide IVR Software Main Page
Jump to content

Voicemail Manager

Recommended Posts

Where can I change the script for the Voicemail manager ? I would like Voicemail manager to send me an email once a voicemail message is recorded, however do not want the message attached. I just want CID, Box # & Time. Thanks.

Share this post


Link to post

Can you kindly share with me what file would I need to edit? I am going to give it a try, if I run into difficulties I will post again.

Share this post


Link to post

vmlm.vgs and possibly the file script which is the 'OnHangup' script of vmlm.vgs.

Share this post


Link to post

The simplest thing to do would be to have a return path from your voice mail call.

 

When you return you could have it return to an e-mail module. There maybe some problems with this.

 

You might have a person that leaves several messages in different mailboxes before leaving the voice mail system. That may cause an error when trying to use the Result Variables in you e-mail module.

 

The standard "unmodified" voice mail scripts will not return to your selected script/module if the call times out during the recording process. The assumption was that the caller had hungup so why return it back to the script/module. You could easily modify this to return even on a timeout.

 

Lets us know what you decide to do and how you did it.

Share this post


Link to post

Harry,

 

Thanks for sharing this info. I tried having return to email module, however when someone is done leaving a message, they hang up, thus VG hangs up as well, and does not go to the email module. You said this could be easily changed, how you do so? Thanks.

Share this post


Link to post

I'm a beginner so please backup everything you have before doing what I suggest.

 

Open the vmLm.vgs script in the Design Window. You will find this script in the VoiceGuide\system\vm directory.

 

Look for the vmLmRec module. Click on properties then select the paths tab. Scroll down until you see the "on silence" path. Change that to "on {silence} return".

 

This will send you back to the calling script/module when silence is detected instead of sending you to the "hangup" module.

 

I'm not positive this will work when the caller hangs up but I think it will. Give it a try and let me know.

 

You might want to also post the trace of the call so we can see what really happened to the call.

 

Thinking out loud............. If you tried to modify the the Voice Mail Scripts to send the e-mail you would have to make the change in at least 2 different places.

 

I think you would have to intercept the above mentioned "on Silence" path and direct it to an e-mail module and you would also have to modify the vmLmMenu vbScript module to be directed to the e-mail module.

 

There maybe other instantences when the first method will not work. I'm just not familar enough with the system to say for sure.

 

To be completely sure you would have to follow every possible path in the vmLm script to see where it would take you. You might find that it is possible to leave multiple messages once in the voice mail system and that you might prefer to be notified about each individually. If so I think you are back to modifying the Voice Mail System scripts.

 

I've looked closer at the vmLm script and I can't see how a message that is recorded for a voice mail box gets forwarded if silence is detected on the call. When I get a chance I will test my system. I guess what I'm saying is that with the unmodified vm scripts a person that leaves a message and ends the call by hanging up or letting the script time out may not generate a "Notification" or "Forward" event.

 

I did some testing.....It looks like anytime that the phone is hung up during the process of leaving a message for a voice mail box that the program moves to the VmLmHangup.vgs script. How it does this I'm not sure. It could be something internal to VG or I maybe just overlooking the call for this module. Problem is that the program will not return back to your e-mail script/module. At least not on a hangup. On silence you should be fine.

 

I guess next step would be to modify the VmLmHangup.vgs script. The easiest thing I can think of to do would be to set the paths in the VmLmHangup_ForwardLastMsg module. You could set them to "return" which should take you back to your e-mail module.

 

To sum it up I think you need to modify the vmLmRec module with the "on silence return" and then modify the VmLmHangup_ForwardLastMsg module by setting the paths to return. You may need to set all three paths to return.

 

Be sure to backup everything before trying any modifications.

 

 

How does VmLmHangup.vgs get called from the vmLm.vgs script?

Share this post


Link to post
How does VmLmHangup.vgs get called from the vmLm.vgs script?

VmLmHangup.vgs would most likely be the "On Hangup" script of vmLm.vgs.

Share this post


Link to post

You are correct.

 

Sorry I didn't find that myself.

 

I guess a nice feature for future versions might be two different e-mail sections in the mailbox setup.

 

One for e-mails with attachments and one without.

 

I guess back to our problem....

 

As I see it We've got 2 main paths to capture.

 

1. "On Silence" path we have already addressed by changing the path to "return".

 

2. VmLmMenu paths. This VB script contains many different options that may need to be traced down.

 

What we really need is a new method. We need VG.EmailSender_EmailQueAdd.

 

That's really what we need. Are there any plans to add this feature? We already have VG.Dialer_OutDialQueAdd. Maybe we already have it and it's just not documented. I can hope can't I?

 

If we had this we would simply add it to the subroutine "ProcessRecordedVmMsg".

 

Looks to me like if we had this we could add it in 2 places. One in VmLmMenu and one in VmLmHangup_ForwardLastMsg then we could change the "on silence" path back to VmLmHangup. And we could forget about using the e-mail module in your script.

 

Since we don't have that ability I guess we need to look at an alternative.

 

I don't really have much time to think about it but we might be able to simply add an e-mail module after VmLmHangup_ForwardLastMsg and VmLmMenu.

 

What do you think about that idea? Will that work?

Share this post


Link to post
We need VG.EmailSender_EmailQueAdd.

...

Are there any plans to add this feature?

You can send an email to saels@voiceguide.com asking for a quote on how much it would cost to add this to the software.

 

Adding an additional email module may work... you would need to test it out to see if it behaves to meet your requirements.

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
×