[Asterisk-code-review] chan_pjsip: Assign SIPDOMAIN after creating a channel (asterisk[16])

Ivan Poddubny asteriskteam at digium.com
Mon Jan 11 14:40:14 CST 2021


Ivan Poddubny has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/15321 )

Change subject: chan_pjsip: Assign SIPDOMAIN after creating a channel
......................................................................


Patch Set 2:

> Patch Set 2:
> 
> Are re-invites affected by this change at all?

The change shouldn't affect re-invites (at least it's not my intention - should it be?).
The original code is only reachable from session_on_rx_request that is only called on out-of-dialog requests and therefore doesn't process re-invites (session_on_rx_request -> handle_new_invite_request -> new_invite -> get_destination).
The new code in chan_pjsip_incoming_request explicitly excludes processing re-invites (if either session->channel is set, or to-tag in rdata is not empty).


-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/15321
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I90c9bbbed01f5d8863585631a29322ae4e046755
Gerrit-Change-Number: 15321
Gerrit-PatchSet: 2
Gerrit-Owner: Ivan Poddubny <ivan.poddubny at gmail.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-CC: George Joseph <gjoseph at digium.com>
Gerrit-Comment-Date: Mon, 11 Jan 2021 20:40:14 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210111/a921e234/attachment.html>


More information about the asterisk-code-review mailing list