From: Chris Rienzo Date: Thu, 8 Aug 2013 15:59:17 +0000 (-0400) Subject: mod_rayo: reply with temporary failure if no clients available to accept call X-Git-Tag: v1.4.1~18^2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f6d3f0f8edeaa561ddf24577d731c821ce9380b;p=thirdparty%2Ffreeswitch.git mod_rayo: reply with temporary failure if no clients available to accept call --- diff --git a/src/mod/event_handlers/mod_rayo/mod_rayo.c b/src/mod/event_handlers/mod_rayo/mod_rayo.c index 6798f70f06..803bb2754d 100644 --- a/src/mod/event_handlers/mod_rayo/mod_rayo.c +++ b/src/mod/event_handlers/mod_rayo/mod_rayo.c @@ -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); } }