VoiceGuide IVR Software Main Page
Jump to content

Sound Files Play In Script Editor But Not Over The Phone

Recommended Posts

my sound files play in the script editor but not over the phone. I'm using vg 6.0.3107 Enterprise, VG Dialer, 4 line license with dialogic D4PCIU card.

 

I saw some posts that you should uninstall the wave drivers. I did uninstall/reinstall dialogic wave driver.

 

Do I need to uninstall the sound card and install the dialogic wave driver first?

 

BTW-I can see after the call is answered that VG line device state is playing the wave file, but I don't hear the sound on the handset.

Share this post


Link to post

When using VG for Dialogic there is no need to use the Wave driver, you just need to make sure that the WAV file is in correct format (PCM 8kHz)

 

If you are still having problems please post trace files from your system.

Share this post


Link to post

Checked and the file is in the correct format....

 

It's a pretty simple script dial a number and play a message when answered. Give an option to press 1 to transfer to an extension.

 

 

 

132926.299 dlgc this channel does not link to a bus timeslot

132926.299 dx_sethook(1, DX_OFFHOOK) ok

132926.854 setting call progress tones according to [C:\Program Files\VoiceGuide\data\ConfigLine.xml]

132926.854 tone an id:DISCONNECT_TAPI1 191 f1:620:200, f2:480:200, cad:30:10:20:10, count:3

132926.869 tone description save hli=0x1bde28, iToneUserID[0]=191 sToneUserName[0]=[DISCONNECT_TAPI1]

132926.869 tone an id:DISCONNECT_TAPI2:192, f1:550:200, cad:30:10:20:10, count:3

132926.869 tone description save hli=0x1bde28, iToneUserID[1]=192 sToneUserName[1]=[DISCONNECT_TAPI2]

132926.869 tone an id:DISCONNECT_Telstra:193, f1:425:50, cad:37:5:37:5, count:2

132926.885 tone description save hli=0x1bde28, iToneUserID[2]=193 sToneUserName[2]=[DISCONNECT_Telstra]

132926.885 tone ch id:TID_DIAL_LCL:250, f1:340:40, f2:440:40, cad:100:0,0:0, count:1

132926.885 tone ch id:TID_DIAL_INTL:251, f1:340:40, f2:440:40, cad:100:0,0:0, count:1

132926.885 tone ch id:TID_DIAL_XTRA:252, f1:340:40, f2:440:40, cad:100:0,0:0, count:1

132926.885 tone ch id:TID_BUSY1:253, f1:500:200, f2:0:0, cad:55:40,55:40, count:4

132926.885 tone ch id:TID_RNGBK1:254, f1:438:138, f2:0:0, cad:130:105,400:200, count:1

132926.885 tone ch id:TID_BUSY2:255, f1:500:200, f2:525:175, cad:55:40,55:40, count:4

132926.885 tone ch id:TID_DISCONNECT:257, f1:500:200, f2:525:175, cad:55:40,55:40, count:4

132926.885 tone ch id:TID_FAX1:258, f1:2150:50, f2:0:0, cad:25:25,0:0, count:1

132926.885 tone ch id:TID_FAX2:259, f1:1100:50, f2:0:0, cad:25:25,0:0, count:1

132926.917 dx_dial([99248365], with call progress) ok

132945.220 001 ocxfn LineDrop(sLineId=1, sOpt=0)

132952.208 001 ocxfn LineCloseDialogic(lDevh=1, strDxxx=dxxxB1C1, strDti=dxxxB1C1, strOptions=, lOptions=0)

132952.208 002 ocxfn LineCloseDialogic(lDevh=2, strDxxx=dxxxB1C2, strDti=dxxxB1C2, strOptions=, lOptions=0)

132952.208 003 ocxfn LineCloseDialogic(lDevh=3, strDxxx=dxxxB1C3, strDti=dxxxB1C3, strOptions=, lOptions=0)

132952.208 004 ocxfn LineCloseDialogic(lDevh=4, strDxxx=dxxxB1C4, strDti=dxxxB1C4, strOptions=, lOptions=0)

132952.208 ocxfn Shutdown()

132952.208 init AppCleanup: stopping all channels.

132952.763 init exit thread WavVoxConverter (lStopThreadFlag_WavVoxConvert==9)

132952.794 init exit thread CtEventPolling (lStopThreadFlag_DialogicEventHandler==9)

132952.715 init AppCleanup : stopping helper threads

132952.889 init exit thread SaveLogEntries (lStopThreadFlag_SaveLogEntriesToDisk==9)

132953.032 init AppCleanup : completed.

 

 

Maybe this is a better trace looks like where the wav file is played.

 

134853.098 001 ev TDX_CALLP (Call Progress Completed)

134853.098 001 TDX_CALLP CR_CNCT (called line was connected)

134853.098 001 TDX_CALLP CR_CNCT CON_PVD (connection due to Positive Voice Detection)

