by blackbird2306 » Tue Jul 24, 2018 9:13 am
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();}
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3