mediasol Report post Posted 05/27/2009 02:05 AM What is wrong? I have using a xml file to call a vg script and send a pdf file. The script is not working... I have upload the script, xml and log. The vg script could load the script! What I'm doing wrong? vg_fax.zip Share this post Link to post
SupportTeam Report post Posted 05/27/2009 06:07 AM This issue does not appear to exist when tested for in the current latest v7 release. Please update system to latest v7 version and you should be able to use a vgs/vgp script for the fax entry. I understand that you are currently able to send faxes ok when specifying pdf/tif/tiff in the fax entry. yes? 154620.635 3 3 sending fax on outgoing call. 154620.635 3 3 OnOutboundCallAnswered_Start_SendFax_Option 0,0,0 154620.635 3 3 Set_hCall crn=20000002, called from StartSendingFaxMessage ... 154620.635 3 3 NewVgsVgm_Goto C:\ProjectsVgNet\bin\Scripts\Credit Card Payment\Credit Card Payment.vgs,,,,,0 154620.635 3 3 NewVgsVgm_Goto_Setup dest=C:\ProjectsVgNet\bin\Scripts\Credit Card Payment\Credit Card Payment.vgs|, return=|, lSaveSourceOnCallStack=0 154620.635 3 3 rv add [scriptEnd_Time]{2009-05-27 15:46:20} 154620.635 3 3 rv add [scriptEnd_Goto_Script]{C:\ProjectsVgNet\bin\Scripts\Credit Card Payment\Credit Card Payment.vgs} 154620.635 3 3 rv add [scriptEnd_Goto_Module]{} 154620.635 3 3 WriteToLogFiles_CurrScriptOnly begin 154620.635 3 3 WriteToLogFiles_CurrScriptOnly : LineState.iVgsIdx<=0 154620.635 3 3 rv add [scriptStart_Time]{2009-05-27 15:46:20} 154620.635 3 3 FindFullPathToScript_VgsOrVgp start [C:\ProjectsVgNet\bin\Scripts\Credit Card Payment\Credit Card Payment.vgs] 154620.635 3 LoadedVgs_Find C:\ProjectsVgNet\bin\Scripts\Credit Card Payment\Credit Card Payment.vgs at idx=2 154620.635 3 3 rvns add [scriptsPath]{C:\ProjectsVgNet\bin\Scripts\Credit Card Payment\} 154620.635 3 3 StartModuleDefault=[ModuleF] 154620.635 3 3 t timer clear (force=False) 154620.635 3 3 RunModule start [Play,[ModuleF],22] 154620.635 3 3 [ModuleF] VGMTYPE_PLAY run start Share this post Link to post
mediasol Report post Posted 05/28/2009 12:04 AM Hi Have upgraded to the vg 7.0 patch and re-ran the same xml. Only this time the record was loaded into the db version and is not dialing. It just sitting there! See log file for 9677 fax number. And yes we can successful send pdf faxes using the vg outbound number loader. Can you what going wrong? 0528_ktTts.zip Share this post Link to post
SupportTeam Report post Posted 05/28/2009 02:26 AM Trace shows the number being loaded: 091806.593 21 0 OutDial load from [C:\Program Files\VoiceGuide\data\OutDial_28520099186.xml] 091806.593 21 DialListLoadFileXML ReadAllText call 091806.593 21 0 Db_Insert_PrepareCmdParams AddParamToCmd calls 091806.593 21 0 Db_Insert_PrepareCmdParams cmdCQ.Parameters[...] set calls. 091806.593 21 0 Db_Insert_PrepareCmdParams 091806.593 21 0 dial Db_Insert_CallQueAndPortList CallQue insert call [18310755279677] 091806.593 21 0 dial cmd_CallQue_Insert.ExecuteReader [18310755279677] call ... 091806.703 21 0 dial cmd_CallQue_Insert.ExecuteReader [18310755279677] returned, some data FieldCount=1 091806.703 21 0 dial dr[iD] : Could not find specified column in results 091806.703 21 0 dial cmd_CallQue_Insert.ExecuteReader [18310755279677] sID=NOT SET, oID=2, iID=2 091806.703 21 0 dial Db_Insert_CallQueAndPortList CallQue insert returned TimeSpan=00:00:00.1093750 091806.703 21 dial Db_Insert_CallQueAndPortList iID_JustInserted=2 091806.703 21 dial Db_Insert_PortToUse id=2, guid=[89973cdf-5b43-45b5-9054-8a72e73dd447] sPortList=[3,4,5,6,7,8] ... 091807.156 21 dial Db_Insert_PortToUse inserts made: 6, ts=00:00:00.4531250 091807.156 21 dial Db_Insert_CallQueAndPortList Db_Insert_PortToUse returned 091807.156 21 0 OutDial input file : loaded 1 entries from C:\Program Files\VoiceGuide\data\OutDial_28520099186.xml 091807.156 21 OutDial input file deleted : C:\Program Files\VoiceGuide\data\OutDial_28520099186.xml and immediately the call was found by the dialer: 091807.156 10 dial FindCallQueryCompleted some calls found (any lineid search), ID/GUID=2/00000000-0000-0000-0000-000000000000, sTaskTimestamp=091807.156, diff=00:00:00 091807.156 10 dial state 1:Null,2:Null,3:Null,4:Null,5:Null,6:Null,7:Null,8:Null, 091807.156 10 dial FindCallQueryCompleted a call was not found. Port= 1, sTaskTimestamp=091807.156, diff=00:00:00 091807.156 10 dial state 1:Null,2:Null,3:Null,4:Null,5:Null,6:Null,7:Null,8:Null, 091807.156 10 dial FindCallQueryCompleted a call was not found. Port= 2, sTaskTimestamp=091807.156, diff=00:00:00 091807.156 10 dial state 1:Null,2:Null,3:Null,4:Null,5:Null,6:Null,7:Null,8:Null, 091807.156 10 dial db do findcall objDbDataReader_Stage2.Read() returned True 091807.156 10 dial db do findcall objDbDataReader_Stage2.iFieldCount=18, sTaskTimestamp=091807.156, diff=00:00:00 091807.156 10 dial db do findcall oOutCallData.iID=2 091807.156 10 dial db do findcall oOutCallData.guid is not used LinkField=[iD] 091807.156 10 dial db do findcall oOutCallData.strPhoneNumber=[18310755279677] 091807.156 10 dial db do findcall oOutCallData.strPhoneNumberPrefix=[] 091807.156 10 dial db do findcall oOutCallData.datetimeActivation=[28/05/2009 9:17:00 AM] 091807.156 10 dial db do findcall oOutCallData.iRetriesCount/Delay(min)=[2/30] 091807.156 10 dial live=, am=, fax=C:\mediasol\customer_files\vg_fax\vg-fax.vgp, onNotAnswer=, onRetriesExhausted= 091807.265 10 dial callque update id/guid=2/00000000-0000-0000-0000-000000000000 nextActivateTime=28/05/2009 9:48:07 AM, retriesLeft=1, iRelatedPortNumber=3 : completed ok 091807.265 10 dial FindCallQueryCompleted a call was found. Port= 3, sTaskTimestamp=091807.156, diff=00:00:00.1093750 091807.265 10 0 qScr add cmdOutboundCallStart 0 and the call was dialed (on port 3): 091807.265 6 5 dial StartOutgoingCall start tel[18310755279677] live[] am[] fax[C:\mediasol\customer_files\vg_fax\vg-fax.vgp] onNotAnswered[] onRetriesEnd[] rv[ [ref]{1059} [callnum]{18310755279677} [campaign] {test-fax} [state]{} [postcode]{} [user1]{} [user2]{} [user3]{} [user4]{} [user5]{} [user6]{} [user7]{} [user8]{} [user9]{} [user10]{} [pickupretry] {2} [faxfile]{C:\crco-fax\Fax-Teleseminar-3-easy-ways-09-04-23-ver2.pdf} ] CampaignName[test-fax] options[] ID=2 091807.265 6 5 ls set Dialing 091807.265 6 5 answering machine detection enabled. sCallProgressOption = [DX_PAMDOPTEN] 091807.265 6 5 rv clear all 091807.265 6 5 rv add [ref]{1059} 091807.265 6 5 rv add [callnum]{18310755279677} 091807.265 6 5 rv add [campaign]{test-fax} 091807.265 6 5 rv add [state]{} 091807.265 6 5 rv add [postcode]{} 091807.265 6 5 rv add [user1]{} 091807.265 6 5 rv add [user2]{} 091807.265 6 5 rv add [user3]{} 091807.265 6 5 rv add [user4]{} 091807.265 6 5 rv add [user5]{} 091807.265 6 5 rv add [user6]{} 091807.265 6 5 rv add [user7]{} 091807.265 6 5 rv add [user8]{} 091807.265 6 5 rv add [user9]{} 091807.265 6 5 rv add [user10]{} 091807.265 6 5 rv add [pickupretry]{2} 091807.265 6 5 rv add [faxfile]{C:\crco-fax\Fax-Teleseminar-3-easy-ways-09-04-23-ver2.pdf} 091807.265 6 5 rv add [OutDial_RetriesLeft]{2} 091807.265 6 5 dial making call LineState settings: tel[18310755279677] live[] am[] fax[C:\mediasol\customer_files\vg_fax\vg-fax.vgp] noAnswer[] retriesEnd[] OnHangup[] rv[ [ref]{1059} [callnum]{18310755279677} [campaign] {test-fax} [state]{} [postcode]{} [user1]{} [user2]{} [user3]{} [user4]{} [user5]{} [user6]{} [user7]{} [user8]{} [user9]{} [user10]{} [pickupretry] {2} [faxfile]{C:\crco-fax\Fax-Teleseminar-3-easy-ways-09-04-23-ver2.pdf} [OutDial_RetriesLeft]{2}] options=[] 091807.265 6 5 state Dialing 18310755279677 091807.265 6 5 t timer set 45 sec : EV_TIMEOUT_MAKECALL_NORESPONSE 091807.265 6 5 ls set Dialing 091807.265 10 dial FindCallQueryCompleted a call was not found. Port= 5, sTaskTimestamp=091807.265, diff=00:00:00 091807.265 6 5 rvns add [OutDial_Result]{NOTCONTACTED} 091807.265 6 5 rvns add [OutDial_Result]{NOANSWER} 091807.265 10 dial state 1:Null,2:Null,3:Dialing,4:Null,5:Null,6:Null,7:Null,8:Null, 091807.265 6 5 ktTel_MakeCall_Enqueue([18310755279677],FAX_CNG, 45,0,0,,) call 091807.265 6 5 qTel add cmd_MakeCall [0,0,45,0,0][||18310755279677|FAX_CNG|] 091807.265 7 5 qTel run cmd_MakeCall and immediately after dialing the fax script was started: 091809.875 6 5 OnOutboundCallAnswered_Start_SendFax_Option 0,0,0 091809.875 6 5 Set_hCall crn=20000002, called from StartSendingFaxMessage 091809.875 6 5 NewVgsVgm_Goto C:\mediasol\customer_files\vg_fax\vg-fax.vgp,,,,,0 091809.875 6 5 NewVgsVgm_Goto_Setup dest=C:\mediasol\customer_files\vg_fax\vg-fax.vgp|, return=|, lSaveSourceOnCallStack=0 091809.875 6 5 rv add [scriptEnd_Time]{2009-05-28 09:18:09} 091809.875 6 5 rv add [scriptEnd_Goto_Script]{C:\mediasol\customer_files\vg_fax\vg-fax.vgp} 091809.875 6 5 rv add [scriptEnd_Goto_Module]{} 091809.875 6 5 WriteToLogFiles_CurrScriptOnly begin 091809.875 6 5 WriteToLogFiles_CurrScriptOnly : LineState.iVgsIdx<=0 091809.875 6 5 rv add [scriptStart_Time]{2009-05-28 09:18:09} 091809.875 6 5 FindFullPathToScript_VgsOrVgp start [C:\mediasol\customer_files\vg_fax\vg-fax.vgp] 091809.890 6 VgsScriptLoad load start [C:\mediasol\customer_files\vg_fax\vg-fax.vgp] 091809.921 6 5 loaded [C:\mediasol\customer_files\vg_fax\vg-fax.vgp] into:5 091809.921 6 5 rvns add [scriptsPath]{C:\mediasol\customer_files\vg_fax\} 091809.921 6 5 StartModuleDefault=[intro-Msg] 091809.921 6 5 t timer clear (force=False) 091809.921 6 5 RunModule start [Play,[intro-Msg],29] 091809.921 6 5 [intro-Msg] VGMTYPE_PLAY run start 091809.921 6 5 state [intro-Msg] Playing 091809.921 6 5 PrepareAndPlayWavAndTts start iModuleIdx=29, iPlayFileIdx=1, bMakeTtsFile=True, sSoundFileIs= 091809.921 6 5 rv replace start: [$RV[faxfile]] 091809.921 6 5 rvns: [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[ref]{1059}[callnum]{18310755279677}[campaign]{test-fax}[state]{}[postcode]{}[user1]{}[user2]{}[user3]{}[user4]{}[user5]{}[user6]{}[ user7]{}[user8]{}[user9]{}[user10]{}[pickupretry]{2}[faxfile]{C:\crco-fax\Fax-Teleseminar-3-easy-ways-09-04-23-ver2.pdf}[OutDial_RetriesLeft]{2}[OutDial_Result]{NOTCONTACTED}[OutDial_Result]{ NOANSWER}[scriptEnd_Time]{2009-05-28 09:18:09}[scriptEnd_Goto_Script]{C:\mediasol\customer_files\vg_fax\vg-fax.vgp}[scriptEnd_Goto_Module]{}[scriptStart_Time]{2009-05-28 09:18:09}[scriptsPath]{C:\mediasol\customer_files\vg_fax\} 091809.921 6 5 rv replace end: [C:\crco-fax\Fax-Teleseminar-3-easy-ways-09-04-23-ver2.pdf] 091809.921 6 5 PrepareAndPlayWavAndTTS sPlayFile=C:\crco-fax\Fax-Teleseminar-3-easy-ways-09-04-23-ver2.pdf but there is a bug which results in the fax not being sent. DTMF tones are being sent instead. 091809.921 6 5 state [intro-Msg] Playing dtmf (C:\crco-fax\Fax-Teleseminar-3-easy-ways-09-04-23-ver2.pdf) using PlayStart 091809.921 6 5 t timer clear (force=False) 091809.921 6 5 qTel add cmd_PlayStart [0,0,0,0,0][||||] 091809.921 6 5 play start ok, playId=253265 091809.921 7 5 qTel run cmd_PlayStart 091809.921 6 2 NewVgsVgm_Goto end 091809.921 6 5 qScr run evScriptEvent TDX_CST, iActionID=0, crn=20000002[27615|0|0|0|0][DE_LCON|||||] 091809.921 6 5 ScriptEvent TDX_CST DE_LCON|| 091809.921 6 5 LsPlayMsg EV_UNKNOWN_134,TDX_CST 091809.921 6 5 path {TDX_CST} not found we will fix this bug in future release of VG. For now it is possible to workaround this bug by ensuring that the path/filename expression (after $RV replacement) does not start with either letters a,b,c,d,A,B,C,D and does not start with a number. Easiest way to do this is to use a relative path for the file (relative to the script's location) - that way the path starts with a full stop, something like below: ..\..\crco-fax\Fax-Teleseminar-3-easy-ways-09-04-23-ver2.pdf or just place file in scripts directory and just specify the fax file's filename without any path in the Play module (first character restrictions as per above would still apply). Share this post Link to post
mediasol Report post Posted 05/28/2009 08:47 AM The workaround is not simple for us long term. when would you be fixing the bug. Could you give possible date? Share this post Link to post
SupportTeam Report post Posted 05/28/2009 09:49 AM A new version will be released in a couple of weeks. Another workaround would be to just map another drive letter to the directory where you store the faxes, or just to the C:\ itself. Use the subst command from the Command prompt (or the autoexec batch file if you want to have this setting done automatically at startup). eg. if you have: subst h: c:\ you will be able to specify the fax by using: h:\crco-fax\Fax-Teleseminar-3-easy-ways-09-04-23-ver2.pdf instead of C:\crco-fax\Fax-Teleseminar-3-easy-ways-09-04-23-ver2.pdf Share this post Link to post