]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3688 update and repeat tests
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 21 Nov 2011 19:39:21 +0000 (13:39 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 21 Nov 2011 19:39:21 +0000 (13:39 -0600)
src/mod/endpoints/mod_sofia/sofia.c

index a1325394080f01a1e684871b2fcf5c15cf416a7e..6f4f5f1034b619d16fb409212d50d4231c96e708 100644 (file)
@@ -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);