uuid_audio,<uuid> [start [read|write][mute|level <level>]|stop],uuid_audio,mod_commands uuid_break,<uuid> [all],Break out ofmedia sent to channel,mod_commands uuid_bridge,,Bridge call legs,mod_commands uuid_broadcast,<uuid> <path>[aleg|bleg|holdb|both],Execute dialplan application,mo...
uuid_broadcast,<uuid> <path>[aleg|bleg|holdb|both],Execute dialplan application,mod_commands uuid_buglist,<uuid>,List media bugson a session,mod_commands uuid_chat,<uuid> <text>,Send achat message,mod_commands uuid_codec_debug,<uuid> audio|video<level>,Send codec a debug message,mod_co...
1. 开始录音 uuid_record c54d1e67-7dfe-4e51-bbca-f314ba2959df start your_local_recording_file.wav 默认freeswitch只支持wav的录音格式;当然它也可以保存mp3格式的录音,不过你需要mod_shout模块。该模块在freeswitch中的源码是包含的,但是不会默认安装。如果需要该模块,请参考本文附录部分。 其实完整的录音命...
用法: uuid_audio <uuid> [start [read|write] [mute|level <level>]|stop] level的值范围从-4到4,默认值为0。 uuid_break 断开发送至指定信道的媒体流。举例来说,如果此时正在信道上面播放一个音频文件,使用uuid_break命令,就会断开媒体,呼叫会顺着拨号方案、脚本等往下执行。
用法: uuid_answer <uuid> 1. 1 11)uuid_audio 调整信道上面的音量,或直接通过一个媒体bug进行静音(读/写)。 用法: uuid_audio <uuid> [start [read|write] [mute|level <level>]|stop] level的值范围从-4到4,默认值为0。 1. 2. 1 2
FreeSWITCH@wchi-PC>uuid_getvar 6fec25de-34e9-4a4a-9d1c-5284bf023e43 switch_r_sdp返回结果: v=0 o=- 2 2 IN IP4 192.168.1.101 s=CounterPath X-Lite 3.0 c=IN IP4 192.168.1.101 t=0 0 m=audio 55190 RTP/AVP 107 119 100 106 0 105 98 8 101 ...
switch_log_printf(SWITCH_CHANNEL_CHANNEL_LOG(channel), SWITCH_LOG_NOTICE, "New Channel %s [%s]\n", name, uuid); print_stack(); } } return SWITCH_STATUS_SUCCESS; } 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. ...
uuid_broadcast <uuid> <path> [aleg|bleg|both]:播放媒体; uuid_deflect <uuid> <sip URL>:转移通话 uuid_displace <uuid> [start|stop] <file> [<limit>] [mux]:替换媒体(Displace the audio for the target with the specified audio)
uuid_audio Adjust the audio levels on a channel or mute (read/write) via a media bug. Usage: uuid_audio <uuid> [start [read|write] [mute|level <level>]|stop] levelis in the range from -4 to 4, 0 being the default value. uuid_break Break out of media being sent to a channel...
// 需要将object转换到本地文件, 使用uuid. ext = strrchr(object, '.'); if (NULL == ext) ext = ".wav"; switch_uuid_str(uuid, sizeof(uuid)); context->local_path = switch_mprintf("%s/%02d/%s%s", globals.cache_location, (int)(seq++ % OSS_DIR_COUNT), uuid, ext); ...