[Freeswitch-svn] [commit] r8886 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN anthm at freeswitch.org
Thu Jul 3 11:09:56 EDT 2008


Author: anthm
Date: Thu Jul  3 11:09:56 2008
New Revision: 8886

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c

Log:
fix for MODENDP-111

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	Thu Jul  3 11:09:56 2008
@@ -1347,7 +1347,7 @@
 					}
 				}
 
-				if (!profile->cng_pt) {
+				if ((!profile->cng_pt) && (!sofia_test_pflag(profile, PFLAG_SUPRESS_CNG))) {
 					profile->cng_pt = SWITCH_RTP_CNG_PAYLOAD;
 				}
 



More information about the Freeswitch-svn mailing list