From 144b7876fafaf56afb73d35b07c768f7c3cae7df Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 19 Nov 2008 01:00:44 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10450 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/mod_sofia.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.h b/src/mod/endpoints/mod_sofia/mod_sofia.h index 1e94937781..0fec2301ef 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.h +++ b/src/mod/endpoints/mod_sofia/mod_sofia.h @@ -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 {