diff options
author | Kevin Harwell <kharwell@digium.com> | 2017-09-25 12:30:56 -0500 |
---|---|---|
committer | Kevin Harwell <kharwell@digium.com> | 2017-09-25 12:34:55 -0500 |
commit | b74cbadd05d1ba42d66ba43a690c45f5d2c5f706 (patch) | |
tree | a20214b8388a1829cd79d720401bd8c47d5ac0e7 /res/res_pjsip_pubsub.exports.in | |
parent | 360bd11c30f22d809689a6c059f3cbd649101476 (diff) |
res_pjsip_session: outgoing call did not offer all configured codecs
For some scenarios when an outgoing call was made only a subset of the
configured codecs were offered. If the codecs being offered happened to
not have a codec supported by the phone then the call would fail.
For instance Alice and Bob both are configured in Asterisk for g722 and ulaw(
allow=!all,g722,ulaw). Alice's endpoint however only supports g722 while Bob's
only supports ulaw. When Alice calls Bob, Alice negotiates g722 fine with
Asterisk. But when Asterisk sends the outgoing offer to Bob it only contains
g722 and not both g722 and ulaw, so the call ends.
This patch makes it so all the audio codecs configured on the endpoint always
get sent, and not just a subset. However priority is given to those codecs that
are compatible with the "other side".
ASTERISK-27259 #close
Change-Id: Iffabc373bd94cd1dc700925dcfe406e12918c696
Diffstat (limited to 'res/res_pjsip_pubsub.exports.in')
0 files changed, 0 insertions, 0 deletions