[asterisk-bugs] [Asterisk 0012367]: Codec negotiation failure
noreply at bugs.digium.com
noreply at bugs.digium.com
Sun Apr 6 16:28:42 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12367
======================================================================
Reported By: mascool
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 12367
Category: Channels/chan_sip/CodecHandling
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: 1.4.18
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 04-03-2008 21:33 CDT
Last Modified: 04-06-2008 16:28 CDT
======================================================================
Summary: Codec negotiation failure
Description:
I have a provider that supports both ulaw and g729. Provider set to allowed
ulaw and g729 (in that order). Aastra phone set to use G729 only. Call
fails with "No audio format found to offer" even though it should be ok
based on this line:
Capabilities: us - 0x104 (ulaw|g729), peer - audio=0x105
(g723|ulaw|g729)/video=0x0 (nothing), combined - 0x104 (ulaw|g729)
======================================================================
----------------------------------------------------------------------
flefoll - 04-06-08 16:28
----------------------------------------------------------------------
>Why would I need the g729 codec? If both the provider and the second leg
support
> g729, shouldn't asterisk let g729 pass through?
You are right, depending on your Dial() options, Asterisk may, or may not,
need to decode g729, or just let it pass through.
But if you have one leg ulaw and the other g729, then it need to. If you
want to use g729 on both legs, in order to avoid codecs translation, it
seems better to define g729 as prefered choice for both parts, and then it
succeeds as you say in your note.
Issue History
Date Modified Username Field Change
======================================================================
04-06-08 16:28 flefoll Note Added: 0085060
======================================================================
More information about the asterisk-bugs
mailing list