[Asterisk-code-review] res_pjsip: return all codecs on a re-INVITE without SDP (asterisk[16])
Henning Westerholt
asteriskteam at digium.com
Fri Aug 26 05:05:27 CDT 2022
Attention is currently required from: Henning Westerholt.
Hello Friendly Automation,
I'd like you to reexamine a change. Please visit
https://gerrit.asterisk.org/c/asterisk/+/18990
to look at the new patch set (#2).
Change subject: res_pjsip: return all codecs on a re-INVITE without SDP
......................................................................
res_pjsip: return all codecs on a re-INVITE without SDP
Currently chan_pjsip on receiving a re-INVITE without SDP will only return
the codecs that are previously negotiated and not offering all enabled
codecs.
This causes interoperability issues with different equipment (e.g. from Cisco)
for some of our customers and probably also in other scenarios involving 3PCC
infrastructure.
According to RFC 3261, section 14.2 it SHOULD return all codecs on a re-INVITE
without SDP
The PR proposes a new parameter to configure this behaviour:
all_codecs_on_empty_reinvite. It includes the code, documentation and
example configuration additions.
ASTERISK-30193 #close
Change-Id: I69763708d5039d512f391e296ee8a4d43a1e2148
---
M configs/samples/pjsip.conf.sample
M include/asterisk/res_pjsip.h
M res/res_pjsip/config_global.c
M res/res_pjsip/pjsip_config.xml
M res/res_pjsip_session.c
5 files changed, 81 insertions(+), 10 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/90/18990/2
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/18990
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I69763708d5039d512f391e296ee8a4d43a1e2148
Gerrit-Change-Number: 18990
Gerrit-PatchSet: 2
Gerrit-Owner: Henning Westerholt <hw at gilawa.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Attention: Henning Westerholt <hw at gilawa.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220826/89fa5eef/attachment.html>
More information about the asterisk-code-review
mailing list