[Asterisk-code-review] res_pjsip.c: Support endpoints with domain info in username (asterisk[16])

Joe asteriskteam at digium.com
Thu May 20 23:23:07 CDT 2021


Hello Joshua Colp, Friendly Automation, 

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

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

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

Change subject: res_pjsip.c: Support endpoints with domain info in username
......................................................................

res_pjsip.c: Support endpoints with domain info in username

In multidomain environments, it is desirable to create
PJSIP endpoints with the domain info in the endpoint name
in pjsip_endpoint.conf.  This resulted in an error with
registrations, NOTIFY, and OPTIONS packet generation.

This commit will detect if there is an @ in the endpoint
identifier and generate the URI accordingly so NOTIFY and
OPTIONS From headers will generate correctly.

ASTERISK-28393

Change-Id: I96f8d01dfdd5573ba7a28299e46271dd4210b619
---
A doc/CHANGES-staging/res_pjsip.txt
M res/res_pjsip.c
2 files changed, 16 insertions(+), 0 deletions(-)


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

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I96f8d01dfdd5573ba7a28299e46271dd4210b619
Gerrit-Change-Number: 15896
Gerrit-PatchSet: 2
Gerrit-Owner: Joe <ynadiv at corpit.xyz>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210520/40f463fa/attachment.html>


More information about the asterisk-code-review mailing list