提交 f4324eb3 authored 作者: Anthony Minessale's avatar Anthony Minessale

add queued arg to ring_ready app to send 182

上级 3c688a95
...@@ -502,6 +502,13 @@ SWITCH_STANDARD_APP(set_mute_function) ...@@ -502,6 +502,13 @@ SWITCH_STANDARD_APP(set_mute_function)
SWITCH_STANDARD_APP(ring_ready_function) SWITCH_STANDARD_APP(ring_ready_function)
{ {
if (!zstr(data)) {
if (!strcasecmp(data, "queued")) {
switch_channel_ring_ready_value(switch_core_session_get_channel(session), SWITCH_RING_READY_QUEUED);
return;
}
}
switch_channel_ring_ready(switch_core_session_get_channel(session)); switch_channel_ring_ready(switch_core_session_get_channel(session));
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论