[asterisk-bugs] [Asterisk 0009066]: Cannot make compatible if video codecs do not match and audio codecs require transcoding

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Nov 12 12:50:17 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=9066 
====================================================================== 
Reported By:                hristo
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   9066
Category:                   Channels/chan_sip/CodecHandling
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4 
SVN Revision (number only!): 54290 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-14-2007 10:40 CST
Last Modified:              11-12-2007 12:50 CST
====================================================================== 
Summary:                    Cannot make compatible if video codecs do not match
and audio codecs require transcoding
Description: 
Asterisk fails to bridge two call legs if one of them offers audio+video
and the other only supports audio, but in fact does offer video to port 0
(supura bug maybe? see additional info below).

Anyway, the problem only appears if asterisk needs to make audio
transcoding and at the same time there are no matching video (yes video!)
codecs.

Note that the problem is *not* present if either:
- video codecs are disabled in sip.conf (audio transcoding b/n 711 and 729
works fine in this case) or
- even with video codecs on, audio codecs match (therefore no need to
tanscode)

Maybe asterisk only needs to give up trying to setup video, since audio
can be handled properly (even via transcoding - line 499 of debug). Instead
asterisk drops the call with:

[Feb 14 17:44:47] WARNING[5583]: app_dial.c:1607 dial_exec_full: Had to
drop call because I couldn't make SIP/mydomain.tld-081ff6e0 compatible with
SIP/ser-08230148

I'm pretty sure this used to work a couple of weeks ago.
sip debug attached.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0009815 [patch] major fix for SIP video codec n...
====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 11-12-07 12:50  
---------------------------------------------------------------------- 
The right solution to this is actually to create a video transcoder.  To do
that, we need codec_* where the '*' is a video codec. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-12-07 12:50  Corydon76      Note Added: 0073536                          
======================================================================




More information about the asterisk-bugs mailing list