--- chan_sip.c.42802 2006-09-12 08:17:28.000000000 +0800 +++ chan_sip.c 2006-09-12 08:17:59.000000000 +0800 @@ -3678,6 +3678,12 @@ ast_log(LOG_DEBUG, "This channel will not be able to handle video.\n"); } +if( i->jointcapability > 0 ) +{ +fmt = i->jointcapability; +tmp->nativeformats=i->jointcapability; +} + if (title) ast_string_field_build(tmp, name, "SIP/%s-%08x", title, (int)(long) i);