From be92e5df08f29995e3f226266ee5409c730112f8 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 31 May 2010 09:14:53 -0400 Subject: [PATCH] mod_sofia: allow video negotiation on re-invite (SFSIP-211) --- src/mod/endpoints/mod_sofia/sofia_glue.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); }