From: Chris Rienzo Date: Fri, 8 Nov 2013 14:38:10 +0000 (-0500) Subject: mod_rayo: log when rayo call is rejected because there are no online clients X-Git-Tag: v1.5.7~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=035818aa3aaf044790df1056c48d4a4b1da8e2f7;p=thirdparty%2Ffreeswitch.git mod_rayo: log when rayo call is rejected because there are no online clients --- diff --git a/src/mod/event_handlers/mod_rayo/mod_rayo.c b/src/mod/event_handlers/mod_rayo/mod_rayo.c index f852d2c5f8..7bb5dfc6f8 100644 --- a/src/mod/event_handlers/mod_rayo/mod_rayo.c +++ b/src/mod/event_handlers/mod_rayo/mod_rayo.c @@ -3218,6 +3218,7 @@ SWITCH_STANDARD_APP(rayo_app) /* nobody to offer to */ if (!ok) { + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_NOTICE, "Rejecting rayo call - there are no online rayo clients to offer call to\n"); switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_TEMPORARY_FAILURE); } }