From: Jeff Lenk Date: Fri, 4 Dec 2009 18:10:27 +0000 (+0000) Subject: fix runaway ptime mismatch with xlite and bv X-Git-Tag: v1.0.6~1163 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c01fe7f901e889df039ebab4aa29ac63c7d4b667;p=thirdparty%2Ffreeswitch.git fix runaway ptime mismatch with xlite and bv git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15788 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index b7a4bca92c..6b9f1380e5 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -815,7 +815,7 @@ static switch_status_t sofia_read_frame(switch_core_session_t *session, switch_f } - if (tech_pvt->last_codec_ms && tech_pvt->last_codec_ms == codec_ms) { + if (tech_pvt->last_codec_ms && tech_pvt->last_codec_ms != codec_ms) { tech_pvt->mismatch_count++; }