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
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...
这里做桥接的两个腿的原来的的state_handler都要去掉,在这里绑上uuid_bridge_state_handlers。定义如下, static const switch_state_handler_table_t uuid_bridge_state_handlers = { /*.on_init */ NULL, /*.on_routing */ NULL, /*.on_execute */ NULL, /*.on_hangup */ NULL, /*.on_exchange_...
uuid-dev zlib1g-dev libsqlite3-dev libpcre3-dev libspeex-dev libspeexdsp-dev libldns-dev libedit-dev libladspa-ocaml-dev libmemcached-dev libmp4v2-dev libpq-dev libvlc-dev libv8-dev liblua5.2-dev libyaml-dev libpython-dev odbc-postgresql sendmail wget yasm libldap2-dev libcodec2-dev ...
// 需要将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); ...