VoiceGuide IVR Software Main Page
Jump to content

Return To Previous Vg Module After Fax Sending Completed

Recommended Posts

Hi Support team,

 

I had designed the VG script to allow caller to use Fax on Demand option where they will press on the "Start" button on their fax machine to receive fax when they hear the fax tone. After they receive fax, I want to let the caller to get the next module playing "please press 8" to return to the main menu and continue using the IVR without the need of calling back to the system again.

 

Right now, each time the caller finsihed receiving the fax, the system will cut off the line. I had enter "on {timeout} goto [success_Fax4]" in the fax sending module in the VG script where Success_Fax4 is the prompt for the caller to listen "please press 8 to return to the main menu" and it's not working.

 

Please advise.

 

Meanwhile, I realized that if the fax sending is more than 120 seconds, and the number of pages needed to be fax over is around 30 pages, once the timer hit 120 seconds, the remaining pages will turn out to be all blank printed out by the fax machine. What could be the issue?

 

Thank you!

 

Share this post


Link to post

Please post the script that you are using along with the vgEngine trace capturing system startup and the call. We can then see how the call is handled on this system.

 

Please also post the vgEngine and ktTel traces that capture the call during which the fax issue that you mention occurred.

Share this post


Link to post

You can use a path like this:

 

on {TFX_FAXSEND_OK} goto [success_Fax4]

 

or just:

 

on {TFX_FAXSEND} goto [success_Fax4]

 

but it looks like for some reason the call disconnects soon after the fax sending is completed.

 

Most likely the remote fax machine is hanging up the call after the fax reception is completed. Trace shows that fax send was successful and the Disconnect afterwards seems to come from the other party.

 

Can you please .ZIP and post the ktTel trace file for the same day. (to match up with posted vgEngine trace). We can then confirm whether it was the other party (the receiving fax machine) that hung up the call.

130156.877  6   2   1 state [FAX SEND DEMO1] Sending Fax C:\Fax\Sales\MY\0002016068.pdf
130156.877  6   2   1       strDialoutOptions=
130156.877  6   2   1       fax   Pdf2Tif_Start begin C:\Fax\Sales\MY\0002016068.pdf=>C:\Fax\Sales\MY\0002016068.tif
130156.877  6   2   1       fax   starting pdf->tif convert task
130156.877  6               fax   pdf   Pdf2Tif_ThreadContainer constr sFnameTiff_In=C:\Fax\Sales\MY\0002016068.pdf, sFnamePdf_In=C:\Fax\Sales\MY\0002016068.tif
130156.878  6   2   1       fax   Pdf2Tif_Start end
130156.878  5   2   1       fax   Pdf2Tif_ThreadContainer.Run begin
130156.878  6   2   1       SendFax_Start Pdf2Tif_StartIfConversionRequired started conversion
130156.878  5   2   1       fax   pdf   Process FileName=[C:\Program Files (x86)\VoiceGuide\gs\gswin32c.exe], Arguments=[-dSAFER -dBATCH -dNOPAUSE -sDEVICE=tiffg3 -g1728x2200 -r200 -sOutputFile="C:\Fax\Sales\MY\0002016068.tif" "C:\Fax\Sales\MY\0002016068.pdf"]
130157.146  5   2   1       q scr add   evScriptEvent 0 FAX_PDF2TIF_CONVERT_COMPLETE
130157.146  6   2   1       q scr run   evScriptEvent sCode=[FAX_PDF2TIF_CONVERT_COMPLETE] iActionID=0, crn=0[0|0|0|0|0][C:\Fax\Sales\MY\0002016068.tif|C:\Fax\Sales\MY\0002016068.pdf||||] 00:00:00 max:2|00:00:00.0010000
130157.146  6   2   1       scriptevent FAX_PDF2TIF_CONVERT_COMPLETE  0|0|0  C:\Fax\Sales\MY\0002016068.tif|C:\Fax\Sales\MY\0002016068.pdf| LineState=LS_PLAY_PLAYMSG
130157.146  6   2   1       LsPlayMsg EV_UNKNOWN_0,FAX_PDF2TIF_CONVERT_COMPLETE
130157.146  6   2   1       path {FAX_PDF2TIF_CONVERT_COMPLETE} not found
130157.146  6   2   1       LsPlayMsg ktTel_Fax_Tx_Start_Enqueue call [C:\Fax\Sales\MY\0002016068.tif]
130157.146  6   2   1       q tel add   cmd_Fax_Tx_Start [0,0,0,0,0][C:\Fax\Sales\MY\0002016068.tif||||]
130157.147  6   2   1 t     timer set   120 sec : EV_TIMEOUT_HANGUP
130157.147  7   2   1       q tel run   cmd_Fax_Tx_Start 00:00:00 max:1|00:00:00.0150008
130226.628 18   2   1 ev    Dialogic 164,TFX_PHASEB, crn=2800016, 0,0,0,status=[DFS_DIS][ ????????][DFS_DCS][] coding=[DFS_MR], speed=14400, state=8,,
130226.628 18   2   1 state Sending Fax: status=[DFS_DIS][ ????????][DFS_DCS][] coding=[DFS_MR], speed=14400, state=8
130226.628 18   2   1       ls    set   Connected   (scriptstate=LS_FAX_TX)
130226.628 18   2   1 t     timer clear (force=False)
130252.635 18   2   1 ev    Dialogic 165,TFX_PHASED, crn=2800016, 0,0,0,status=0x600 coding=1, speed=14400, state=8,,
130252.635 18   2   1       q scr add   evScriptEvent 165 TFX_PHASED
130252.635  6   2   1       q scr run   evScriptEvent sCode=[TFX_PHASED] iActionID=0, crn=2800016[0|0|0|0|0][status=0x600 coding=1, speed=14400, state=8|||||] 00:00:00 max:2|00:00:00.0010000
130252.635  6   2   1       scriptevent TFX_PHASED  0|0|0  status=0x600 coding=1, speed=14400, state=8|| LineState=LS_FAX_TX
130252.635  6   2   1       LsFaxTx TFX_PHASED 0 status=0x600 coding=1, speed=14400, state=8
130310.091 18   2   1 ev    Dialogic 161,TFX_FAXSEND, crn=2800016, 0,0,0,OK,,
130310.091 18   2   1       outgoing fax sending has either completed or errored out.
130310.091 18   2   1       path {TFX_FAXSEND_OK_} not found
130310.091 18   2   1       path {TFX_FAXSEND_OK} not found
130310.091 18   2   1       path {TFX_FAXSEND} not found
130310.091 18   2   1       q scr add   evScriptEvent 161 TFX_FAXSEND
130310.091  6   2   1       q scr run   evScriptEvent sCode=[TFX_FAXSEND] iActionID=0, crn=2800016[0|0|0|0|0][OK|||||] 00:00:00 max:2|00:00:00.0010000
130310.091  6   2   1       scriptevent TFX_FAXSEND  0|0|0  OK|| LineState=LS_FAX_TX
130310.091  6   2   1       LsFaxTx TFX_FAXSEND 0 OK
130310.091  6   2   1       rv    add   FAX SEND DEMO1_fax|OK
130310.091  6   2   1       path {TFX_FAXSEND} not found
130310.091  6   2   1       path {FAXTX} not found
130310.091  6   2   1       FindNextVgmTitleInPathList: next module title is=[Success_Fax4]
130310.092  6   2   1 t     timer clear (force=False)
130310.092  6   2   1       RunModule start Play, [Success_Fax4], iModuleIdx=396, previous: vgm=373, vgs=1:1
130310.092  6   2   1       [Success_Fax4] VGMTYPE_PLAY run start
130310.092  6   2   1       CheckForAnyPlayActionsAndSetkeysIfNecessary no PlayActions, vgmidx=396, strPaths=on {8} goto [Menu_2_3]

