]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 19 Nov 2008 01:00:44 +0000 (01:00 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 19 Nov 2008 01:00:44 +0000 (01:00 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10450 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/mod_sofia.h

index 1e94937781eb688ab2c94e5f35fc6347093cd6ed..0fec2301efb90585ce5eb11adeeae3fe219bb7a7 100644 (file)
@@ -54,6 +54,7 @@
 #endif
 
 #define MAX_CODEC_CHECK_FRAMES 50
+#define MAX_MISMATCH_FRAMES 5
 #define MODNAME "mod_sofia"
 static const switch_state_handler_table_t noop_state_handler = { 0 };
 struct sofia_gateway;
@@ -511,6 +512,7 @@ struct private_object {
        switch_thread_id_t locker;
        switch_size_t last_ts;
        uint32_t check_frames;
+       uint32_t mismatch_count;
 };
 
 struct callback_t {