134853.098 001 ocxev DoFireDialogic(dwIdx=10, 1, 133, [TDX_CALLP], 10, 3, 0, [TDX_CALLP], [CR_CNCT], [CON_PVD]) (dwIdx=10)

134853.114 001 ev TDX_CST (CST Event Received)

134853.114 001 ev TDX_CST DE_LCON data=6878

134853.114 001 ocxfn ConvertWav2Vox(hLine=1, lTaskID=241718, strWavFilesIn=C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.wav, strConvertOptions=, lParam1=1, lParam2=0, strParam1=, strParam2=)

134853.114 001 ocxev DoFireDialogic completed

134853.114 001 ocxev DoFireDialogic(dwIdx=11, 1, 134, [TDX_CST], 6878, 0, 0, [DE_LCON], [], []) (dwIdx=11)

134853.114 001 ocxev DoFireDialogic completed

134853.145 conv start on idx 1 [C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.wav]

134853.145 conv wav[C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.wav][Thu Jun 01 17:20:06 2006

] same or older then vox[C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.vox][Thu Jun 01 17:31:12 2006

] (modified time comparison). not converting wav->vox.

134853.145 conv out [C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.vox]

134853.145 evt OnFireConvertWavVoxFinished wParam=1 lParam=0

134853.145 ocxev ConvertWavVoxFinished(1, 241718, C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.vox, 1, 0, , )

134853.145 001 ocxfn PlayStart(hLine=1, strSoundFile=C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.vox, lPlayId=241750(0x3b056), lParam1=0, lParam2=0, strParam1=, strParam2=, keys[NotUsed])

134853.145 001 ocxfn PlaySetControlKeys(1,0,,,,,,,,,,)

134853.145 001 play start (hli=0x1bdc10, strSoundFile=C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.vox, lPlayId=241750(0x3b056), lParam1=0, lParam2=0, strParam1=, strParam2=)

134853.145 001 play open(strFname[0]=C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.vox) => 6, read_bytes=0/0, buff_addr=0xc5ca7c8 (file_created_time=Thu Jun 01 16:36:49 2006

, file_modified_time=Thu Jun 01 17:31:12 2006

)

134853.145 001 dlgc play(1, 0xc5cabf8, 0x1c0e6c, 0x1c10ec, EV_ASYNC) call

134853.145 001 dlgc play(1, 0xc5cabf8, 0x1c0e6c, 0x1c10ec) => 0, hli=0x1bdc10

134853.222 001 ev TDX_PLAY (Play Completed)

134853.222 001 cleared dwPlayId: hli=0x1bdc10, hli->dwPlayId=0(0x0)

134853.222 001 ocxev PlayEnd(dwLineId=1, dwPlayId=241750)

134853.222 001 ocxev DoFireDialogic(dwIdx=12, 1, 129, [TDX_PLAY], 241750, 0, 0, [], [], []) (dwIdx=12)

134853.222 001 ocxev DoFireDialogic completed

134855.335 001 ocxfn ConvertWav2Vox(hLine=1, lTaskID=243953, strWavFilesIn=C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.wav, strConvertOptions=, lParam1=1, lParam2=0, strParam1=, strParam2=)

134855.366 conv start on idx 2 [C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.wav]

134855.366 conv wav[C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.wav][Thu Jun 01 17:20:06 2006

] same or older then vox[C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.vox][Thu Jun 01 17:31:12 2006

] (modified time comparison). not converting wav->vox.

134855.366 conv out [C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.vox]

134855.366 evt OnFireConvertWavVoxFinished wParam=2 lParam=0

134855.366 ocxev ConvertWavVoxFinished(1, 243953, C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.vox, 1, 0, , )

134855.366 001 ocxfn PlayStart(hLine=1, strSoundFile=C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.vox, lPlayId=243984(0x3b910), lParam1=0, lParam2=0, strParam1=, strParam2=, keys[NotUsed])

134855.366 001 ocxfn PlaySetControlKeys(1,0,,,,,,,,,,)

134855.366 001 play start (hli=0x1bdc10, strSoundFile=C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.vox, lPlayId=243984(0x3b910), lParam1=0, lParam2=0, strParam1=, strParam2=)

134855.366 001 play open(strFname[0]=C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.vox) => 6, read_bytes=0/0, buff_addr=0xc5ca7c8 (file_created_time=Thu Jun 01 16:36:49 2006

, file_modified_time=Thu Jun 01 17:31:12 2006

)

134855.366 001 dlgc play(1, 0xc5cabd0, 0x1c0e6c, 0x1c10ec, EV_ASYNC) call

134855.382 001 dlgc play(1, 0xc5cabd0, 0x1c0e6c, 0x1c10ec) => 0, hli=0x1bdc10

134855.444 001 ev TDX_PLAY (Play Completed)

