From 035818aa3aaf044790df1056c48d4a4b1da8e2f7 Mon Sep 17 00:00:00 2001 From: Chris Rienzo Date: Fri, 8 Nov 2013 09:38:10 -0500 Subject: [PATCH] mod_rayo: log when rayo call is rejected because there are no online clients --- src/mod/event_handlers/mod_rayo/mod_rayo.c | 1 + 1 file changed, 1 insertion(+) 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); } }