VoiceGuide IVR Software Main Page
Jump to content

Setting Up Voicemail

Recommended Posts

Hi ,

 

I have done the following to set up the voicemail system and it doesnt appear to be working.

1. Opened voicemail manager and setup voicemail box 0001. I simply entered a pin number and a name (I cant record files as the server is at a remote location and assumed you would be able to do that by dialling in) I also entered the details of the smtp server so it emails all messages.

 

2. Change our main inbound dialling script so that when you push 6 the path is [Voicemail box menu]

 

3. when dialling into the system and pushing 6 i am prompted to enter a mailbox number, i enter 0001 it then says please record your message and then hangs up.

 

What Am I doing wrong, I want to dial into the voicemail system to record a greeting for the mailbox 0001 and then want to use that same voicemail box throughout our other scripts

 

Trace is pasted below

 

151826.14 2 event callstate OFFERING 2 2,0,0

151826.14 2 script interpretor: VgMulti v6.0.2322

151826.14 2 fired OFFERING event to listeners

151826.14 2 set LineState().hCall = 2 in LINECALLSTATE_OFFERING

151826.14 2 cid CallerID vars set (in 'offering' event) [,,]

151826.14 2 call AnswerTheCallIfAllowed from LINECALLSTATE_OFFERING

151826.14 2 rings=0, min rings before answer=2 (iCallerIdHasArrived=0)

151826.14 2 tw ring 1

151826.14 2 ring time since last ring event (sec): 0.00

151826.14 2 rings=1, min rings before answer=2 (iCallerIdHasArrived=0)

151826.14 2 tw DialogicEvent 134,TDX_CST,0,0,0,DE_RINGS,ET_RON,

151826.14 2 event ScriptEventCode TDX_CST, code=134, state=900

151826.14 2 LsAwaitingCalls EV_UNKNOWN_134

151828.89 2 tw lev_CallerID [0293318320,,], strWorkingModeScript=[]

151828.89 2 cid LastCidMessage values [0293318320,,]

151828.89 2 cid CallerID vars set (in levCallerId)

151828.89 2 rings=1, min rings before answer=2 (iCallerIdHasArrived=1)

151828.89 2 tw ring 2

151828.91 2 ring time since last ring event (sec): 2.77

151828.91 2 rings=2, min rings before answer=2 (iCallerIdHasArrived=1)

151828.91 2 answer as number of rings reached

151828.91 2 rv clear all

151828.91 2 init LineState ResetAtStartOfNewCall.

151828.91 2 answer the call

151828.91 2 timer clear

151828.91 2 tw DialogicEvent 134,TDX_CST,0,0,0,DE_RINGS,ET_RON,

151828.91 2 event ScriptEventCode TDX_CST, code=134, state=6001

151829.52 2 tw DialogicEvent 135,TDX_SETHOOK,0,0,0,DX_OFFHOOK,CALL_INBOUND,

151829.52 2 event ScriptEventCode TDX_SETHOOK, code=135, state=6001

151829.52 2 event callstate CONNECTED 2 256,0,0

151829.52 2 LineEvCallState_Connected hDevice=2 params=256,0,0

151829.52 2 WorkingModes tapi= script= LineState().iState=6001

151829.52 2 Inband detection not enabled

151829.53 2 StartLoadedVgs at 29/11/2005 3:18:29 PM [VgMulti v6.0.2322]

151829.53 2 set LineState().iVgsIdx=1

151829.53 2 set sScriptToRunOnHangup=[] in StartLoadedVgs

151829.53 2 init StartLoadedVgs_InitLineState start

151829.53 2 rv add [$RV_STARTTIME]{29/11/2005 3:18:29 PM}

151829.53 2 rv add [$RV_DEVICEID]{2}

151829.53 2 rv add [$RV_CIDNAME]{}

151829.53 2 rvns add [PathApp]{C:\Program Files\VoiceGuide\}

151829.53 2 rvns add [scriptsPath]{C:\BookingAngel\}

151829.53 2 rv add [$RV_CIDNUMBER]{0293318320}

151829.53 2 fn RunModule start

151829.53 2 tw DialogicEvent 134,TDX_CST,19873,0,0,DE_LCON,,

151829.53 2 event ScriptEventCode TDX_CST, code=134, state=6001

151829.53 2 timer clear

151829.53 2 Play Module start

151829.53 2 state [intro Message] Playing

151829.55 2 tts generate start[Hi, You have reached the offices of booking angel. To hear a demonstration of the booking angel service press 1, for sales press 2, If you are a restaurant ringing about a booking or cancellation press 3, For all other inquiries press 4]

151829.55 2 tts generate wait

151829.73 2 tts generate finish

151829.73 2 state [intro Message] Playing (C:\Program Files\VoiceGuide\data\tts2.wav)

