From f4324eb3d4cb0be35beb04075bd4875a1b345dbc Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 15 Jun 2010 16:14:39 -0500 Subject: [PATCH] add queued arg to ring_ready app to send 182 --- src/mod/applications/mod_dptools/mod_dptools.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index d6020f1314..07d99cad4d 100755 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -502,6 +502,13 @@ SWITCH_STANDARD_APP(set_mute_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)); }