mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-22 03:51:48 +00:00
mod_rayo: reply with temporary failure if no clients available to accept call
This commit is contained in:
parent
365fc08719
commit
5f6d3f0f8e
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user