151829.73 2 tw ConvertWav2Vox C:\Program Files\VoiceGuide\data\tts2.wav

151829.73 2 timer clear

151829.80 2 tw wav->vox convert end 382453,C:\Program Files\VoiceGuide\data\tts2.vox,1,0,,

151829.81 2 play start ok, lPlayId=382515

151833.86 2 tw dtmf 6 (2,54,54)

151833.86 2 event ScriptEventCode 6, code=54, state=1100

151833.86 2 LsPlayMsg 6,6

151833.88 2 play PlaySoundStop ok

151833.88 2 rv add [intro Message]{6}

151833.88 2 fn RunModule start

151833.88 2 tw DialogicEvent 134,TDX_CST,54,0,0,DE_DIGITS,,

151833.88 2 event ScriptEventCode TDX_CST, code=134, state=6001

151833.88 2 tw PlayEnd 2 382515

151833.88 2 play end id=382515, (current ID)

151833.88 2 event ScriptEventCode EV_PLAY_FINISHED, code=8001, state=6001

151833.88 2 tw DialogicEvent 129,TDX_PLAY,382515,0,0,,,

151833.88 2 event ScriptEventCode TDX_PLAY, code=129, state=6001

151833.88 2 timer clear

151833.88 2 RunVmModule called when running Scripted VM

151833.89 2 timer clear

151833.89 2 voicemail used: Scripted

151833.89 2 tr NewVgsVgm_Goto C:\Program Files\VoiceGuide\system\vm\VmLm.vgs,VmMenuStart,,,,0

151833.89 2 rv add [scriptEnd_Time]{29/11/2005 3:18:33 PM}

151833.89 2 rv add [scriptEnd_Goto_Script]{C:\Program Files\VoiceGuide\system\vm\VmLm.vgs}

151833.89 2 rv add [scriptEnd_Goto_Module]{VmMenuStart}

151833.89 2 rv add [scriptStart_Time]{29/11/2005 3:18:33 PM}

151833.89 2 rv add [scriptStart_CalledFrom_Script]{C:\BookingAngel\inbound.vgs}

151833.91 2 rv add [scriptStart_CalledFrom_Module]{Intro Message}

151833.91 2 FindFullPathToScript_VgsOrVgp start [C:\Program Files\VoiceGuide\system\vm\VmLm.vgs]

151833.91 2 FindFullPathToScript_VgsOrVgp 1

151833.91 0 LoadedVgs_Find C:\Program Files\VoiceGuide\system\vm\VmLm.vgs at idx=2

151833.91 2 rvns add [scriptsPath]{C:\Program Files\VoiceGuide\system\vm\}

151833.91 2 tr NewVgsVgm_Goto 1

151833.91 2 tr NewVgsVgm_Goto 2

151833.91 2 fn RunModule start

151833.91 2 timer clear

151833.91 2 state [VmMenuStart] Number Input

151833.91 2 rv replace start: [$RV[PathSysVoice]VmbAccessGetVmbId.wav]

151833.91 2 rvns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[$RV_STARTTIME]{29/11/2005 3:18:29 PM}[$RV_DEVICEID]{2}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[scriptsPath]{C:\BookingAngel\}[$RV_CIDNUMBER]{0293318320}[intro Message]{6}[scriptEnd_Time]{29/11/2005 3:18:33 PM}[scriptEnd_Goto_Script]{C:\Program Files\VoiceGuide\system\vm\VmLm.vgs}[scriptEnd_Goto_Module]{VmMenuStart}[scriptStart_Time]{29/11/2005 3:18:33 PM}[scriptStart_CalledFrom_Script]{C:\BookingAngel\inbound.vgs}[scriptStart_CalledFrom_Module]{Intro Message}[scriptsPath]{C:\Program Files\VoiceGuide\system\vm\}

151833.91 2 rv replace end: [C:\Program Files\VoiceGuide\system\voice\VmbAccessGetVmbId.wav]

151833.91 2 state [VmMenuStart] Playing (C:\Program Files\VoiceGuide\system\voice\VmbAccessGetVmbId.wav)

151833.92 2 tw ConvertWav2Vox C:\Program Files\VoiceGuide\system\voice\VmbAccessGetVmbId.wav

151833.92 2 timer clear

151833.92 2 tr NewVgsVgm_Goto end

151833.92 2 tw wav->vox convert end 386640,C:\Program Files\VoiceGuide\system\voice\VmbAccessGetVmbId.vox,1,0,,

151833.94 2 play start ok, lPlayId=386640

151835.75 2 tw dtmf 0 (2,48,48)

151835.75 2 event ScriptEventCode 0, code=48, state=1300

151835.75 2 LsGetNbrsPlayWelcMsg 0,0

