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

Ivan Poddubny asteriskteam at digium.com
Sun Jan 10 11:57:42 CST 2021


Ivan Poddubny has uploaded a new patch set (#2). ( https://gerrit.asterisk.org/c/asterisk/+/15321 )

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

chan_pjsip: Assign SIPDOMAIN after creating a channel

session->channel doesn't exist until chan_pjsip creates it, so intead of
setting a channel variable every new incoming call sets one and the same
global variable.

This patch moves the code to chan_pjsip so that SIPDOMAIN is set on
a newly created channel, it also removes a misleading reference to
channel->session used to fetch call pickup configuraion.

ASTERISK-29240

Change-Id: I90c9bbbed01f5d8863585631a29322ae4e046755
---
M channels/chan_pjsip.c
M res/res_pjsip_session.c
2 files changed, 16 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/21/15321/2
-- 
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-CC: Friendly Automation
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210110/e917256b/attachment.html>


More information about the asterisk-code-review mailing list