Changes in URL Sending(Dispo Call URL, No-Agent URL, etc...)

Discussions about development of VICIDIAL and astGUIclient

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

Changes in URL Sending(Dispo Call URL, No-Agent URL, etc...)

Postby mflorell » Sun Jul 12, 2015 7:53 pm

We recently finished adding the ability to define more than one Dispo Call URL in a campaign or in-group. This new feature exposed an issue that had been more rare before, but with this new feature it became more prominent. The issue was that the agent screen AJAX call that sends the Agent's selected disposition and completes the logging of the lead was also the function that sent the Dispo Call URL requests and waited for a response to those requests. For companies that used slow-to-respond web pages for their Dispo Call URLs this resulted in agents sometimes going on pause several seconds after their calls dispositioned or other agent screen and logging issues. The first fix for this was done a week ago when that process was made to be "blocking", meaning that the next steps wouldn't automatically happen until the Disposition functions had finished. That created a problem of agents having to sit and wait for all of the Dispo Call URL requests to finish before they could move on to their next call. I tried several different methods of fixing this, but the solution I settled on was to let the Disposition process create the Dispo Call URLs to send out, but not actually send them, then once the disposition process was complete, a separate non-blocking AJAX request is sent from the agent screen to run in the background sending the URLs(using their url_log_id) as logged in the vicidial_url_log table. This solution allows the agent to move on as soon as the disposition process is finished(not including dispo call url sending). The logging also now stores the timestamp of when the response was received.

The other URL change is related to the AST_send_URL.pl script, which handles No-Agent Call URLs and a few others. This process had not been set up to log failures with any amount of useful logging, and it also did not work with HTTPS web addresses. These two issues are fixed, and now all logging from wget for each request is stored in the vicidial_url_log table along with the response.

While we have tested these changes pretty extensively, there is always the possibility that an issue may come up. If you notice one, please post here or on the Issue Tracker.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Changes in URL Sending(Dispo Call URL, No-Agent URL, etc

Postby omarrodriguezt » Tue Sep 01, 2015 9:18 am

Hello,
Thank you.
http://www.ITContinental.com
Dedicated USA Servers - Vicibox - Vicidial - Limesurvey - Vtiger CRM - More than 15 years experience - Hablamos Español
omarrodriguezt
 
Posts: 667
Joined: Fri Jun 05, 2009 12:22 pm
Location: Dominican Republic

Re: Changes in URL Sending(Dispo Call URL, No-Agent URL, etc

Postby necival » Thu Jun 30, 2016 11:52 am

Hey Matt, thanks for the Dispo URL. I was wondering if there was a --A--disposition--B-- value for passing the selected disposition in the URL?

Thanks
necival
 
Posts: 23
Joined: Tue Jul 31, 2012 4:35 pm

Re: Changes in URL Sending(Dispo Call URL, No-Agent URL, etc

Postby mflorell » Thu Jun 30, 2016 1:48 pm

From the HELP:

Dispo Call URL -This web URL address is not seen by the agent, but it is called every time a call is dispositioned by an agent if it is populated. Uses the same variables as the web form fields and scripts. dispo, callback_lead_status and talk_time are the variables you can use to retrieve the agent-defined disposition for the call and the actual talk time in seconds of the call. This URL can NOT be a relative path. Default is blank. If you put ALT into this field and submit this form, you will be able to go to a separate page where you can define multiple URLs for this action as well as specific statuses that will trigger them.

So, use --A--dispo--B--
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Changes in URL Sending(Dispo Call URL, No-Agent URL, etc

Postby necival » Thu Jun 30, 2016 2:22 pm

Thanks for the quick reply - I must have missed that.
necival
 
Posts: 23
Joined: Tue Jul 31, 2012 4:35 pm


Return to Development

Who is online

Users browsing this forum: No registered users and 31 guests