mod_rayo: log when rayo call is rejected because there are no online clients

This commit is contained in:
Chris Rienzo 2013-11-08 09:38:10 -05:00
parent fca7a4732c
commit 035818aa3a
1 changed files with 1 additions and 0 deletions

View 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);
}
}