Freeswitch originate命令使用指定的语音编码呼叫
originate命令
originate {absolute_codec_string=^^:PCMA:PCMU}user/6000 &playback(/home/go-ttsserver/wav/cce2865b-4ac0-425a-9dcb-3d9dc5af672e.wav)
bridge命令
<action application="set" data="absolute_codec_string=PCMU,GSM"/>
<action application="bridge" data="sofia/gateway/myprovider/5551231234"/>
注意
originate 命令只能用
absolute_codec_string=^^:PCMA:PCMU
而不能用
{absolute_codec_string=PCMA,PCMU}或{absolute_codec_string=‘PCMA.PCMU’}
ps: 找了很久,非常感谢!!
http://freeswitch-users.2379917.n2.nabble.com/absolute-codec-string-question-td6303067.html