[Asterisk-code-review] res_pjsip_session.c: Map empty extensions in INVITEs to s. (asterisk[master])

Joshua Colp asteriskteam at digium.com
Tue Oct 25 07:51:19 CDT 2022


Attention is currently required from: N A.

Joshua Colp has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/19417 )

Change subject: res_pjsip_session.c: Map empty extensions in INVITEs to s.
......................................................................


Patch Set 1: Code-Review-1

(1 comment)

File res/res_pjsip_session.c:

https://gerrit.asterisk.org/c/asterisk/+/19417/comment/c67e6e7c_396d2ffc 
PS1, Line 3695: 		ast_exists_extension(NULL, session->endpoint->context, S_OR(session->exten, "s"), 1, NULL)) {
I think this is the wrong place to solve this. I think instead that session->exten should be set to "s" further up when there is no user portion of the RURI and a basic call test added for it.



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

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I0861a405cd49bbbf532b52f7b47f0e2810832590
Gerrit-Change-Number: 19417
Gerrit-PatchSet: 1
Gerrit-Owner: N A <asterisk at phreaknet.org>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: N A <asterisk at phreaknet.org>
Gerrit-Comment-Date: Tue, 25 Oct 2022 12:51:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20221025/e22422ce/attachment-0001.html>


More information about the asterisk-code-review mailing list