mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +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@10129 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -2116,6 +2116,14 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
|
||||
|
||||
sofia_glue_attach_private(nsession, profile, tech_pvt, dest);
|
||||
|
||||
if (!(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) {
|
||||
tech_pvt->cng_pt = profile->cng_pt;
|
||||
}
|
||||
}
|
||||
|
||||
if (tech_pvt->local_url) {
|
||||
switch_channel_set_variable(nchannel, "sip_local_url", tech_pvt->local_url);
|
||||
if (profile->pres_type) {
|
||||
|
||||
Reference in New Issue
Block a user