Page 1 of 1

Short Call Status

PostPosted: Tue Sep 22, 2015 7:26 am
by areon
Hello, people!
Please, help!

I need a short call status. This, in some way, should be such a thing: i have outbound / survey campaign, the customer picks up the phone, but instead of answering he screams "F**K YOU!" and hangs up. It turns out, we talked with him only 3-5 seconds, but we did not have time to say anything, despite the fact that Vicidial notes this call as successful.
How to make that calls, for example, duration less than 10 seconds marked a DROP?

Re: Short Call Status

PostPosted: Tue Sep 22, 2015 7:38 am
by omarrodriguezt
Hello,
You can run a query against vicidial_carrier_log table, look for any answered call with duration less than 10 seconds, and update the record in vicidial_list to DROP.

Re: Short Call Status

PostPosted: Tue Sep 22, 2015 7:57 am
by areon
Thank you for your reply, Omar!
You mean writing a AGI-script? Admin interface does not have such opportunities?

Re: Short Call Status

PostPosted: Tue Sep 22, 2015 8:46 am
by omarrodriguezt
Yes, you can run an AGI-script to do that. I have not see this kind of option before in the admin GUI.

Re: Short Call Status

PostPosted: Tue Sep 22, 2015 12:15 pm
by bobchaos
Don`t make them DROP, create a different status (at campaign or system level, whichever is best for you) for those if you want them accounted for. DROP is a special status used by Vicidial to calculate your drop rate, a value that is legally regulated in most countries I know of. You don`t want to mess with that stat.

Re: Short Call Status

PostPosted: Wed Sep 23, 2015 5:01 am
by areon
Thank you, friends, I understood everything.
Ohhh, I don't want select data from db, write new AGI-script, but probably it necessary.
Although surprising, because the task seemed trivial to me ...

Re: Short Call Status

PostPosted: Wed Sep 23, 2015 6:31 am
by areon
By the way, no one will tell me how to catch the event of the user end the call and subsequent call AGI?
IF("Customer Hangup") { EXEC MY_AGI }?

Re: Short Call Status

PostPosted: Mon Oct 05, 2015 1:00 pm
by bobchaos
Why make a script? If the scenario involves the agent and customer talking, then the agent will be the one doing the dispo, so he can pick whatever he damn well pleases! Just create a new dial status, make it usable to your agents, add it to whatever stat group you believe is appropriate and instruct your agents to use it for those short calls. You can do that either under Admin --> System Statuses or under Campaign --> Status if you want it done at the campaign level only.