From: Michael Jerris Date: Mon, 31 May 2010 13:14:53 +0000 (-0400) Subject: mod_sofia: allow video negotiation on re-invite (SFSIP-211) X-Git-Tag: v1.2-rc1~786 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be92e5df08f29995e3f226266ee5409c730112f8;p=thirdparty%2Ffreeswitch.git mod_sofia: allow video negotiation on re-invite (SFSIP-211) --- diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index c4bd001e82..2209daec0c 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -358,8 +358,7 @@ void sofia_glue_set_local_sdp(private_object_t *tech_pvt, const char *ip, uint32 } if (sofia_test_flag(tech_pvt, TFLAG_VIDEO)) { - if (!switch_channel_test_flag(tech_pvt->channel, CF_ANSWERED) && !switch_channel_test_flag(tech_pvt->channel, CF_EARLY_MEDIA) && - !tech_pvt->local_sdp_video_port) { + if (!tech_pvt->local_sdp_video_port) { sofia_glue_tech_choose_video_port(tech_pvt, 0); }