提交 4a981b33 authored 作者: Mathieu Parent's avatar Mathieu Parent 提交者: Nathan Neulinger

Don't pretend we support skinny-wait timeout (See #FS 477)

上级 b36ad82d
......@@ -7,17 +7,17 @@
The special applications:
- skinny-process tells skinny to process the call (route, set call forwarding, ...)
- skinny-drop tells skinny to drop the call
- skinny-wait tells skinny to wait 'data' seconds for more numbers before drop
- skinny-wait tells skinny to wait for more digits
-->
<!-- http://wiki.freeswitch.org/wiki/Mod_skinny -->
<include>
<context name="skinny-patterns">
<!--
Wait 10 seconds for another digit by default
Wait for another digit by default
-->
<extension name="Default">
<condition>
<action application="skinny-wait" data="10"/>
<action application="skinny-wait" />
</condition>
</extension>
......
......@@ -7,17 +7,17 @@
The special applications:
- skinny-process tells skinny to process the call (route, set call forwarding, ...)
- skinny-drop tells skinny to drop the call
- skinny-wait tells skinny to wait 'data' seconds for more numbers before drop
- skinny-wait tells skinny to wait for more digits
-->
<!-- http://wiki.freeswitch.org/wiki/Mod_skinny -->
<include>
<context name="skinny-patterns">
<!--
Wait 10 seconds for another digit by default
Wait for another digit by default
-->
<extension name="Default">
<condition>
<action application="skinny-wait" data="10"/>
<action application="skinny-wait" />
</condition>
</extension>
......
......@@ -698,6 +698,9 @@ switch_status_t channel_on_routing(switch_core_session_t *session)
case SKINNY_ACTION_WAIT:
/* for now, wait forever */
switch_channel_set_state(channel, CS_HIBERNATE);
if (!zstr(data)) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "skinny-wait doesn't support timeout yet (See #FS-477)");
}
break;
case SKINNY_ACTION_DROP:
default:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论