From: Anthony Minessale Date: Mon, 21 Nov 2011 19:39:21 +0000 (-0600) Subject: FS-3688 update and repeat tests X-Git-Tag: v1.2-rc1~27^2~138 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a160f30ee76a703f1819d005fe35371cbfd405d3;p=thirdparty%2Ffreeswitch.git FS-3688 update and repeat tests --- 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);