VoiceGuide IVR Software Main Page
Jump to content

First Try Of Vm Forwarding - Confused Or Bug?

Recommended Posts

Most of my life is confusing so it's probably not a bug!

 

Hello,

 

I'm really having trouble forwarding a voicemail. I just want to forward the message, not all the vmLogin stuff. ("You have 1 new message, & 0 saved messages . . .)

 

Purpose:

 

I am going on vacation soon so I really need this to work. I need incoming callers to leave a voice message as usual.

I then need VoiceGuide to dial, AM Detect, wait for tone, then play the recorded .wav file on another automated system.

 

Problem:

 

While internally testing on my own 2 line analog system. (Dialogic D4/PCIU4S)

 

1. I call in to VoiceGuide.

2. I leave a message in the vmb which has forwarding set up.

3. I hangup when done.

 

then

 

4. VoiceGuide grabs an open line & dials the required phone number.

5. VoiceGuide detects an answering machine & waits to the end of the greeting (seems to work great by the way)

6. Instead of playing the .wav file, it plays as if a human answered and goes into a vmLogin routine "You have 1 new voicemail . . ."

 

I looked at the vg.ini settings:

 

VmScript_LeaveMsg_Script=VmLm.vgs
VmScript_LeaveMsg_Module=VmLmStart
VmScript_SelectVmb_Script=VmLm.vgs
VmScript_SelectVmb_Module=VmMenuStart
VmScript_LoginVmb_Script=VmLogin.vgs
VmScript_LoginVmb_Module=VmLoginStart
VmScript_VmDeliver_Script=vmMsgDeliver.vgs
VmScript_VmDeliver_Module=VmDelivStart
;if VmScript_VmDeliverAM_Script is set to VmMsgOnly
;then outgoing queued call will have just the Vm msg filename 
;specified in the 'answering machine answers' field.
;Otherwise the script/module indicated will be used.
VmScript_VmDeliverAM_Script=VmMsgOnly
VmScript_VmDeliverAM_Module=
;VmScript_VmDeliverAM_Script=vmMsgDeliver.vgs
;VmScript_VmDeliverAM_Module=VmDelivAMStart

 

I've tried both:

VmScript_VmDeliverAM_Script=VmMsgOnly

VmScript_VmDeliverAM_Module=

;VmScript_VmDeliverAM_Script=vmMsgDeliver.vgs

;VmScript_VmDeliverAM_Module=VmDelivAMStart

 

and

;VmScript_VmDeliverAM_Script=VmMsgOnly

;VmScript_VmDeliverAM_Module=

VmScript_VmDeliverAM_Script=vmMsgDeliver.vgs

VmScript_VmDeliverAM_Module=VmDelivAMStart

 

Do I not understand the instructions properly?

Do I have to modify the vmMsgDeliver.vgs?

 

I fiddled with the vmMsgDeliver.vgs stripping everything out except the

[VmDelivAMStart] & [HangupAfterAmDelivery] but got an invalid wave file. That made sense since the sound file to play:

$RV[PathDataVm]VmSave\$RV[VmFileToPlay] was no longer defined, I guess.

 

So I changed the "sound file to play" to:

