From e106662f1d08c3c9a7f71052c7c1b2085f4c54a5 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 3 Jul 2008 15:09:56 +0000 Subject: [PATCH] fix for MODENDP-111 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8886 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index c3a5a1a93e..d3ffd2eef2 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -1347,7 +1347,7 @@ switch_status_t config_sofia(int reload, char *profile_name) } } - if (!profile->cng_pt) { + if ((!profile->cng_pt) && (!sofia_test_pflag(profile, PFLAG_SUPRESS_CNG))) { profile->cng_pt = SWITCH_RTP_CNG_PAYLOAD; }