mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-26 21:24:16 +00:00
don't put CN in sdp answer if it was not in the offer.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10120 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
9bc126b083
commit
69bd6a54d0
2 files changed
+4
-3
No files matched your search
@@ -413,7 +413,7 @@ void sofia_glue_attach_private(switch_core_session_t *session, sofia_profile_t *
|
||||
|
||||
tech_pvt->dtmf_type = profile->dtmf_type;
|
||||
|
||||
if (!(tech_pvt->profile->pflags & PFLAG_SUPPRESS_CNG)) {
|
||||
if (switch_channel_test_flag(tech_pvt->channel, CF_OUTBOUND) && !(tech_pvt->profile->pflags & PFLAG_SUPPRESS_CNG)) {
|
||||
if (tech_pvt->bcng_pt) {
|
||||
tech_pvt->cng_pt = tech_pvt->bcng_pt;
|
||||
} else if (!tech_pvt->cng_pt) {
|
||||
|
||||
Reference in new issue
Block a user