[asterisk-bugs] [Asterisk 0013806]: codecs settings does work only in device specific section
Asterisk Bug Tracker
noreply at bugs.digium.com
Sat Nov 29 15:08:06 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 15:08 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
======================================================================
----------------------------------------------------------------------
(0095612) wedhorn (reporter) - 2008-11-29 15:08
http://bugs.digium.com/view.php?id=13806#c95612
----------------------------------------------------------------------
Nope, the Neg (for Negotiated) Codecs indicate that you have no codecs for
a call. If you don't specify codecs, the default is (alaw|ulaw) for lines,
and the same for devices. Because you haven't changed the line stuff, it is
still (alaw|ulaw) while your device stuff is (g729).
When the device registers, it sends a message of codecs which is likely
(ulaw|alaw|g723|g729), this is check against the devices settings (g729)
which results in (g729).
It is then checked against the lines codecs (ulaw|alaw) which results in
(nothing).
Add the line allow=all to you lines section, or allow=g729. Either way,
you will only be able to use g729.
Codec negotiation:
(ulaw|alaw) & (ulaw) => (ulaw)
(ulaw|alaw) & (g729) => (nothing)
(all) & (g729) => (g729)
(g729) & (g729) => (g729)
Issue History
Date Modified Username Field Change
======================================================================
2008-11-29 15:08 wedhorn Note Added: 0095612
======================================================================
More information about the asterisk-bugs
mailing list