invoso.com Report post Posted 07/05/2019 07:35 AM Hi, we have application mergecall.exe to convert recorded calls to mp3 and we can't start it in RUN module. In command-line mode working properly. 0704_0000_vgEngine.zip Share this post Link to post
SupportTeam Report post Posted 07/06/2019 08:24 AM Trace shows that mergecall.exe program was started with no errors, and then mergecall.exe completed or exited in under 1 second. Does the mergecall.exe perform any logging that would say log to a known existing directory/file its progress? A write to a log file at the very beginning of program before any of its main actions are undertaken would let you confirm that program was started and further logging throughout mergecall.exe progress would let you confirm that .exe's progress. Looking at previous posts it looks like in past you were able to successfully use ffmpeg to convert the recorded sound files. Can you test to see whether you are able to call ffmpeg from a Run Program module on this system to successfully convert an existing .WAV file? Does not have to be a just recorded sound file, just any existing sound file - as a test to confirm what works and what does not work on this system. 082904.275 12 26 8 134 state [merge_call] Run Program| : display not set as L2=Running_AfterHangup 082904.275 12 26 8 134 rv replace start ["C:\Program Files (x86)\MergeCall\bin\mergecall.exe" $RV[session_id] --ftp=FTP --ap -r] 082904.275 12 26 8 134 rv replace end ["C:\Program Files (x86)\MergeCall\bin\mergecall.exe" ID201907040828460_20 --ftp=FTP --ap -r] 082904.276 12 26 8 134 File.Exists [C:\Program Files (x86)\MergeCall\bin\mergecall.exe] 082904.281 12 26 8 134 createprocess_simple : dwProcessId=1616, hProcess=19596, dwThreadId=12560, hThread=22496 082904.281 12 26 8 134 Run Program waiting 082904.281 12 26 8 134 moh not set 082904.281 12 26 8 134 t timer set 1 sec : EV_TIMEOUT_CHECKONSTATE 082904.281 12 26 8 134 RunModule finish 082905.089 4 26 8 134 timer EV_TIMEOUT_CHECKONSTATE 082905.089 4 26 8 134 q_scr + evScriptEvent 9007 EV_TIMEOUT_CHECKONSTATE 082905.089 12 26 8 134 q_scr run evScriptEvent 9007 EV_TIMEOUT_CHECKONSTATE action_id=0, crn=0 [0|0|0|0|0][|||||] 00:00:00 max:4|00:00:00.0089990 082905.089 12 26 8 134 evscr EV_TIMEOUT_CHECKONSTATE 9007 0|0|0 || LineState=LS_RUN_WAITTILLFINISHED 082905.090 12 26 8 134 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE lCode2Str=EV_TIMEOUT_CHECKONSTATE 082905.090 12 26 8 134 IsProcessRunning sModuleClearScriptProcessWasCalledFrom=TAG_RESERVERD_VoiceGuide_ClearScript_Completed, CurrModuleTitle=merge_call 082905.090 12 26 8 134 IsProcessRunning ClearScript completed 082905.090 12 26 8 134 task completed. vgm=295, iRunWait=1, iRunWait_ExeResult_NextVgm=0=[] 082905.090 12 26 8 134 ExeResult_NextVgm has not been set. check for Result file. 082905.091 12 26 8 134 no result file returned from program (VGRUNRESULT_26.TXT)."C:\Program Files (x86)\MergeCall\bin\mergecall.exe" $RV[session_id] --ftp=FTP --ap -r 082905.091 12 26 8 134 LsRunWaitTillFinished LsRunWaitChooseNext boolExeResult=False 082905.091 12 26 8 134 FindNextVgmTitleInPathList: next module title is=[finish_call] 082905.091 12 26 8 134 task completed LsRunWaitChooseNext iNextVgm=288 Share this post Link to post
invoso.com Report post Posted 07/08/2019 08:09 AM On 5.07.2019 at 9:35 AM, invoso.com said: Hi, we have application mergecall.exe to convert recorded calls to mp3 and we can't start it in RUN module. In command-line mode working properly. 0704_0000_vgEngine.zip Hi, mergecall log don't show any activity called by VG. ffmpeg called by VG (located in callrecords folder) working properly. We have copied mergecall app to callrecords folder and called using complete path. In this case mergecall not working called by VG. Share this post Link to post
SupportTeam Report post Posted 07/08/2019 09:30 AM Is it possible that mergecall.exe is relying on some system variable or search path that is only available when the .exe is called from a certain users' Command Line? Or relies on permissions or variables etc. that are only available when a certain user is logged in? Looks like you have multiple VoiceGuide systems deployed. Are you using this mergecall.exe successfully on any other VoiceGuide system? You can try using this in the Run Program module: command.com /c "C:\Program Files (x86)\MergeCall\bin\mergecall.exe" $RV[session_id] --ftp=FTP --ap -r But the above still may not work as that Command Line is still ran under the "Local System" account by default. You can change what account the entire VoiceGuide IVR service is running by editing the service's properties in the "Services" control panel, but would be better to see how to ensure that the mergecall.exe can be ran from the Service's default "Local System" account. Does mergecall.exe log anything to a log file at the very beginning of starting up, before any other action is taken? How was mergecall.exe created? Using what programming language and compiler? Are you able to post or forward the source code from which this .exe is built? We can then have a look at it and see what the possible reason is. Share this post Link to post
invoso.com Report post Posted 07/08/2019 01:16 PM Hi, problem solved, We start VG service on user account and now mergecall working properly. Thanks a lot! Share this post Link to post
SupportTeam Report post Posted 07/08/2019 02:17 PM Thanks for letting us know the issue is now resolved. Would however recommend changing the custom .exe to be able to operate under default "Local System" account if possible to remove this user account dependency. Share this post Link to post