提交 a47819fd authored 作者: Mitch Capper's avatar Mitch Capper

Use single quotes to work around bug from FS-3115 until fixed

上级 7daf4ac0
...@@ -258,7 +258,7 @@ namespace FSClient { ...@@ -258,7 +258,7 @@ namespace FSClient {
} }
private void StopRecordCall(){ private void StopRecordCall(){
Utils.bgapi_exec("uuid_record", leg_b_uuid + " stop \"" + am_recording_file + "\""); Utils.bgapi_exec("uuid_record", leg_b_uuid + " stop '" + am_recording_file + "'");
am_recording_file = null; am_recording_file = null;
} }
...@@ -276,7 +276,7 @@ namespace FSClient { ...@@ -276,7 +276,7 @@ namespace FSClient {
full_path = full_path.Replace('\\', '/'); //seems freeswitch will selectively escape what it cant otherwise full_path = full_path.Replace('\\', '/'); //seems freeswitch will selectively escape what it cant otherwise
am_recording_file = full_path + ".wav"; am_recording_file = full_path + ".wav";
Utils.bgapi_exec("uuid_setvar", leg_b_uuid + " record_stereo true"); Utils.bgapi_exec("uuid_setvar", leg_b_uuid + " record_stereo true");
Utils.bgapi_exec("uuid_record", leg_b_uuid + " start \"" + am_recording_file +"\""); Utils.bgapi_exec("uuid_record", leg_b_uuid + " start '" + am_recording_file +"'");
} }
private void Call_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { private void Call_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) {
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论