Can't stop recordings until hangup
Posted: Thu Aug 25, 2016 11:36 am
Hi,
something strange appens with my recordings.
When I click START RECORDING everything is fine, on the agent screen I see correct ID and NAME (RECORDING FILE: TEST__6666_20160825-18... RECORD ID: 78), but when I click the STOP button the recording remains active until the hangup.
Debugging this problem I've found the following error in the ajax call manager_send.php ACTION=StopMonitorConf
> Channel Local/58600059@default is not valid or exten 8600059 is not valid or filename: ID:78 is not valid, StopMonitorConf command not inserted
This error is triggered because the GET param "filename" contains "ID:78" and the file manager_send.php contains the following check:
> if ( (strlen($exten)<3) or (strlen($channel)<4) or (strlen($filename)<8) )
where filename is expected to be longer than 7 characters.
The STOP RECORDING button contains the following html:
> <a href="#" onclick="conf_send_recording('StopMonitorConf','8600059','ID:78','','','YES');return false;"><img src="./images/vdc_LB_stoprecording.gif" alt="Stop Recording" border="0"></a>
where the call to js function conf_send_recording(..) have the "ID:78" as value in filename parameter.
Can I fix this problem? I can't update this server to the last trunk version, now I'm working with VERSION: 2.12-491c BUILD: 160420-1342.
something strange appens with my recordings.
When I click START RECORDING everything is fine, on the agent screen I see correct ID and NAME (RECORDING FILE: TEST__6666_20160825-18... RECORD ID: 78), but when I click the STOP button the recording remains active until the hangup.
Debugging this problem I've found the following error in the ajax call manager_send.php ACTION=StopMonitorConf
> Channel Local/58600059@default is not valid or exten 8600059 is not valid or filename: ID:78 is not valid, StopMonitorConf command not inserted
This error is triggered because the GET param "filename" contains "ID:78" and the file manager_send.php contains the following check:
> if ( (strlen($exten)<3) or (strlen($channel)<4) or (strlen($filename)<8) )
where filename is expected to be longer than 7 characters.
The STOP RECORDING button contains the following html:
> <a href="#" onclick="conf_send_recording('StopMonitorConf','8600059','ID:78','','','YES');return false;"><img src="./images/vdc_LB_stoprecording.gif" alt="Stop Recording" border="0"></a>
where the call to js function conf_send_recording(..) have the "ID:78" as value in filename parameter.
Can I fix this problem? I can't update this server to the last trunk version, now I'm working with VERSION: 2.12-491c BUILD: 160420-1342.