[asterisk-bugs] [Asterisk 0011729]: in certain scenarios, asterisk can send rtp in an unsupported payload type to an endpoint

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jan 10 09:35:55 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11729 
====================================================================== 
Reported By:                tsearle
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   11729
Category:                   Channels/chan_sip/CodecHandling
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.17 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-10-2008 08:37 CST
Last Modified:              01-10-2008 09:35 CST
====================================================================== 
Summary:                    in certain scenarios, asterisk can send rtp in an 
unsupported payload type to an endpoint
Description: 
SIP caller A supports alaw/ulaw

Asterisk is configured to support alaw,ulaw,g729 and places all 3 in the
offer to B

SIP called B supports g729,alaw,ulaw putting all 3 in the 200 OK

If B sends audio in G.729 it gets forwarded to A without transcoding.


====================================================================== 

---------------------------------------------------------------------- 
 tsearle - 01-10-08 09:35  
---------------------------------------------------------------------- 
My analysis:

Asterisk starts the Packet2Packet bridge so long as at there is at least 1
codec in common between the two endpoints.  However, if the audio received
is not in this codec,  the bridge isn't shut down.

Provided patch detects when this happens and triggers reverts to a generic
bridge. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-10-08 09:35  tsearle        Note Added: 0076653                          
======================================================================




More information about the asterisk-bugs mailing list