[Asterisk-code-review] res_pjsip_session.c: Check topology on re-invite. (asterisk[16])
George Joseph
asteriskteam at digium.com
Wed Feb 17 10:22:52 CST 2021
George Joseph has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/15445 )
Change subject: res_pjsip_session.c: Check topology on re-invite.
......................................................................
Patch Set 1:
(1 comment)
https://gerrit.asterisk.org/c/asterisk/+/15445/1/res/res_pjsip_session.c
File res/res_pjsip_session.c:
https://gerrit.asterisk.org/c/asterisk/+/15445/1/res/res_pjsip_session.c@2449
PS1, Line 2449: if ((topology_change_request || session->active_media_state) && ast_stream_topology_equal(session->active_media_state->topology, pending_media_state->topology)) {
> I _think_ this will suppress connected line updates since in that case there will be an active media state and the topologies will be equal.
Actually, I think there's another issue as well... this test checks for session->active_media_state but if session->active_media_state were null we would have segfaulted on line 2405.
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/15445
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I04dc91befb2387904e28a9aaeaa3bcdbcaa7fa63
Gerrit-Change-Number: 15445
Gerrit-PatchSet: 1
Gerrit-Owner: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Comment-Date: Wed, 17 Feb 2021 16:22:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: George Joseph <gjoseph at digium.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210217/b6a312ab/attachment.html>
More information about the asterisk-code-review
mailing list