Does agent screen wait for results of dispo call url?

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Does agent screen wait for results of dispo call url?

Postby rockgeneral » Tue Jul 03, 2018 12:12 pm

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!
System Info:
ViciBox_v9.x86_64-9.0.2.iso | Version: 2.14b0.5 SVN: 3551 | DB Schema Version: 1650 | Asterisk 13.29.2-vici | Single Server
rockgeneral
 
Posts: 93
Joined: Thu Mar 04, 2010 9:28 pm

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

Postby blackbird2306 » Tue Jul 03, 2018 6:43 pm

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.
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
blackbird2306
 
Posts: 409
Joined: Mon Jun 23, 2014 5:31 pm

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

Postby rockgeneral » Thu Jul 05, 2018 6:38 am

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.
System Info:
ViciBox_v9.x86_64-9.0.2.iso | Version: 2.14b0.5 SVN: 3551 | DB Schema Version: 1650 | Asterisk 13.29.2-vici | Single Server
rockgeneral
 
Posts: 93
Joined: Thu Mar 04, 2010 9:28 pm


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 50 guests