130310.092  6   2   1       PrepareAndPlayWavAndTts start iModuleIdx=396, iPlayFileIdx=1, bMakeTtsFile=True, sSoundFileIs=
130310.092  6   2   1       PrepareAndPlayWavAndTTS sPlayFile=pr-006a.wav
130310.092  6   2   1 state [Success_Fax4] Playing wav (pr-006a.wav)
130310.092  6   2   1       FindSoundFile start [pr-006a.wav]
130310.092  6   2   1 t     timer clear (force=False)
130310.092  6   2   1       q tel add   cmd_PlayStart 870363 ,C:\Program Files (x86)\VoiceGuide\System\voice_Malay\pr-006a.wav []
130310.092  6   2   1       play  start ok, playId=870363
130310.092  7   2   1       q tel run   cmd_PlayStart 00:00:00 max:1|00:00:00.0150008
130311.046 18   2   1 ev    CallState GCEV_DISCONNECTED, crn=2800016, iEvent=2 ,16384,0,64, s1:, s2:, s3:]. build_date: 2013-05-27 20:38:30.13
130311.046 18   2   1       q scr add   evCallState 2 GCEV_DISCONNECTED
130311.046  6   2   1       q scr run   evCallState sCode=[GCEV_DISCONNECTED] iActionID=0, crn=2800016[16384|0|64|0|0][|||||] 00:00:00 max:2|00:00:00.0010000
130311.046  6   2   1       LineEvCallState   crn=2800016 event=2|GCEV_DISCONNECTED iCallState=16384 calldirection=0 gcCallState=64 [||]
130311.046  6   2   1       LineEvCallState eLineStateThisEvent=Disconnected, ScriptState=LS_PLAY_PLAYMSG
130311.046  6   2   1       HangupCall, source=LINECALLSTATE_DISCONNECTED, WorkModeScript=Running_Normal, yLineStateAppPov=[Connected], lPlayId=870363, lRecId=0

Share this post


Link to post

Also please update system to latest version of VoiceGuide software and the latest Dialogic drivers (both available from our WWW Downloads page)

Share this post


Link to post

on {TFX_FAXSEND_OK} goto [success_Fax4]

 

or just:

 

on {TFX_FAXSEND} goto [success_Fax4]

 

Hi Support team, I tried the same as mentioned in the quote. It still hangup.

 

Kindly find attached zip kTel log file.

 

Thanks!

0205_ktTel.txt.zip

Share this post


Link to post

ktTel trace confirms that remote fax machine has hung up the call after it has successfully received the sent fax..

553 130310.091  3516   4 ev    TFX_FAXSEND (Send fax complete)
554 130310.091  3516   2       fax   Sent 2 pages at speed 14400, resln 196, width 1728 termination reason: OK
555 130310.091  3516   2       fax   IottFaxFhandles_Close begin
556 130310.091  3516   2       fax   dx_fileclose call idx=0, io_handle=4
557 130310.091  3516   2       fax   IottFaxFhandles_Close end
558 130310.091  3516   2 r     Dialogic  TFX_FAXSEND 161 (0 0 0 OK  )
...
579 130311.046  3516   2 ev    GCEV_DISCONNECTED crn=2800016
580 130311.046  3516   2       gc_ResultValue: event 0x826 received on ldev: 2 - Normal completion
581 130311.046  3516   2       gc_ResultValue: GC_ISDN_LIB 0x826 received on ldev: 2 - Normal clearing
582 130311.046  3516   2       Event_CallState GCEV_DISCONNECTED iLineCallState=16384, hCall=2800016|41943062 m_pktTelProxyClient=00261670
583 130311.046  3516   2 r     CallState GCEV_DISCONNECTED

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
×