[Asterisk-code-review] core_local: Fix local channel parsing with slashes (asterisk[master])
N A
asteriskteam at digium.com
Tue Apr 12 07:04:05 CDT 2022
Attention is currently required from: Joshua Colp, Richard Mudgett.
N A has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/18369 )
Change subject: core_local: Fix local channel parsing with slashes
......................................................................
Patch Set 3:
(1 comment)
File main/core_local.c:
https://gerrit.asterisk.org/c/asterisk/+/18369/comment/d1a57b57_e141d163
PS3, Line 907: if ((opts = strrchr(parse, '/')) && really_local_options(opts)) {
> This doesn't really answer my question, you've given a single example using Originate with no option […]
Sorry, currently, what I typically do is stuff like:
Originate(Local/PJSIP/device at context)
and Dial(PJSIP/device)
and Dial(Local/something at something/n)
I can't find any examples of using the /n with a device in Originate. I typically use the /n flag when dialing a Local channel or things don't work correctly, but my dialplan seems to work correctly without doing so in Originates.
Does that answer the question? Though just because I may not do it, doesn't mean somebody else wouldn't, and a fix should be broad and universally applicable to any user scenario.
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/18369
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I8e85bc14072e452d0537a801aba17779569d0360
Gerrit-Change-Number: 18369
Gerrit-PatchSet: 3
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-Attention: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: Richard Mudgett <rmudgett at digium.com>
Gerrit-Comment-Date: Tue, 12 Apr 2022 12:04:05 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Joshua Colp <jcolp at sangoma.com>
Comment-In-Reply-To: N A <mail at interlinked.x10host.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220412/2d55974e/attachment.html>
More information about the asterisk-code-review
mailing list