Page 1 of 1

How correctly drop/kick incoming call?

PostPosted: Wed Jan 20, 2016 5:19 am
by areon
Hello!
Friends, tell me, please, how can i drop a call from the client, if he calls to my fixed phone 890?
I set up a DID and new in-group, put down there DROP call seconds = 0, wait time option seconds = 0 and other parameters seconds = 0, my carrier:
exten => _890,1,AGI(agi-DID_route.agi)
same => n,Hangup()

But still when dialing 890 connection is made for one second (the answer to one second).
Executing Answer(), launched agi-VDAD_ALL_inbound.agi.

This is bad, because if i "Answer" the channel, the call has been completed successfully and the caller will lose their quarter ($).
How correctly drop/kick incoming call?

Re: How correctly drop/kick incoming call?

PostPosted: Wed Jan 20, 2016 4:04 pm
by ClearCall
I'm not sure I understand. Why do you have an in_group setup if you don't want the call answered?
Drop call seconds - The number of seconds a call will stay in queue before being considered a DROP. This is not a setting to tell ViciDial to hang up a call. If an agent is available, Vicidial will send the call to the agent. If no agent is available, the call will go in queue according to your settings.
You can set different call handling and routing methods but either way Vicidial will 'answer' the call.

Re: How correctly drop/kick incoming call?

PostPosted: Thu Jan 21, 2016 7:28 am
by areon
Thank you for your reply.
The logic is as follows: the customer calls to the number 890, the system kick the call, but records for request for a callback. Instantly (a few seconds) my survey-campaign must call to this client.
So, how kick this call, but register the user in the database (vicidial_list)?