[asterisk-bugs] [Asterisk 0013806]: codecs settings does work only in device specific section

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Nov 29 14:40:57 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13806 
====================================================================== 
Reported By:                pj
Assigned To:                mvanbaak
====================================================================== 
Project:                    Asterisk
Issue ID:                   13806
Category:                   Channels/chan_skinny
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 152605 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-29 15:51 CDT
Last Modified:              2008-11-29 14:40 CST
====================================================================== 
Summary:                    codecs settings does work only in device specific
section
Description: 
disallow=all
allow=g729
doesn't work in [general] or [devices] or [lines] sections
it does work only in specific device config section

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

---------------------------------------------------------------------- 
 (0095608) wedhorn (reporter) - 2008-11-29 14:40
 http://bugs.digium.com/view.php?id=13806#c95608 
---------------------------------------------------------------------- 
pj, as the codecs can be set for both lines and devices, the codecs is the
two results &'d. So in the above config you've basically got lines
(ulaw|alaw) and devices (g729). As there's no commonality the result is
(nothing).

We could default to all for both lines and devices but then we could run
into issues with g723. So, if you want to set codecs in devices, you should
set lines to allow=all and vice versa.

I'll have a look at including in skinny show settings. How about 3 lines:

Codecs default line:   0xc (ulaw|alaw)
Codecs default device: 0x? (g729)
Codecs combined:       0x0 (nothing) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-29 14:40 wedhorn        Note Added: 0095608                          
======================================================================




More information about the asterisk-bugs mailing list