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

This commit is contained in:
Mathieu Parent 2013-04-03 20:55:27 +02:00 committed by Nathan Neulinger
parent b36ad82da7
commit 4a981b336a
3 changed files with 9 additions and 6 deletions

View File

@ -7,17 +7,17 @@
The special applications: The special applications:
- skinny-process tells skinny to process the call (route, set call forwarding, ...) - skinny-process tells skinny to process the call (route, set call forwarding, ...)
- skinny-drop tells skinny to drop the call - 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 --> <!-- http://wiki.freeswitch.org/wiki/Mod_skinny -->
<include> <include>
<context name="skinny-patterns"> <context name="skinny-patterns">
<!-- <!--
Wait 10 seconds for another digit by default Wait for another digit by default
--> -->
<extension name="Default"> <extension name="Default">
<condition> <condition>
<action application="skinny-wait" data="10"/> <action application="skinny-wait" />
</condition> </condition>
</extension> </extension>

View File

@ -7,17 +7,17 @@
The special applications: The special applications:
- skinny-process tells skinny to process the call (route, set call forwarding, ...) - skinny-process tells skinny to process the call (route, set call forwarding, ...)
- skinny-drop tells skinny to drop the call - 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 --> <!-- http://wiki.freeswitch.org/wiki/Mod_skinny -->
<include> <include>
<context name="skinny-patterns"> <context name="skinny-patterns">
<!-- <!--
Wait 10 seconds for another digit by default Wait for another digit by default
--> -->
<extension name="Default"> <extension name="Default">
<condition> <condition>
<action application="skinny-wait" data="10"/> <action application="skinny-wait" />
</condition> </condition>
</extension> </extension>

View File

@ -698,6 +698,9 @@ switch_status_t channel_on_routing(switch_core_session_t *session)
case SKINNY_ACTION_WAIT: case SKINNY_ACTION_WAIT:
/* for now, wait forever */ /* for now, wait forever */
switch_channel_set_state(channel, CS_HIBERNATE); 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; break;
case SKINNY_ACTION_DROP: case SKINNY_ACTION_DROP:
default: default: