[commit] r10135 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Author: anthm Date: Thu Oct 23 18:05:00 2008 New Revision: 10135 Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c Log: fix cng bs Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c (original) +++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c Thu Oct 23 18:05:00 2008 @@ -2329,7 +2329,7 @@ } if (!(tech_pvt->profile->pflags & PFLAG_SUPPRESS_CNG) && !cng_pt && !strcasecmp(rm_encoding, "CN")) { - cng_pt = tech_pvt->cng_pt = (switch_payload_t) map->rm_pt; + cng_pt = (switch_payload_t) map->rm_pt; if (tech_pvt->rtp_session) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Set comfort noise payload to %u\n", cng_pt); switch_rtp_set_cng_pt(tech_pvt->rtp_session, tech_pvt->cng_pt); @@ -2519,7 +2519,7 @@ } done: - + tech_pvt->cng_pt = cng_pt; switch_set_flag_locked(tech_pvt, TFLAG_SDP); return match;
participants (1)
-
Freeswitch SVN