VoiceGuide IVR Software Main Page
Jump to content

Scripts Starts Playing Wave File Before Call Is Answered

Recommended Posts

Hello All,

Just downloaded voiceguide [old link removed]

I was hoping to do an upgrade from Voiceguide 6.

What is required to make the script start after the call is answered?

My script is starting as soon as the call is placed.

I see "sending and the phone number", then the first wave file start playing before the call is picked up.

I have Windows 2008 server and Diaglogic D/4PCIUF with analog phone lines, no VOIP.

The remainder of the scripts works perfectly.

Thanks, Curtis.

 

Call Events:

--------------------------------
port=1
crn=0x20000001
193015.860|command|MakeCall_Completed|19414733785|||<result>ok</result><crn>536870913</crn>|0|0|0|0
193016.396|Dialogic|TDX_SETHOOK|DX_OFFHOOK|CALL_OUTBOUND|||0|0|0|0
193016.406|Dialogic|TDX_CST|DE_LCON||||22717|0|0|0
193018.022|Dialogic|TDX_DIAL|||||0|0|0|0
193018.023|callstate|TDX_DIAL|||||256|2|4|0
193018.214|state|[Press 1] Playing wav (C:\om8\Custom\PRESS1.wav)|||||0|0|0|0
193018.227|command|cmd_PlayStart|||||271984|0|0|0
193024.598|command|cmd_PlayStop|||||0|0|0|0
193024.605|state|[Play 1] tts generate start (len=4)|||||0|0|0|0
193024.606|dtmf||1||||49|0|0|0
193024.626|play|end|||||271984|0|0|0
193024.629|command|cmd_Tts2WavFile|ELLA|C:\Program Files\VoiceGuide\temp\tts_1_1.wav||alaw_8|0|0|0|0
193025.034|tts|synthend|C:\Program Files\VoiceGuide\temp\tts_1_1.wav||||1|0|0|0
193025.036|state|[Play 1] Playing wav (C:\om8\Custom\greeting.wav, C:\Program Files\VoiceGuide\temp\tts_1_1.wav)|||||0|0|0|0
193025.037|command|cmd_PlayStart|||||278796|0|0|0
193029.734|play|end|||||278796|0|0|0
193029.748|state|[Play 1A] tts generate start (len=48)|||||0|0|0|0
193029.748|command|cmd_Tts2WavFile|Wednesday September ELEVENTH, at, 11 A. M.|C:\Program Files\VoiceGuide\temp\tts_1_2.wav||alaw_8|0|0|0|0
193029.985|tts|synthend|C:\Program Files\VoiceGuide\temp\tts_1_2.wav||||2|0|0|0
193029.985|state|[Play 1A] Playing wav (C:\om8\Custom\remindyou.wav, C:\Program Files\VoiceGuide\temp\tts_1_2.wav)|||||0|0|0|0
193029.986|command|cmd_PlayStart|||||283750|0|0|0
193036.877|play|end|||||283750|0|0|0
193036.881|state|[Play 2] Playing wav (C:\om8\Custom\confirm12.wav)|||||0|0|0|0
193036.882|command|cmd_PlayStart|||||290640|0|0|0
193038.581|dtmf||1||||49|0|0|0
193038.582|command|cmd_PlayStop|||||0|0|0|0
193038.583|state|[Play 3] Playing wav (C:\om8\Custom\response1.wav)|||||0|0|0|0
193038.607|play|end|||||290640|0|0|0
193038.611|command|cmd_PlayStart|||||292343|0|0|0
193043.574|play|end|||||292343|0|0|0
193043.593|state|Hanging up... [Hangup Module]|||||0|0|0|0
193043.604|command|cmd_DropCall|||||0|0|0|0
193043.658|Dialogic|TDX_SETHOOK|DX_ONHOOK||||0|0|0|0
193043.658|callstate|TDX_SETHOOK_DX_ONHOOK|||||1|0|32|0
193043.686|state|[Run VB Script 1] type: Script_VBScript, iRunWait=1|||||0|0|0|0
193044.647|command|cmd_PlayStop|||||0|0|0|0
193044.650|command|cmd_ReleaseCall|||||0|0|0|0
193044.652|callstate|GCEV_RELEASECALL|GCST_NULL||||0|0|0|0
length=28.7921212
--------------------------------

0909_1929_vgEngine.txt

0909_CallEvents.txt

0909_ktTel.txt

0909_ktTts.txt

Appointment001.vgs

Appointment001AM.vgs

Share this post


Link to post

Trace shows that in the outgoing call the 'fax' script was defined.

 

If the 'fax' script is defined then the 'fax' script will start immediately after dialing (or immediately after call answer on VoIP and ISDN systems).

 

Please leave the "fax' script entry blank. System then will try to detect if call was answered by live person or by answering machine and start one of those two scripts.

193015.742 10               dial  31,,19414733785,9/9/2013 7:30:11 PM,,priority=1,live=C:\Program Files\Voiceguide\Scripts\Appointment\appointment001.vgs,am=C:\Program Files\Voiceguide\Scripts\Appointment\appointment001AM.vgs,fax=c:\vgs\appointment001.vgs,na=,exhausted=,30,count=1,delay=15,[ApptName]{ELLA}[ProvName]{with ILJAS, JOHN}[ApptDate]{Wednesday   September  ELEVENTH}[ApptTime]{11    A. M.}[ApptType]{}[ApptKey]{0021309110090}[PtKey]{VM        246320},,sEscalation
193015.749 10               dial  callque update id/guid=31/d308f4c4-9a4e-4f3c-9e79-058847e6bdda nextActivateTime=9/9/2013 7:45:15 PM, retriesLeft=0, iRelatedPortNumber=1


193018.048  6   1   1       OnOutboundCallAnswered_Start_SendFax_Option strDialoutOnAnswerFax is a vgs/vgp [c:\vgs\appointment001.vgs]
193018.053  6   1   1       NewVgsVgm_Goto c:\vgs\appointment001.vgs,,,,,0

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
×