mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 13:58:32 +00:00
mod_rayo: reply with temporary failure if no clients available to accept call
This commit is contained in:
1 parent
365fc08719
commit
5f6d3f0f8e
1 file changed
+1
-1
@@ -2885,7 +2885,7 @@ SWITCH_STANDARD_APP(rayo_app)
|
||||
|
||||
/* nobody to offer to */
|
||||
if (!ok) {
|
||||
switch_channel_hangup(channel, RAYO_CAUSE_DECLINE);
|
||||
switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_TEMPORARY_FAILURE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user