VoiceGuide IVR Software Main Page
Jump to content

Problem Playing Wav File Using Dialogic D41pci

Recommended Posts

I am using a Dialogic D4PCI board, and I have a simple application that simply answers an incoming call, after verifying that a callerID is valid, it will prompt for a destination number, then it will transfer the call via 3-way call to the destination number. Howerver, every hour or so, it will fail to play the initial Prompt (PCM 11Khz 8bit Mono wav file) and I get a message [srlib PlaySoundStart].

 

The problem is gone once you reboot the system, only to come back within usually 2 hours.

 

Here is part of the log file that describes that problem.

 

210952.60 0 sys cleanup Start

210952.60 0 sys cleanup End

211033.41 9 linedevstate 2048 0 0

211033.41 9 callstate OFFERING 66220 0 4

211033.46 9 Lev_CallerID [0546647098,,0000]

211033.46 9 rv lg add [DNIS]{0000}

211033.46 9 callinfo CALLEDID

211033.48 9 callinfo ORIGIN

211033.48 9 ring 0

211033.69 0 dial start any summary:|7:idx=0|8:idx=0|9:hc>0|10:idx=0|

211039.45 9 ring 2

211039.45 9 rv clear

211039.45 9 Start without answering the call

211039.45 9 StartLoadedVgs at 6/11/2005 9:10:39 PM, script interpretor VgMulti v5.2.4000 0

211039.45 9 rv ns add [scriptsPath]{C:\Program Files\VoiceGuide\Scripts\CALLTRANSFER\}

211039.45 9 rv ns add [scriptPath]{C:\Program Files\VoiceGuide\Scripts\CALLTRANSFER}

211039.45 9 rv lg add [$RV_STARTTIME]{6/11/2005 9:10:39 PM}

211039.45 9 rv lg add [$RV_DEVICEID]{9}

211039.45 9 rv lg add [$RV_CIDNAME]{}

211039.45 9 rv ns add [PathApp]{C:\Program Files\VoiceGuide\}

211039.45 9 rv lg add [$RV_CIDNUMBER]{0546647098}

211039.45 9 timer clear

211039.45 9 [Time Switch 12A-7A] Time Switch []

211039.45 9 [saturday, June 11, 2005 21:10] falls within [00:01-23:59 on MoTuWeThFrSaSu]

211039.46 9 timer clear

211039.46 9 [Valid CID] DB Query

211039.46 9 db Jet mode used (To use ODBC mode specify ODBC Connect string)

211039.47 9 rv replace start: [sELECT Phone FROM tblCustomers WHERE Phone=$RV_CIDNUMBER]

211039.47 9 rv ns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[scriptsPath]{C:\Program Files\VoiceGuide\Scripts\CALLTRANSFER\}[scriptPath]{C:\Program Files\VoiceGuide\Scripts\CALLTRANSFER}[$RV_STARTTIME]{6/11/2005 9:10:39 PM}[$RV_DEVICEID]{9}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CIDNUMBER]{0546647098}

211039.48 9 rv replace end: [sELECT Phone FROM tblCustomers WHERE Phone=0546647098]

211039.48 9 db About to execute a Retrieve type operation [sELECT Phone FROM tblCustomers WHERE Phone=0546647098]

211039.48 9 db [Valid CID] row count=2

211039.48 9 rv lg add [Valid CID_RowCount]{2}

211039.49 9 db get RecordsetGetRowsMax

211039.49 9 db get 999 records. (row count=2)

211039.49 9 db update RVs start

211039.49 9 db update RVs cols=1 rows=2

211039.49 9 db test vRetData(0, 0)=0546647098

211039.49 9 db test CStr(vRetData(0, 0))=0546647098

211039.49 9 db about to close dbDbqDatabase

211039.50 9 db going down path [True]

211039.50 9 timer clear

211039.50 9 [Get Number] Number Input

211039.50 9 lineAnswer(66220) => 66271

211040.06 9 callstate CONNECTED 66220 1 0

211040.06 9 callstate CONNECTED 66220,1,0

211040.06 9 WorkingModeTAPI@Connected=

211040.06 9 WorkingModeScript@Connected=BeforeAnswerRun

211040.09 9 Inband detection not enabled

211040.09 9 tapi Reply (LineEvReply) ok 66271 0

211040.09 9 callinfo MONITORMODES

211040.11 9 timer clear

211040.11 9 [Get Number] Number Input

211040.11 9 [Get Number] Playing (Enter Number.wav)

211040.11 9 play set playid=714693

211040.13 9 PlaySoundStart err=[0 play PlaySoundStart ResetWavOutAndContinuePlay=>4,play pss EnsureWaveOutIsOpenAndReady=>tr 5 waveOutOpen(id=2) MMSYSERR_ALLOCATED but hWaveOut = NULL] [C:\Program Files\VoiceGuide\Scripts\CALLTRANSFER\Enter Number.wav]

211040.13 9 play set playid=714693

