From: Anthony Minessale Date: Thu, 21 Jan 2010 18:38:26 +0000 (+0000) Subject: add flag X-Git-Tag: v1.0.6~652 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7649248b017bb5afdc348fb50df50df4f573e557;p=thirdparty%2Ffreeswitch.git add flag git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16436 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index dc84006584..fdd767f614 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -1368,6 +1368,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi if (!tech_pvt->local_sdp_str) { sofia_glue_tech_absorb_sdp(tech_pvt); } + sofia_glue_do_invite(session); } break; @@ -1379,6 +1380,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi sofia_glue_tech_set_local_sdp(tech_pvt, msg->string_arg, SWITCH_TRUE); sofia_set_flag_locked(tech_pvt, TFLAG_SENT_UPDATE); + switch_channel_set_flag(channel, CF_REQ_MEDIA); sofia_glue_do_invite(session); } break; @@ -1393,7 +1395,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "%s Sending request for image media. %s\n", switch_channel_get_name(channel), tech_pvt->local_sdp_str); - + switch_channel_set_flag(channel, CF_REQ_MEDIA); sofia_set_flag_locked(tech_pvt, TFLAG_SENT_UPDATE); sofia_glue_do_invite(session); }