From 346ab372069dd2be35cdf80a7edff16fdef23dad Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 29 Jul 2008 15:27:41 +0000 Subject: [PATCH] honor keyword silence in fifo MODAPP-118 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9199 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_fifo/mod_fifo.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c index c4211d2b1e..d083e0039a 100644 --- a/src/mod/applications/mod_fifo/mod_fifo.c +++ b/src/mod/applications/mod_fifo/mod_fifo.c @@ -454,6 +454,10 @@ SWITCH_STANDARD_APP(fifo_function) } } + if (moh && !strcasecmp(moh, "silence")) { + moh = NULL; + } + check_string(announce); check_string(moh); switch_assert(node);