]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
reflect video fmtp on 1 legged calls
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 25 Aug 2011 14:24:17 +0000 (09:24 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 25 Aug 2011 14:24:17 +0000 (09:24 -0500)
src/mod/endpoints/mod_sofia/sofia_glue.c

index aca59db7701ad3e947f46874d1c44bc73d362141..a2101d73cc15a4e4c6e1650872f1402851872dff 100644 (file)
@@ -658,6 +658,8 @@ void sofia_glue_set_local_sdp(private_object_t *tech_pvt, const char *ip, switch
 
                                        if (ov_fmtp) {
                                                pass_fmtp = ov_fmtp;
+                                       } else {
+                                               pass_fmtp = switch_channel_get_variable(tech_pvt->channel, "sip_video_fmtp");
                                        }
                                }