134855.444 001 cleared dwPlayId: hli=0x1bdc10, hli->dwPlayId=0(0x0)

134855.444 001 ocxev PlayEnd(dwLineId=1, dwPlayId=243984)

134855.444 001 ocxev DoFireDialogic(dwIdx=13, 1, 129, [TDX_PLAY], 243984, 0, 0, [], [], []) (dwIdx=13)

134855.444 001 ocxev DoFireDialogic completed

134857.619 001 ocxfn ConvertWav2Vox(hLine=1, lTaskID=246250, strWavFilesIn=C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.wav, strConvertOptions=, lParam1=1, lParam2=0, strParam1=, strParam2=)

134857.650 conv start on idx 3 [C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.wav]

134857.650 conv wav[C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.wav][Thu Jun 01 17:20:06 2006

] same or older then vox[C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.vox][Thu Jun 01 17:31:12 2006

] (modified time comparison). not converting wav->vox.

134857.650 conv out [C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.vox]

134857.650 evt OnFireConvertWavVoxFinished wParam=3 lParam=0

134857.650 ocxev ConvertWavVoxFinished(1, 246250, C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.vox, 1, 0, , )

134857.650 001 ocxfn PlayStart(hLine=1, strSoundFile=C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.vox, lPlayId=246281(0x3c209), lParam1=0, lParam2=0, strParam1=, strParam2=, keys[NotUsed])

134857.650 001 ocxfn PlaySetControlKeys(1,0,,,,,,,,,,)

134857.650 001 play start (hli=0x1bdc10, strSoundFile=C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.vox, lPlayId=246281(0x3c209), lParam1=0, lParam2=0, strParam1=, strParam2=)

134857.650 001 play open(strFname[0]=C:\Documents and Settings\is-rew.INFOSYS\My Documents\Hellothisisrew.vox) => 6, read_bytes=0/0, buff_addr=0xc5ca7c8 (file_created_time=Thu Jun 01 16:36:49 2006

, file_modified_time=Thu Jun 01 17:31:12 2006

)

134857.650 001 dlgc play(1, 0xc5cabf8, 0x1c0e6c, 0x1c10ec, EV_ASYNC) call

134857.650 001 dlgc play(1, 0xc5cabf8, 0x1c0e6c, 0x1c10ec) => 0, hli=0x1bdc10

134857.712 001 ev TDX_PLAY (Play Completed)

Share this post


Link to post

I haven't tried reinstalling voiceguide. Should I try that. If so should I download a fresh copy. I purchased vg in Oct. 2005.

Share this post


Link to post

It seems that the wav to vox conversion is not working. I converted the file to a vox using 4U WMA MP3 Converter. It placed a .vox file with the same name in the directory. It plays over the phone.

 

In the script editor it does not allow me to pick a .vox file. Can you tell me why?

Share this post


Link to post

I think you are right. There seems to be a fundamental problem with WAV to VOX conversion. If you look at the directory where the WAV files are, I bet you will find corresponding VOX files which are 0kb in size. I have this problem, and I know of one other user who has posted a similar problem.

 

If you delete the VOX file, then Voiceguide will re-convert it again and it should be ok. If Voiceguide see's a VOX file already there, it will check the datestamp of the VOX file and if it is timestamped later than the corresponding WAV file it wont convert the WAV again, it will just use the existing VOX. If this VOX is corrupt or 0kb in length then of course it wont get played.

 

I suspect the only real solution is to use VOX files all along, not WAV.

 

Hope this helps

 

 

Simon

Share this post


Link to post

If you could post the "tw" trace files from the day during which the sound file stopped playing we should be able to see in them as to why the .VOX file created was 0KB in size.

 

Using .VOX files instead of WAV should stop any conversion related problems, as no conversion would b e ever made by VG. The .VOX files are sent directly to Dialogic.

Share this post


Link to post

I guess I'll just convert them. Does anyone have a recommendation of a wav to vox converter?

 

082502.512 init exit thread WavVoxConverter (lStopThreadFlag_WavVoxConvert==9)

082502.543 init exit thread SaveLogEntries (lStopThreadFlag_SaveLogEntriesToDisk==9)

082502.637 init exit thread CtEventPolling (lStopThreadFlag_DialogicEventHandler==9)

 

 

I removed the VOX files and this is the log.

Share this post


Link to post

Enable logging by setting the log levels to 10 in VG.INI as per below:

[Log]

 

VoiceGuide=10

NumberLoader=0

VoicemailManager=0

EmailSender=0

TapiWrapOcx=10

SapiWrapOcx=0

Then make a test call which demonstrates the problem.

 

Debug Trace files will be created in VG's \log\ subdirectory.

 

When posting traces/scripts please .ZIP them up and post them as attachments.

 

Does anyone have a recommendation of a wav to vox converter?

Just use the .WAV files in your script once and VG will convert them to VOX before playing them. Then just use the VOX files from that point on.

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
×