[Asterisk-code-review] pjsip: Match lifetime of INVITE session to our session. (asterisk[16])

Joshua Colp asteriskteam at digium.com
Wed Nov 11 04:51:49 CST 2020


Hello Sean Bright, George Joseph, Friendly Automation, 

I'd like you to reexamine a change. Please visit

    https://gerrit.asterisk.org/c/asterisk/+/15122

to look at the new patch set (#2).

Change subject: pjsip: Match lifetime of INVITE session to our session.
......................................................................

pjsip: Match lifetime of INVITE session to our session.

In some circumstances it was possible for an INVITE
session to be destroyed while we were still using it.
This occurred due to the reference on the INVITE session
being released internally as a result of its state
changing to DISCONNECTED.

This change adds a reference to the INVITE session
which is released when our own session is destroyed,
ensuring that the INVITE session remains valid for
the lifetime of our session.

ASTERISK-29022

Change-Id: I300c6d9005ff0e6efbe1132daefc7e47ca6228c9
---
M channels/chan_pjsip.c
M res/res_pjsip_session.c
2 files changed, 30 insertions(+), 148 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/22/15122/2
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/15122
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I300c6d9005ff0e6efbe1132daefc7e47ca6228c9
Gerrit-Change-Number: 15122
Gerrit-PatchSet: 2
Gerrit-Owner: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20201111/ba6902fc/attachment.html>


More information about the asterisk-code-review mailing list