标签:%s alt 添加 inf recording app info arch dia
在/usr/local/freeswitch/conf/dialplan/default.xml文件里,<extension name="Local_Extension">节下面
<action application="set" data="RECORD_TITLE=Recording ${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d %H:%M)}"/> <action application="set" data="RECORD_COPYRIGHT=(c) 2020"/> <action application="set" data="RECORD_SOFTWARE=FreeSWITCH"/> <action application="set" data="RECORD_ARTIST=FreeSWITCH"/> <action application="set" data="RECORD_COMMENT=FreeSWITCH"/> <action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d %H:%M)}"/> <action application="set" data="RECORD_STEREO=true"/> <action application="set" data="enable_file_write_buffering=false"/> <action application="set" data="media_bug_answer_req=true"/> <action application="record_session" data="$${base_dir}/recordings/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav"/>
其它拨号方案,需要录音的地方也如此添加。
media_bug_answer_req=true
为true时,接通后录音。
标签:%s alt 添加 inf recording app info arch dia
原文地址:https://www.cnblogs.com/cash/p/13113220.html