VoiceGuide IVR Software Main Page
Jump to content

"return" To Script From Voicemail

Recommended Posts

My script gives the caller the option to leave a voicemail. After the caller is done recording their message and are silent, voiceguide is hanging up the call. I would like to do a little nicer orderly "hangup" by playing a sound file first then hanging up the call. I used the return statement as seen below

 

on {1} goto [Play HouseMessage]

on {2} goto [VoiceMail Box $RV[Get HouseCodeNumber]] return [Goodbye]

on {timeout 0} goto [Goodbye]

 

 

Here is part of what I see in the log file

 

6145748.64 6 rv replace end: [on {1} goto [Play HouseMessage]

on {2} goto [VoiceMail Box 9999] return [Goodbye]

on {3} goto [Play HouseMessage]

]

145748.64 6 FindVoicemailSysEntryPoint(VoiceMail Box 9999, return [G...,,)

145748.64 6 PutStuffOnReturnCallStack(Voicemail,Voicemail Box,,Goodbye)

145748.64 6 stack idx=1

 

 

Any help would be appreciated.

Share this post


Link to post

Which version of VoiceGuide are you using?

 

You may need to modify the Voicemail scripts, changing the path in module [VmLmRec] from:

on {silence} goto [VmLmHangup]

 

to:

 

on {silence} return

Share this post


Link to post

Which version of VoiceGuide are you using?

 

You may need to modify the Voicemail scripts, changing the path in module [VmLmRec] from:

on {silence} goto [VmLmHangup]

 

to:

 

on {silence} return

 

 

Using version 5 with a way2call Hi-Phone

 

Made the change that you suggested and it worked....but it caused another issue. Had vm set so that if a message was left, it would automatically call that person to let them know a message was left for them. If I make the change requested, the VM won't call me back. If I change it back so that on silence goto VmLmHangup, it will call me back and let me know a message was left. Tried it multiple times both ways with the same result each time.

Share this post


Link to post

If you want the messages forwarded as well then you should copy the module [VmLmHangup_ForwardLastMsg] from vmLmHangup.vgs, (call it say [VmLmHangup_ForwardLastMsg_LocalCopy]) and change the paths like this:

 

on {silence} goto [VmLmHangup_ForwardLastMsg_LocalCopy]

 

and in the [VmLmHangup_ForwardLastMsg_LocalCopy] modules then have path.

 

on {success} return

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
×