VoiceGuide IVR Software Main Page
Jump to content

Unable To Record Prompt

Recommended Posts

The file is an existing prompt that I am trying to overwrite. Other wav files in the AutoAttendant folder are also locked if an attempt is made to rename them (manually) or overwrite them.

I am not sure if this is correct - I have changed prompts in previous versions before in real time without any file locking taking place.

 

102622.031 3512 1 fn SilenceDetectSet(1,30,10)

102622.031 3512 1 fn RecordFileStart(iLineId=1, iActionID=932687, sFileName=C:\Program Files\VoiceGuide\Scripts\AutoAttendant\choice.wav, iPlayBeep=1, sXMLOptions=)

102622.031 3512 1 RecStart(hLine=1, strSoundFile=C:\Program Files\VoiceGuide\Scripts\AutoAttendant\choice.wav, lRecId=932687 iPlayBeepBeforeRec=1, keys-notused sXMLOptions=)

102622.031 3512 1 RecStart_Iott hli=0BBCF468, C:\Program Files\VoiceGuide\Scripts\AutoAttendant\choice.wav, lRecId=932687, usDataFormatRec=0x6(pref=0x6), iPlayBeepBeforeRec=1

102622.031 3512 1 RecStart_Iott mode - new recording

102622.031 3512 1 file exists [C:\Program Files\VoiceGuide\Scripts\AutoAttendant\choice.wav]

102622.031 3512 1 file delete fail [The process cannot access the file because it is being used by another process.

] [C:\Program Files\VoiceGuide\Scripts\AutoAttendant\choice.wav]

102622.031 3512 1 DeleteExistingFile failed. exiting.

Share this post


Link to post

Trace shows that the operating system (Windows) responded to VoiceGuide that some other application is using the

C:\Program Files\VoiceGuide\Scripts\AutoAttendant\choice.wav sound file and hence it will not allow it to be overwritten.

 

You will need to find out what other application has locked this file and ensure that the file is not locked by another application if you wish for VoiceGuide be able to overwrite the file.

Share this post


Link to post

This is exactly the problem I am referring to. The only application running is VG - The OS is XPsp3 on a brand new PC - no anti-virus loaded. I am able to reproduce the problem, even if the file DOES NOT EXIST, the same problem occurs.

Share this post


Link to post

The 'works' trace shows a play of choice.wav and a recording being made for file: C:\Program Files\VoiceGuide\Scripts\AutoAttendant\yt

 

095209.921  3640   2 fn    PlayStart(iLineId=2, sFileList=,C:\Program Files\VoiceGuide\Scripts\AutoAttendant\choice.wav, sXMLOptions=)