151835.75 2 play PlaySoundStop ok

151835.77 2 state [VmMenuStart] Number Input 0

151835.77 2 path {0} not found

151835.77 2 timer set 6 EV_TIMEOUT_ENTERDATA

151835.77 2 tw DialogicEvent 134,TDX_CST,48,0,0,DE_DIGITS,,

151835.77 2 event ScriptEventCode TDX_CST, code=134, state=1301

151835.77 2 LsGetNbrsRxDigits EV_UNKNOWN_134,TDX_CST

151835.77 2 path {TDX_CST} not found

151835.77 2 tw PlayEnd 2 386640

151835.77 2 play end id=386640, (current ID)

151835.77 2 event ScriptEventCode EV_PLAY_FINISHED, code=8001, state=1301

151835.77 2 LsGetNbrsRxDigits EV_PLAY_FINISHED,EV_PLAY_FINISHED

151835.77 2 path {EV_PLAY_FINISHED} not found

151835.77 2 tw DialogicEvent 129,TDX_PLAY,386640,0,0,,,

151835.78 2 event ScriptEventCode TDX_PLAY, code=129, state=1301

151835.78 2 LsGetNbrsRxDigits EV_UNKNOWN_129,TDX_PLAY

151835.78 2 path {TDX_PLAY} not found

151835.94 2 tw dtmf 0 (2,48,48)

151835.94 2 event ScriptEventCode 0, code=48, state=1301

151835.94 2 LsGetNbrsRxDigits 0,0

151835.94 2 state [VmMenuStart] Number Input 00

151835.94 2 path {00} not found

151835.94 2 timer set 6 EV_TIMEOUT_ENTERDATA

151835.94 2 tw DialogicEvent 134,TDX_CST,48,0,0,DE_DIGITS,,

151835.94 2 event ScriptEventCode TDX_CST, code=134, state=1301

151835.94 2 LsGetNbrsRxDigits EV_UNKNOWN_134,TDX_CST

151835.94 2 path {TDX_CST} not found

151836.23 2 tw dtmf 0 (2,48,48)

151836.23 2 event ScriptEventCode 0, code=48, state=1301

151836.23 2 LsGetNbrsRxDigits 0,0

151836.23 2 state [VmMenuStart] Number Input 000

151836.23 2 path {000} not found

151836.23 2 timer set 6 EV_TIMEOUT_ENTERDATA

151836.23 2 tw DialogicEvent 134,TDX_CST,48,0,0,DE_DIGITS,,

151836.23 2 event ScriptEventCode TDX_CST, code=134, state=1301

151836.25 2 LsGetNbrsRxDigits EV_UNKNOWN_134,TDX_CST

151836.25 2 path {TDX_CST} not found

151836.78 2 tw dtmf 1 (2,49,49)

151836.78 2 event ScriptEventCode 1, code=49, state=1301

151836.78 2 LsGetNbrsRxDigits 1,1

151836.80 2 state [VmMenuStart] Number Input 0001

151836.80 2 path {0001} not found

151836.80 2 timer set 6 EV_TIMEOUT_ENTERDATA

151836.80 2 tw DialogicEvent 134,TDX_CST,49,0,0,DE_DIGITS,,

151836.80 2 event ScriptEventCode TDX_CST, code=134, state=1301

151836.80 2 LsGetNbrsRxDigits EV_UNKNOWN_134,TDX_CST

151836.80 2 path {TDX_CST} not found

151837.38 2 tw dtmf # (2,35,35)

151837.38 2 event ScriptEventCode #, code=35, state=1301

151837.38 2 LsGetNbrsRxDigits #,#

151837.38 2 timer clear

151837.38 2 rv add [VmMenuStart]{0001}

151837.38 2 path {0001} not found

151837.38 2 rvns add [VmMenuStart_PathTaken]{success}

151837.38 2 fn RunModule start

151837.38 2 tw DialogicEvent 134,TDX_CST,35,0,0,DE_DIGITS,,

151837.39 2 event ScriptEventCode TDX_CST, code=134, state=6001

151837.39 2 timer clear

151837.39 2 state [VmMenuCheckEnteredVmb] Running vb script:[VmLmHangup.vgs]

151842.64 2 FindFullPathToScript_VgsOrVgp start [C:\Program Files\VoiceGuide\system\vm\VmLmHangup.vgs]

151842.64 2 FindFullPathToScript_VgsOrVgp 1

151842.64 0 LoadedVgs_Find C:\Program Files\VoiceGuide\system\vm\VmLmHangup.vgs at idx=3

151842.64 2 fn RunModule start

151842.64 2 timer clear

151842.64 2 state [VmLmHangup_ForwardLastMsg] Running VB Script...

151842.66 2 rv replace start (strlen>500)

