From: Anthony Minessale Date: Thu, 5 Sep 2013 15:39:58 +0000 (+0500) Subject: FS-5714 --resolve That is probably the right place X-Git-Tag: v1.5.6~173 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c001840d9d48133e4b7744267189954e2844bb91;p=thirdparty%2Ffreeswitch.git FS-5714 --resolve That is probably the right place --- diff --git a/libs/sofia-sip/libsofia-sip-ua/sdp/sdp_print.c b/libs/sofia-sip/libsofia-sip-ua/sdp/sdp_print.c index b587aa5cc1..b75a94d505 100644 --- a/libs/sofia-sip/libsofia-sip-ua/sdp/sdp_print.c +++ b/libs/sofia-sip/libsofia-sip-ua/sdp/sdp_print.c @@ -618,8 +618,10 @@ static void print_media(sdp_printer_t *p, sdp_printf(p, " %s", l->l_text); } else { - sdp_printf(p, " 19"); /* SDP syntax requires at least one format. - 19 is used by nobody, right?. */ + /* SDP syntax requires at least one format. */ + /* defaults to "19", or "t38" for image */ + if (m->m_image == sdp_media_image) sdp_printf(p, " t38"); + else sdp_printf(p, " 19"); }