Cancel ringing outgoing Call before getting dropped

All installation and configuration problems and questions

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

Cancel ringing outgoing Call before getting dropped

Postby phil_discount » Fri Feb 16, 2018 2:59 am

Hi guys,

we have setup 30 seconds dial timeout.
Sometimes there is a peak in INBOUND and all OUTBOUND waiting agents are INCALL because of inbound calls.
Now i want to stop the ringing outgoing calls if the calls are older than 15 seconds and hangup with NA.

I tried deleting in vicidial_auto_calls and also in AST_VDauto_dial.pl script.
Changing dial timeout for a short time in vicidial_campaigns doesnt work for active calls, only for new calls.

Anybody an idea where i can do it?

Best regards
Philip
ViciBox Redux 3.0.5 | Vicidial 2.2.1-260 100527-2211 | Asterisk 1.4.27.1
9xVicidial 8-core 2.5GHz,4GB,SSD
4xWeb 4-core 2.5GHz,4GB,SSD
DB: 24-core-1.9GHz AMD,96GB,8xSSD Raid10
3xDBslave 4-core 2.5GHz,4GB,SSD (for SELECT: Reporting/LIVE)
400 seats
phil_discount
 
Posts: 468
Joined: Thu Jun 18, 2009 8:44 am
Location: Deutschland/Schweiz/Österreich

Re: Cancel ringing outgoing Call before getting dropped

Postby mflorell » Fri Feb 16, 2018 5:16 am

There is currently no feature that does what you describe.

A tool would need to be written that once triggered could go through all of the calls and force a hangup and log them appropriately.
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Cancel ringing outgoing Call before getting dropped

Postby phil_discount » Fri Feb 16, 2018 5:22 am

Can you tell me where i find the existing code to force a hangup when the dial timeout is reached?
ViciBox Redux 3.0.5 | Vicidial 2.2.1-260 100527-2211 | Asterisk 1.4.27.1
9xVicidial 8-core 2.5GHz,4GB,SSD
4xWeb 4-core 2.5GHz,4GB,SSD
DB: 24-core-1.9GHz AMD,96GB,8xSSD Raid10
3xDBslave 4-core 2.5GHz,4GB,SSD (for SELECT: Reporting/LIVE)
400 seats
phil_discount
 
Posts: 468
Joined: Thu Jun 18, 2009 8:44 am
Location: Deutschland/Schweiz/Österreich

Re: Cancel ringing outgoing Call before getting dropped

Postby mflorell » Fri Feb 16, 2018 7:35 am

That's not in VICIdial, that's an Asterisk function that reads the timeout VICIdial sets when the call is placed. You cannot alter the timeout value in Asterisk once the call has been placed, so that won't get you what you want.
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Cancel ringing outgoing Call before getting dropped

Postby phil_discount » Fri Feb 16, 2018 7:45 am

Perhaps its possible to destroy the call over asterisk CLI with the same timeout (NA) result?
ViciBox Redux 3.0.5 | Vicidial 2.2.1-260 100527-2211 | Asterisk 1.4.27.1
9xVicidial 8-core 2.5GHz,4GB,SSD
4xWeb 4-core 2.5GHz,4GB,SSD
DB: 24-core-1.9GHz AMD,96GB,8xSSD Raid10
3xDBslave 4-core 2.5GHz,4GB,SSD (for SELECT: Reporting/LIVE)
400 seats
phil_discount
 
Posts: 468
Joined: Thu Jun 18, 2009 8:44 am
Location: Deutschland/Schweiz/Österreich

Re: Cancel ringing outgoing Call before getting dropped

Postby mflorell » Fri Feb 16, 2018 8:07 am

Not exactly. You can hang the call up, but it will not yield the same "CANCEL" call hangup reason, it will be a call hung up by command.
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Cancel ringing outgoing Call before getting dropped

Postby phil_discount » Fri Feb 16, 2018 8:25 am

It works!

OB-Calls ringing: select phone_number from vicidial_auto_calls WHERE status = 'SENT' AND call_type = 'OUT' AND stage = 'START';
Channel Name: select channel from live_sip_channels WHERE extension like '%vicidial_auto_calls.phone_number%';
asterisk: soft hangup channel.live_sip_channels
after hangup you have to delete the vicidial_auto_calls record

vicidial_log / call_log / vicidial_list looks fine
ViciBox Redux 3.0.5 | Vicidial 2.2.1-260 100527-2211 | Asterisk 1.4.27.1
9xVicidial 8-core 2.5GHz,4GB,SSD
4xWeb 4-core 2.5GHz,4GB,SSD
DB: 24-core-1.9GHz AMD,96GB,8xSSD Raid10
3xDBslave 4-core 2.5GHz,4GB,SSD (for SELECT: Reporting/LIVE)
400 seats
phil_discount
 
Posts: 468
Joined: Thu Jun 18, 2009 8:44 am
Location: Deutschland/Schweiz/Österreich


Return to Support

Who is online

Users browsing this forum: No registered users and 129 guests