fix for MODENDP-111

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8886 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-07-03 15:09:56 +00:00
parent 60e352cb6e
commit e106662f1d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}