[asterisk-bugs] [Asterisk 0018238]: [patch] can't have a conversation between two users if the only allowed codec is speex16.

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 19 09:31:43 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18238 
====================================================================== 
Reported By:                whizemen
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18238
Category:                   Channels/chan_local
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for review
Asterisk Version:           1.8.0 
JIRA:                       SWP-2921 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.8 
SVN Revision (number only!): 293493 
Request Review:              
====================================================================== 
Date Submitted:             2010-11-01 10:19 CDT
Last Modified:              2011-01-19 09:31 CST
====================================================================== 
Summary:                    [patch] can't have a conversation between two users
if the only allowed codec is speex16.
Description: 
can't have a conversation between two users if the only allowed codec is
speex16.

ast_best_codec receives 0x0 as possible format.  int64 cast in int32
====================================================================== 

---------------------------------------------------------------------- 
 (0130673) svnbot (reporter) - 2011-01-19 09:31
 https://issues.asterisk.org/view.php?id=18238#c130673 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 302412

U   branches/1.8/channels/chan_local.c

------------------------------------------------------------------------
r302412 | seanbright | 2011-01-19 09:31:41 -0600 (Wed, 19 Jan 2011) | 10
lines

Use appropriate type for requested format in chan_local.

We were passing and storing the requested format as an int instead of
format_t
resulting in truncation.

(closes issue https://issues.asterisk.org/view.php?id=18238)
Reported by: whizemen
Patches:
      0018238_speex16.patch uploaded by whizemen (license 1143)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=302412 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-19 09:31 svnbot         Checkin                                      
2011-01-19 09:31 svnbot         Note Added: 0130673                          
======================================================================




More information about the asterisk-bugs mailing list