]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6447 #close SUBSCRIBER_ABSENT also needs handling. Thanks to Ben Langfeld.
authorChris Rienzo <chris.rienzo@grasshopper.com>
Wed, 16 Jul 2014 17:18:52 +0000 (13:18 -0400)
committerChris Rienzo <chris.rienzo@grasshopper.com>
Wed, 16 Jul 2014 17:21:19 +0000 (13:21 -0400)
src/mod/event_handlers/mod_rayo/mod_rayo.c

index f2be64dd24e857a8a3d8e8438eca94986ea86472..bbc3c4529e28b0370d57e17b8a610a6bd0c5e271 100644 (file)
@@ -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 */