211040.13 9 PlaySoundStart err=[0 play PlaySoundStart ResetWavOutAndContinuePlay=>4,play pss EnsureWaveOutIsOpenAndReady=>tr 5 waveOutOpen(id=2) MMSYSERR_ALLOCATED but hWaveOut = NULL] [C:\Program Files\VoiceGuide\system\voice\ErrorPlayingFile.wav]

211040.13 9 For Dialogic use: PCM 11Khz 8bit Mono

211040.13 9 rv lg add [Hangup Time]{6/11/2005 9:10:40 PM}

211040.13 9 Hanging up call... [srlib PlaySoundStart]

211040.14 9 RecSoundStop ok

211040.14 9 PlaySoundStop err=0

211040.14 9 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP

211040.14 9 fnHangupCall end

211040.16 9 play end current play (playid=0)

211040.16 9 ScriptEventCode 8001 iLineState=900

211040.16 9 LsAwaitingCalls EV_PLAY_FINISHED

211040.16 9 play end current play (playid=0)

211040.16 9 ScriptEventCode 8001 iLineState=900

211040.16 9 LsAwaitingCalls EV_PLAY_FINISHED

211042.09 9 linedevstate 2048 0 0

211042.09 9 callstate IDLE 66220 0 0

211042.09 9 WorkingMode@Idle=

211042.09 9 timer clear

211042.09 9 After Hangup script:[C:\Program Files\VoiceGuide\Scripts\CALLTRANSFER\Update2.vgs]

211042.09 0 LoadedVgs_Find C:\Program Files\VoiceGuide\Scripts\CALLTRANSFER\Update2.vgs at idx=2

211042.09 9 timer clear

211042.09 9 [update Database] DB Query

211042.09 9 db Jet mode used (To use ODBC mode specify ODBC Connect string)

211042.13 9 tapi Reply (LineEvReply) ok 65691 0

211042.13 9 rv replace start: [iNSERT INTO Calls (StartTime, CallerID, Destination, EndTime) VALUES ('$RV[CallStart]', '$RV[Valid CID_1_1]', '$RV[Get Number]', Now())]

211042.13 9 rv ns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[scriptsPath]{C:\Program Files\VoiceGuide\Scripts\CALLTRANSFER\}[scriptPath]{C:\Program Files\VoiceGuide\Scripts\CALLTRANSFER}[$RV_STARTTIME]{6/11/2005 9:10:39 PM}[$RV_DEVICEID]{9}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CIDNUMBER]{0546647098}[Valid CID_RowCount]{2}[Valid CID_1_1]{0546647098}[Valid CID_1_2]{0546647098}[Hangup Time]{6/11/2005 9:10:40 PM}

211042.13 9 rv replace end: [iNSERT INTO Calls (StartTime, CallerID, Destination, EndTime) VALUES ('', '0546647098', '', Now())]

211042.13 9 db About to execute a Modify type operation [iNSERT INTO Calls (StartTime, CallerID, Destination, EndTime) VALUES ('', '0546647098', '', Now())]

211042.13 9 ERROR 5.2.4000 DB Execute: 3464,Data type mismatch in criteria expression.

211042.13 9 rv lg add [update Database_RowCount]{0}

211042.13 9 db DBEngine.Error 3464:Data type mismatch in criteria expression.:DAO.Database

211042.13 9 path {0} not found

211042.13 9 path {} not found

211042.13 9 rv lg add [Hangup Time]{6/11/2005 9:10:42 PM}

211042.13 9 Hanging up call... [GoNextVgm_Boolean fail]

211042.15 9 HangupCall_Common Mode=AfterHangupRun

211042.15 9 ReinitTelephony due to IDLE

211042.16 9 tapic lineDeallocateCall(MainCall:66220) 0

211042.34 9 lineOpen(9)=>

211042.34 9 Waiting for a call...

 

 

PLEASE HELP !!!!!

Share this post


Link to post

Not too sure why you are getting this error, but it does seem to be a wave driver related one.

 

Please switch to using VG for Dialogic - it does not use wave drivers so you should not come across this error.

 

You can download the VG for Dialogic patch from our Downloads page.

Share this post


Link to post

I went ahead and downloaded the patch. However, in the Read.me file, it says that I must have the Dialogic Global Call 4.2 as System Requirement.

 

Could you please point me to where I can get that. The CD I received with Dialogic did not have this software.

 

Many thabks

Share this post


Link to post

I did upgrade the VG for Dialogic. Now the system will, for some strange reason, not transfer the calls correctly. After entering the number, the caller hears a short click, the the DTMF that is supposed to be dialled. I tried increasing the hookflash duration in the Dialogic TSP Configuration, no use. It appears as if it is not taking the flash duration correctly.

Share this post


Link to post
I tried increasing the hookflash duration in the Dialogic TSP Configuration, no use. It appears as if it is not taking the flash duration correctly.

VG for Dialogic no longer uses TAPI/Wave driver, so it will no use any TSP settings.

 

The hookflash length is now set in Config.xml file in VG's \data\ subdirectory.

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
×