]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_rayo: log when rayo call is rejected because there are no online clients
authorChris Rienzo <chris.rienzo@grasshopper.com>
Fri, 8 Nov 2013 14:38:10 +0000 (09:38 -0500)
committerChris Rienzo <chris.rienzo@grasshopper.com>
Fri, 8 Nov 2013 14:38:10 +0000 (09:38 -0500)
src/mod/event_handlers/mod_rayo/mod_rayo.c

index f852d2c5f8bfac195cf94a57f447607087b8d5cb..7bb5dfc6f82ac05975c1a16bb90372aabb81c7ab 100644 (file)
@@ -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);
                }
        }