[asterisk-users] Exec two commands with ExecIf
jharragin at mw.k12.ny.us
Thu Dec 23 15:16:26 CST 2021
gotoif accomplishes exactly what you want (except the one line part).
On Thu, Dec 23, 2021 at 3:32 PM Antony Stone <
Antony.Stone at asterisk.open.source.it> wrote:
> On Thursday 23 December 2021 at 18:31:38, asterisk at phreaknet.org wrote:
> > > -----Original Message-----
> > > From: asterisk-users <asterisk-users-bounces at lists.digium.com> On
> > > Of Dovid Bender
> > > Sent: Thursday, December 23, 2021 12:11 PM
> > > To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-
> > > users at lists.digium.com>
> > > Subject: Re: [asterisk-users] Exec two commands with ExecIf
> > >
> > > Anyone know why this never made it into Asterisk?
> > I believe it was deemed not to be of interest to the community.
> Assuming that the dates in that ticket refer to 2021 (I see only months
> days, not years), I don't recall any discussion taking place with the
> community about it, so that seems to me like a surprising explanation.
> After all, if GotoIf(), ExecIf() and While() are "deemed to be of
> and therefore exist, why would a simple If() be deemed not to be of
> And, taking it from the other point of view, even if many people genuinely
> think "meh, I don't think I'd use this", then surely they just avoid using
> as I suspect the majority of people do with DumpChan() (for example, to
> take a
> pretty obscure, yet still available, command at random).
> In short, what's the drawback to making If() available for those who would
> Personally, I would very much like to see an If() statement made available.
> Tinned food was developed for the British Navy in 1813.
> The tin opener was not invented until 1858.
> Please reply to the
> please *don't* CC
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> Check out the new Asterisk community forum at:
> New to Asterisk? Start here:
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users