From: Chris Rienzo Date: Wed, 16 Jul 2014 17:18:52 +0000 (-0400) Subject: FS-6447 #close SUBSCRIBER_ABSENT also needs handling. Thanks to Ben Langfeld. X-Git-Tag: v1.4.8~10^2~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3df080a79fa8b49963843e9a0f23e5b51e6c8034;p=thirdparty%2Ffreeswitch.git FS-6447 #close SUBSCRIBER_ABSENT also needs handling. Thanks to Ben Langfeld. --- diff --git a/src/mod/event_handlers/mod_rayo/mod_rayo.c b/src/mod/event_handlers/mod_rayo/mod_rayo.c index f2be64dd24..bbc3c4529e 100644 --- a/src/mod/event_handlers/mod_rayo/mod_rayo.c +++ b/src/mod/event_handlers/mod_rayo/mod_rayo.c @@ -2743,6 +2743,7 @@ static void *SWITCH_THREAD_FUNC rayo_dial_thread(switch_thread_t *thread, void * /* out of sessions, typically */ response = iks_new_error_detailed(iq, STANZA_ERROR_RESOURCE_CONSTRAINT, "DESTINATION_OUT_OF_ORDER"); break; + case SWITCH_CAUSE_SUBSCRIBER_ABSENT: case SWITCH_CAUSE_USER_NOT_REGISTERED: { /* call session was never created, so we must fake it so that a call error is sent and not a dial error */