095213.140  3640   2 fn    RecordFileStart(iLineId=2, iActionID=283765, sFileName=C:\Program Files\VoiceGuide\Scripts\AutoAttendant\yt, iPlayBeep=1, sXMLOptions=)
095213.140  3640   2       RecStart(hLine=2, strSoundFile=C:\Program Files\VoiceGuide\Scripts\AutoAttendant\yt, lRecId=283765 iPlayBeepBeforeRec=1, keys-notused sXMLOptions=)
095213.140  3640   2       RecStart_Iott hli=0BD09728, C:\Program Files\VoiceGuide\Scripts\AutoAttendant\yt, lRecId=283765, usDataFormatRec=0x6(pref=0x6), iPlayBeepBeforeRec=1
095213.140  3640   2       RecStart_Iott mode - new recording
095213.140  3640   2       file exists [C:\Program Files\VoiceGuide\Scripts\AutoAttendant\yt]
095213.140  3640   2       file deleted ok [C:\Program Files\VoiceGuide\Scripts\AutoAttendant\yt]
095213.140  3640   2       RecStart_Iott FindClose call
095213.140  3640   2       wav header not written. will write later
095213.140  3640   2       open save file (strFname=C:\Program Files\VoiceGuide\Scripts\AutoAttendant\yt) => 5 (ok)
095213.140  3640   2       rec silence detection enabled. len=30
095213.140  3640           rec max len limit on drv level disabled
095213.140  3640           rec stop on lcoff disabled (at dlgc driver level)
095213.140  3640   2       tpt entries used: 1
095213.140  3640           setchxfer not used
095213.140  3640           xpb xpb.wDataFormat=0x3 (1=adpcm, 3=alaw, 7=ulaw, 8=pcm) (usDataFormatRec=6), xpb.wFileFormat=2 (1=vox, 2=wav)
095213.140  3640           dti or analog rec
095213.140  3640           record(4, ...) => 0, hli=198219560
095219.343  3688   2       CtEventProcess idx=16 : evttype=134(134), crn=0, data=06848538(06301938), len=4(4) q: 0/0
095219.343  3688   2 ev    TDX_CST (CST Event Received)
095219.343  3688   2       TDX_CST DE_DIGITS data=35 [#], KeysUsed=0
095219.343  3688   2 r     dtmf #

 

both are successful. Note that old file was deleted and a new recording overwrote the previously existing file.

 

The 'fails trace shows that again during the recording the old file was deleted and a new recording overwrote the previously existing file, but that soon after the recording commenced the Fax tone was detected on the line. This currently results in recording ending.

 

Is there any reason why fax tone would be reported by Dialogic on this line at this time?

 

To prevent false tone detection you will need edit the ConfigLine.xml file and change the Fax tone config to frequency/cadence that is unlikely to be detected.

 

Eg:

 

<Tone Name="FAX Incoming">

<Notes>Incoming fax tone</Notes>

<ID>FAX</ID>

<Freq1>2000</Freq1>

<Freq1Dev>10</Freq1Dev>

<Freq2>0</Freq2>

<Freq2Dev>0</Freq2Dev>

<On>50</On>

<OnDev>0</OnDev>

<Off>50</Off>

<OffDev>0</OffDev>

<Count>10</Count>

</Tone>

 

095629.609  4048   2 fn    RecordFileStart(iLineId=2, iActionID=540234, sFileName=C:\Program Files\VoiceGuide\Scripts\AutoAttendant\yt, iPlayBeep=1, sXMLOptions=)
095629.609  4048   2       RecStart(hLine=2, strSoundFile=C:\Program Files\VoiceGuide\Scripts\AutoAttendant\yt, lRecId=540234 iPlayBeepBeforeRec=1, keys-notused sXMLOptions=)
095629.609  4048   2       RecStart_Iott hli=0BC16B18, C:\Program Files\VoiceGuide\Scripts\AutoAttendant\yt, lRecId=540234, usDataFormatRec=0x6(pref=0x6), iPlayBeepBeforeRec=1
095629.609  4048   2       RecStart_Iott mode - new recording
095629.609  4048   2       file exists [C:\Program Files\VoiceGuide\Scripts\AutoAttendant\yt]
095629.609  4048   2       file deleted ok [C:\Program Files\VoiceGuide\Scripts\AutoAttendant\yt]
095629.609  4048   2       RecStart_Iott FindClose call
095629.609  4048   2       wav header not written. will write later
095629.609  4048   2       open save file (strFname=C:\Program Files\VoiceGuide\Scripts\AutoAttendant\yt) => 5 (ok)
095629.609  4048   2       rec silence detection enabled. len=30
095629.609  4048           rec max len limit on drv level disabled
095629.609  4048           rec stop on lcoff disabled (at dlgc driver level)
095629.609  4048   2       tpt entries used: 1
095629.625  4048           setchxfer not used
095629.625  4048           xpb xpb.wDataFormat=0x3 (1=adpcm, 3=alaw, 7=ulaw, 8=pcm) (usDataFormatRec=6), xpb.wFileFormat=2 (1=vox, 2=wav)
095629.625  4048           dti or analog rec
095629.625  4048           record(4, ...) => 0, hli=197225240
095630.171  2904   2       CtEventProcess idx=16 : evttype=134(134), crn=0, data=06848538(0ECFBDC8), len=28(28) q: 0/0
095630.171  2904   2 ev    TDX_CST (CST Event Received)
095630.171  2904   2       TDX_CST DE_TONEON cst_data=1005
095630.171  2904   2       tone description retrieve hli=0BC16B18, iToneUserID[2]=1005 sToneUserName[2]=[FAX]

Share this post


Link to post

The 'nofile' trace shows Fax tone detected, as before.

 

100042.343  4048   1 fn    RecordFileStart(iLineId=1, iActionID=792968, sFileName=C:\Program Files\VoiceGuide\Scripts\AutoAttendant\yt, iPlayBeep=1, sXMLOptions=)
100042.343  4048   1       RecStart(hLine=1, strSoundFile=C:\Program Files\VoiceGuide\Scripts\AutoAttendant\yt, lRecId=792968 iPlayBeepBeforeRec=1, keys-notused sXMLOptions=)
100042.343  4048           rec   queue for later rec in TelDriver_RecStart (hli=0BBCE670, dwPlayId=791015(0xc11e7), iRecId=0(0x0))
100042.343  2904   1       CtEventProcess idx=29 : evttype=129(129), crn=0, data=068487A8(06301938), len=0(0) q: 0/0
100042.343  2904   1 ev    TDX_PLAY (Play Completed)
100042.343  2904   1       EvHandler_TDX_PLAY  hPlayRec_IottChainStart=0x6886740
100042.343  2904   1       play  free(0x689a698, 0x6886740) eot
100042.343  2904   1       cleared dwPlayId: hli=0BBCE670, hli->dwPlayId=0(0x0)
100042.343  2904   1       CTelProxy::Event_PlayEnd begin
100042.343  2904   1 r     PlayEnd 791015
100042.343  2904   1       CTelProxy::Event_PlayEnd end
100042.343  2904   1       DoDelayed_dx_rec found Rx: [C:\Program Files\VoiceGuide\Scripts\AutoAttendant\yt]
100042.343  2904   1       RecStart_Iott hli=0BBCE670, C:\Program Files\VoiceGuide\Scripts\AutoAttendant\yt, lRecId=792968, usDataFormatRec=0x6(pref=0x6), iPlayBeepBeforeRec=1
100042.343  2904   1       RecStart_Iott mode - new recording
100042.343  2904   1       RecStart_Iott FindClose call
100042.343  2904   1       wav header not written. will write later
100042.343  2904   1       open save file (strFname=C:\Program Files\VoiceGuide\Scripts\AutoAttendant\yt) => 5 (ok)
100042.343  2904   1       rec silence detection enabled. len=30
100042.343  2904           rec max len limit on drv level disabled
100042.343  2904           rec stop on lcoff disabled (at dlgc driver level)
100042.343  2904   1       tpt entries used: 1
100042.343  2904           setchxfer not used
100042.343  2904           xpb xpb.wDataFormat=0x3 (1=adpcm, 3=alaw, 7=ulaw, 8=pcm) (usDataFormatRec=6), xpb.wFileFormat=2 (1=vox, 2=wav)
100042.343  2904           dti or analog rec
100042.359  2904           record(4, ...) => 0, hli=196929136
100042.890  2904   1       CtEventProcess idx=30 : evttype=134(134), crn=0, data=068487D8(0ECFBDC8), len=28(28) q: 0/0
100042.890  2904   1 ev    TDX_CST (CST Event Received)
100042.890  2904   1       TDX_CST DE_TONEON cst_data=1002
100042.890  2904   1       tone description retrieve hli=0BBCE670, iToneUserID[2]=1002 sToneUserName[2]=[FAX]
100042.890  2904   1 r     Dialogic  TDX_CST 134 (1002 0 0 DE_TONEON FAX )

Share this post


Link to post

Thank you, the new paramters have made a difference. I can record prompts as before, without any failures.

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
×