Jump to content


< Back to Forum


 

Bad Script Path


  • Please log in to reply

#1 Maciej 15 January 2016 - 06:15 PM

we found strange path executed by VG.

 

call in first loop:

082454.043   7  10   4 state [no_caller_id] Evaluate [$RV[calling_number]]
...
082454.044   7  10   4       FindNextVgmTitleInPathList: next module title is=[Transfer Call fa with CALLER ID]
...

082454.044   7  10   4 state [Transfer Call fa with CALLER ID] Monitored Dial and Connect to 9550119222043009
...
082454.045   7 179  60       CallExistsOnLine true (makecall underway) crn=1
...
082454.047   7  10   4       Could not find free line to place outgoing call.
...

next try next loop:

082454.142   7  10   4 state [no_caller_id] Evaluate [$RV[calling_number]]
...
082454.143   7  10   4       Eval Expr result:[4793805150]

NO NEXT MODULE LOG DATA... (FindNextVgmTitleInPathList: next module title is=[Transfer Call fa with CALLER ID]

082454.044   7  10   4       rv    replace start 
------------------------------
on {answer} goto [record with permission]
...

and next following without transfer data (transfer module not executed but VG following as call transfer was successful.

 

next try to record where no Line id's data.

 

 

v7.5.5649.41862 (20-Jun-15 22:15:24.09)



#2 SupportTeam 16 January 2016 - 11:13 AM

Looks like the scirpt is not waiting for the Web Service Call module to return.

 

And when the Web Service Call module does return the path taken form that module is to "Transfer Call fa with CALLER ID".

 

Suggest that the Web Service Call modules are all set to "Wait Until Web Service Call Completes".

082454.139   7  10   4 state [external_CRM_annoucement_connect] Web Service Call
082454.139   7  10   4 t     timer set   5 sec : EV_TIMEOUT_GOTOMODULE
082454.140   7  10   4       modWs SetTimeoutEventInVgm->5
082454.140   7  10   4       rv    replace start
------------------------------
$RV[id_proj_external_crm_path]

------------------------------
082454.140   7  10   4       rv    replace end   [https://address.php?agent_id=xx&status=connecting&connection_id=ID20160115_082350_17_4_55011&calling_number=11111111&menu='1rekl-zwr, zwrot, '
]
082454.140  14  10   4       ws    GetWsResponse_Callback start. class' taskParams.hash=-1482872980 clsRequestStateData.taskParams.hash=-1482872980
082454.140   7  10   4       QueueUserWorkItem modWs.RunModule_WebService, modCurrentModuleWs.hash=45757361, zModTaskParams.hash=-1482872980
082454.140  14  10   4       ws    GetWsResponse_Callback request.hash=22289617
082454.140  14  10   4       ws    GetWsResponse_Callback start [external_CRM_annoucement_connect], time since WsUserWorkItemCreated=00:00:00.0980056
082454.140  15  10   4       ws    RunModule_WebService start iModuleIdx=1102, iRunWait=0
082454.140  14  10   4       ws    GetWsResponse_Callback WebException   wex.Message=The remote server returned an error: (503) Server Unavailable.
082454.140  15  10   4       ws    sLogFromConstructor: taskParams_in.hash=-1482872980, taskParams.hash=-1482872980
082454.140  14  10   4       ModuleCompleted_WebServiceCall [470] : [WebException]
082454.141  15  10   4       ws    RunModule_WebService start taskParams.hash=-1482872980
082454.141  15  10   4       ws    WebRequest.Create [https://address.php?agent_id=xx&status=connecting&connection_id=ID20160115_082350_17_4_55011&calling_number=11111111&menu='1rekl-zwr, zwrot, '
] call
082454.140   7  10   4       check for success path as .iRunWait=0
082454.141  14  10   4       path {470} not found
082454.141  15  10   4       ws    request.Method=[GET]
082454.141  14  10   4       path {WebException} not found
082454.141  15  10   4       ws    request.ServicePoint.CurrentConnections call.
082454.141   7  10   4       FindNextVgmTitleInPathList: next module title is=[no_caller_id]
082454.141  15  10   4       ws    CurrentConnections=0/60, ReceiveBufferSize=-1, Expect100Continue=False
082454.141   7  10   4       RunModule_AddToTaskQueue [Evaluate,[no_caller_id],1040]
082454.141  15  10   4       ws    sp.ConnectionLeaseTimeout=0, spm.DefaultConnectionLimit=60, spm.DefaultPersistentConnectionLimit=2
082454.141  15  10   4       ws    new RequestState call
082454.141  15  10   4       ws    request.ReadWriteTimeout=2000, taskParams.iWsTimeoutMs_GoToAnotherModule=1000
082454.141  15  10   4       ws    taskParams.clsRequestState.hash=32619164
082454.141  15  10   4       ws    BeginGetResponse (GetWsResponse_Callback) call. ReadWriteTimeout=2000
082454.141  14  10   4       path {The remote server returned an error: (503) Server Unavailable.} not found
082454.141   7  10   4       q_scr +     evScriptEvent 9800 CMD_RUN_SAME_MODULE_AGAIN
082454.142  14  10   4       path {CLIENT_ERROR} not found
082454.142   7  10   4       q_scr run   evScriptEvent sCode=[CMD_RUN_SAME_MODULE_AGAIN] iActionID=0, crn=0 [0|0|0|0|0][|||||] 00:00:00 max:2|00:00:00.0090005
082454.142  14  10   4       path {ERROR} not found
082454.142   7  10   4       se    CMD_RUN_SAME_MODULE_AGAIN 9800  0|0|0  || LineState=LS_WS_CALL
082454.142   7  10   4 t     timer clear (force=False)
082454.142  14  10   4       FindNextVgmTitleInPathList: next module title is=[Transfer Call fa with CALLER ID]
082454.142   7  10   4       RunModule start Evaluate, [no_caller_id], iModuleIdx=1040, previous: vgm=1040, vgs=14:14
082454.142  14  10   4       RunModule_AddToTaskQueue [Transfer Call,[Transfer Call fa with CALLER ID],982]