mod_rayo: reply with temporary failure if no clients available to accept call

This commit is contained in:
Chris Rienzo 2013-08-08 11:59:17 -04:00
parent 365fc08719
commit 5f6d3f0f8e

View File

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