151842.66 2 rvns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[$RV_STARTTIME]{29/11/2005 3:18:29 PM}[$RV_DEVICEID]{2}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[scriptsPath]{C:\BookingAngel\}[$RV_CIDNUMBER]{0293318320}[intro Message]{6}[scriptEnd_Time]{29/11/2005 3:18:33 PM}[scriptEnd_Goto_Script]{C:\Program Files\VoiceGuide\system\vm\VmLm.vgs}[scriptEnd_Goto_Module]{VmMenuStart}[scriptStart_Time]{29/11/2005 3:18:33 PM}[scriptStart_CalledFrom_Script]{C:\BookingAngel\inbound.vgs}[scriptStart_CalledFrom_Module]{Intro Message}[scriptsPath]{C:\Program Files\VoiceGuide\system\vm\}[VmMenuStart]{0001}[VmMenuStart_PathTaken]{success}[VmbId]{0001}[Key_VmLmS

opRecAndPlay]{1}[Key_VmLmDelRecRecAgain]{2}[Key_VmLmSaveAndPlayGreeting]{3}[Key_

mLmDeleteGoGroupPrevious]{4}[Key_VmLmDeleteAndPlayGreeting]{5}[Key_VmLmDeleteGoG

oupNext]{6}[Key_VmLmSaveGoVmLogin]{8}[Key_VmLmSaveVmExit]{0}[Key_VmLmSaveGoLmRec

sgMenu]{#}[RecMessage]{}[VmbWelcMsg]{C:\Program Files\VoiceGuide\system\voice\VmbWelcomeMsgDefault.wav}[VmLmRecFilename]{0001_1129151841_1_2_0293318320_.

av}[MsgLenMax]{30}[Hangup Time]{29/11/2005 3:18:42 PM}[CallEndTime]{29/11/2005 3:18:42 PM}

151842.66 2 vbs ran [vbs_2_4.vbs], cmd [wscript "C:\Program Files\VoiceGuide\data\vbs_2_4.vbs" //I //T:60]

151842.67 2 Run Script waiting. iRunWait=1 (shellid=620, process=3300)

151842.67 2 timer set 1 EV_TIMEOUT_CHECKONSTATE

151843.69 2 timer fired EV_TIMEOUT_CHECKONSTATE

151843.69 2 event ScriptEventCode EV_TIMEOUT_CHECKONSTATE, code=9007, state=1501

151843.69 2 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE

151843.69 2 task completed (shellid=620, process=3300) vgm=21, iRunWait=1, iRunWait_ExeResult_NextVgm=0

151843.69 2 no result file returned from program (VGRUNRESULT_2.TXT or SHLRESLT.TXT)

151843.69 2 already IDLE. HangupCall ignored.

151843.69 2 init atidle reinit : start

151843.69 2 init atidle reinit iConferenceOtherLegLid=-1

151843.69 2 init atidle reinit : reset all LineState variables

151843.69 2 timer set 0.3 EV_TIMEOUT_ATERIDLE_ALLOWOUT

151843.69 2 state Waiting for a call...

151844.03 2 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT

151844.03 2 event ScriptEventCode EV_TIMEOUT_ATERIDLE_ALLOWOUT, code=9013, state=900

Share this post


Link to post

I think you have edited the Voicemail system's vmLm.vgs file...

 

In trace we see:

 

151841.59 2 Run Script waiting. iRunWait=2 (shellid=1652, process=3320)

 

which means that in module VmLmRecInit the setting 'Wait till VBScript completes' was changed to 'Wait till VBScript and Sound File completes', and as that module does not start any playing of sound files then VoiceGuide hangs up because of this error.

 

We should maybe add more debugging to mark cause of hangup more specific, but what you should maybe do now is to re-install VG on that machine, (unless you know what other changes were made to the voicemail scripts and can reverse them all).

Share this post


Link to post

The VM scripts have definitely not been edited at all Im not even sure what script that module you refer to is in... Im dubious about re-installing the whole of voice guide (we have finally ironed out all the bugs with answering machines). Do I have to unregister files from the registry etc. Should I just re-install just the voice mail part of it... is it just copying over the system / vg folder. If I do a full re-install, do I need to save my current config file or any other files?

 

Also since installing voiceguide for dialogic all of the sound files sound rrreeeaallly slow. I know this is related to the sample rate of the files is there a quicker way to fix all the files than re-recording / editing the individual files. Will this be fixed with a re-install.

Share this post


Link to post

Best thing to do is probably to install VoiceGuide on another machine (select the "TAPI" option when doing this) and then copy over the entire \system\ subdirectory tree.

 

VG for Dialogic uses 8kHz sound files. There are instructions mentioning this in the Readme.txt file in VG for Dialogic patch download.

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
×