Page 1 of 1

Does agent screen wait for results of dispo call url?

PostPosted: Tue Jul 03, 2018 12:12 pm
by rockgeneral
I need to update an external server with the disposition of the call in vicidial. This is obviously a perfect use for the dispo call url. I wrote a page that posts data to the outside server and the outside server takes about 7 seconds to respond.

If the dispo url takes 7 seconds to get a response, is that that going to stall the vicidial agent page? Or does the agent page trigger the dispo call url and then immediately move on. I want to make sure that the agent isn't going to be waiting for 7 seconds between dispo'ing the call and the external server responding.

Thanks in advance for your help!

Re: Does agent screen wait for results of dispo call url?

PostPosted: Tue Jul 03, 2018 6:43 pm
by blackbird2306
Although 7 seconds for response is quite a long time, it has almost no negative effect on vicidial. The dispo call url process is an AJAX request, which is by default asynchronous execution. So the engine move on to another task before it finishes after 7 seconds. But on the other side your external server could have some problems to process the post data which indicates the long response time.

Re: Does agent screen wait for results of dispo call url?

PostPosted: Thu Jul 05, 2018 6:38 am
by rockgeneral
Thanks for the clarification. The external server is not ours so all I can do for now with the response times are put in a trouble ticket.