$RV[PathDataVm]VmSave\$RV[VmLmRecFilename] (just shootin' in the dark here)

and a 2 second silent .wav file was recorded.

 

So I put back the original vmMsgDeliver.vgs and set the starting module as [VmDelivAMStart]. That didn't work either.

 

What the heck am I missing?

 

Thanks for the help (as always). I'll attach the logs & my vg.ini if that helps.

 

Regards,

 

Chris

LogsINI.zip

Share this post


Link to post
. . . .

. . . . I'll attach the logs & my vg.ini if that helps.

. . . .

 

Following up,

 

'Course I can't get this out of my head. I'm home now, (10:06PM my time) but still wondering. I see this in the *vgm.log

 

165228.83   1 rvns  add [OutDial_Result]{Contacted_AM}
165228.83   1       set LineState().hCall = 616515 in StartPlayingAnsweringMachineMessage
165228.83   1 state AM - wait for end of welcome message...
165228.83   1 dial  awaiting end of answering machine message (lvl:10 for 20)
165228.83   1 ERROR 6.0.3335 in CheckForAnyPlayActionsAndSetkeysIfNecessary Module ScriptRunsLib on line=60, err=9:Subscript out of range
165228.83   1       RecStart [C:\Program Files\VoiceGuide\temp\RecAm_1.wav] ok, RecStartTime=60748.83
165228.84   1 timer set 120  EV_TIMEOUT_HANGUP
165228.84   1 tw    DialogicEvent 134,TDX_CST,65535,0,0,DE_LCON,,
165228.84   1 event TDX_CST, iCode=134 state=1152
165228.84   1       LsDialoutRecAnswerMachineWelcMsg EV_UNKNOWN_134
165251.17   2 tw    PlayEnd 2 615640

 

Maybe a problem, maybe not. Or maybe still because of the unusually long filenames I create. RecAm_1.wav usually seemed to be the greeting message of the remote AM.

 

Regards,

 

C

Share this post


Link to post
4. VoiceGuide grabs an open line & dials the required phone number.

5. VoiceGuide detects an answering machine & waits to the end of the greeting (seems to work great by the way)

6. Instead of playing the .wav file, it plays as if a human answered and goes into a vmLogin routine "You have 1 new voicemail . . ."

Yes, that's how the default vmMsgDeliver.vgs sript works. By default VoiceGuide will use the same script/module when call is reported as being answered by the Answering Machine as there are sometimes false answering machine detections when call is answered.

 

To force the VoiceGuide to play just the sound file you will need to change the vmMsgDeliver.vgs module [VmDelivAMStart] to play just:

 

$RV[VmFileToPlay]

 

(yes, the path expression in that module preceeding $RV[VmFileToPlay] should not be there, $RV[VmFileToPlay] contains the path (have a look in the vgm trace for the VmFileToPlay RV))

 

Then add this to VG.INI in [Voicemail] section:

 

VmForwardTel_AM=C:\Program Files\VoiceGuide\System\vm\vmMsgDeliver.vgs|VmDelivAMStart

 

(yes, the VG.INI VmScript_VmDeliverAM_Script, VmScript_VmDeliverAM_Module are obsolote...)

 

You can restrict the custom Answering Machine behaviour to one voicemail box.

 

Eg. To only have the special delivery work for Voicemil box 0004 place this line in [Voicemail] section:

 

VmForwardTel_AM_VMB0004=C:\Program Files\VoiceGuide\System\vm\vmMsgDeliver.vgs|VmDelivAMStart

Share this post


Link to post
To force the VoiceGuide to play just the sound file you will need to change the vmMsgDeliver.vgs module [VmDelivAMStart] to play just:

 

$RV[VmFileToPlay]

 

OK. Did that. Also deleted the whole module [VmDelivStart] and pointed the script to start at [VmDelivAMStart].

 

Then add this to VG.INI in [Voicemail] section:

 

VmForwardTel_AM=C:\Program Files\VoiceGuide\System\vm\vmMsgDeliver.vgs|VmDelivAMStart

 

(yes, the VG.INI VmScript_VmDeliverAM_Script, VmScript_VmDeliverAM_Module are obsolote...)

 

Ok. Added the line to the [Voicemail] section of VG.INI. Thanks for the additional tip (AM_VMB0004)

 

If those lines VmScript_* are obsolete, does that mean that whole section of:

 

VmScript_LeaveMsg_Script=VmLm.vgs

VmScript_LeaveMsg_Module=VmLmStart

VmScript_SelectVmb_Script=VmLm.vgs

VmScript_SelectVmb_Module=VmMenuStart

VmScript_LoginVmb_Script=VmLogin.vgs

VmScript_LoginVmb_Module=VmLoginStart

VmScript_VmDeliver_Script=vmMsgDeliver.vgs

VmScript_VmDeliver_Module=VmDelivStart

 

. . . are obsolete too? I'm asking this because in the future, I might think changing some of these values would make the program behave differently.

 

(yes, the path expression in that module preceeding $RV[VmFileToPlay] should not be there, $RV[VmFileToPlay] contains the path (have a look in the vgm trace for the VmFileToPlay RV))

 

Yes, I can now see this in the trace. That single variable is the complete path to the .wav file.

 

In this current design application, there will ALWAYS be an AM on the forwarding number. I have all the settings you suggested changed remotely (since I'm not yet at the office).

 

I think I'll try to test this now from my home. (Just have to turn some telephone ringers off in my home, don't want to wake the babies) :)

 

Oh, and the "ERROR 6.0.3335 . . .

 

Thanks

 

Chris

Share this post


Link to post

It worked perfectly following your instructions.

 

tada.wav (jump for joy - don't know appropriate emoticon)

 

VoiceGuide Support is great!

 

Thank you again,

 

Chris

Share this post


Link to post
VoiceGuide Support is great

Thanks :)

 

If those lines VmScript_* are obsolete, does that mean that whole section of:

 

VmScript_LeaveMsg_Script=VmLm.vgs

VmScript_LeaveMsg_Module=VmLmStart

VmScript_SelectVmb_Script=VmLm.vgs

VmScript_SelectVmb_Module=VmMenuStart

VmScript_LoginVmb_Script=VmLogin.vgs

VmScript_LoginVmb_Module=VmLoginStart

VmScript_VmDeliver_Script=vmMsgDeliver.vgs

VmScript_VmDeliver_Module=VmDelivStart

 

. . . are obsolete too?

No. Just the two entries indicated are obsolete and replaced by the new entries.

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
×