]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_rayo: reply with temporary failure if no clients available to accept call
authorChris Rienzo <chris.rienzo@grasshopper.com>
Thu, 8 Aug 2013 15:59:17 +0000 (11:59 -0400)
committerChris Rienzo <chris.rienzo@grasshopper.com>
Thu, 8 Aug 2013 15:59:17 +0000 (11:59 -0400)
src/mod/event_handlers/mod_rayo/mod_rayo.c

index 6798f70f06d5a9b695965b1efa1320ae37d28569..803bb2754d8e59901b2f74164d2606ea1e5bc595 100644 (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);
                }
        }