FS-6447 #close SUBSCRIBER_ABSENT also needs handling. Thanks to Ben Langfeld.

This commit is contained in:
Chris Rienzo 2014-07-16 13:18:52 -04:00
parent 91d405a2c1
commit 3df080a79f
1 changed files with 1 additions and 0 deletions

View 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 */