mod_rayo: reply with temporary failure if no clients available to accept call
This commit is contained in:
parent
6f2671b2d5
commit
6fd5c9fd9d
|
@ -2885,7 +2885,7 @@ SWITCH_STANDARD_APP(rayo_app)
|
||||||
|
|
||||||
/* nobody to offer to */
|
/* nobody to offer to */
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
switch_channel_hangup(channel, RAYO_CAUSE_DECLINE);
|
switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_TEMPORARY_FAILURE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue