Page 1 of 1

Stop Recording after customer Hangup

PostPosted: Mon Jul 23, 2018 5:18 am
by nithack
Hi team,

As in current Senirio in vicidial once customer hangup the call ...recording continue to happen till agent does not click hangup call button.
So please help me what changes i need to do, that will stop recording call once the customer hangup

Server APP VERSION
Configuration:
Installed vicibox 7.3,
Vicidial version:2.12-552a ,
Asterisk version:11.25.

Re: Stop Recording after customer Hangup

PostPosted: Mon Jul 23, 2018 6:26 am
by mflorell
That is not currently a feature.

Re: Stop Recording after customer Hangup

PostPosted: Tue Jul 24, 2018 4:42 am
by nithack
Thanks you for your response but there is any other way so that i can achive it..

Re: Stop Recording after customer Hangup

PostPosted: Tue Jul 24, 2018 9:13 am
by blackbird2306
It is easy to implement this function to vicidial. This solution is hard coded, but if Matt likes it he could add it as a feature with a menu option into vicidial. You need to make your changes in vicidial.php file about line 17728 (newest revision svn 2999 build 180610-2305). Just add the green lines:

if (logout_stop_timeouts==1) {WaitingForNextStep=1;}
//just add these two next lines!
if ( (custchannellive < -1) && (lastcustchannel.length > 3) && (no_empty_session_warnings < 1) && (document.vicidial_form.lead_id.value != '') && (currently_in_email_or_chat==0) )
{conf_send_recording('StopMonitorConf', session_id, recording_filename,'','','');}

if ( (custchannellive < customer_gone_seconds) && (lastcustchannel.length > 3) && (no_empty_session_warnings < 1) && (document.vicidial_form.lead_id.value != '') && (currently_in_email_or_chat==0) )
{CustomerChanneLGone();}

Re: Stop Recording after customer Hangup

PostPosted: Tue Jul 24, 2018 9:29 am
by mflorell
Thanks for posting your solution.

Since that is a change in default behavior, we would need to add an option to be able to turn it on before we can add it to the svn/trunk codebase.