From a160f30ee76a703f1819d005fe35371cbfd405d3 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 21 Nov 2011 13:39:21 -0600 Subject: [PATCH] FS-3688 update and repeat tests --- src/mod/endpoints/mod_sofia/sofia.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index a132539408..6f4f5f1034 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -1312,6 +1312,11 @@ void sofia_event_callback(nua_event_t event, { sofia_dispatch_event_t *de; + if (event == nua_r_invite && status >= 900) { + return; + } + + switch_mutex_lock(profile->flag_mutex); profile->queued_events++; switch_mutex_unlock(profile->flag_mutex);