|
|
@@ -920,6 +920,13 @@ bool CFsProxy::takeBack(LONG JobId, CVirtualChan* pChan)
|
|
920
|
920
|
****************************************************************/
|
|
921
|
921
|
bool CFsProxy::record(LONG JobId, CVirtualChan* pChan, LPCTSTR RcdFile)
|
|
922
|
922
|
{
|
|
|
923
|
+ CString filePath = RcdFile;
|
|
|
924
|
+ int index = filePath.ReverseFind('.');
|
|
|
925
|
+ filePath = filePath.Left(index) + "-confe.mp4";
|
|
|
926
|
+ CString Param;
|
|
|
927
|
+ Param.Format(_T("filePath=%s"), filePath);
|
|
|
928
|
+ m_Gateway.Execte2("export", Param, pChan->chanId());
|
|
|
929
|
+
|
|
923
|
930
|
CString EslCmd;
|
|
924
|
931
|
EslCmd.Format(_T("bgapi uuid_record %s start %s\r\n%s: %ld"), pChan->chanId(), RcdFile, ESL_HEADER_JOB_UUID, JobId);
|
|
925
|
932
|
|