hello,
why not use execif or gotoif?
this would look like this:
exten => _X.,n,ExecIf("$[${EXTEN:${LEN(${EXTEN})-1}}"="3"]|do would ever
you want to do
best regards
steve
Vieri schrieb:
> Hi,
>
> How can I match an extension "ending with 3" (just an example but applicable
> to any other dig
On Fri, 2009-07-17 at 12:56 -0700, Vieri wrote:
>
> --- On Fri, 7/17/09, John A. Sullivan III
> wrote:
>
> > > Hi,
> > >
> > > How can I match an extension "ending with 3" (just an
> > example but applicable to any other digit, including * or
> > #)?
> > >
> > > exten => _ZX.3,n,...
> > >
>
--- On Fri, 7/17/09, John A. Sullivan III wrote:
> > Hi,
> >
> > How can I match an extension "ending with 3" (just an
> example but applicable to any other digit, including * or
> #)?
> >
> > exten => _ZX.3,n,...
> >
> > exten => _ZX.#,n,...
> >
> > (the above does not work)
> >
> > Can r
users-boun...@lists.digium.com] On Behalf Of Vieri
Sent: Friday, July 17, 2009 2:43 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] dialplan number matching
--- On Fri, 7/17/09, Danny Nicholas wrote:
> Assuming you are using 4 digit
> extensions, this syntax would be:
&g
; Sent: Friday, July 17, 2009 4:11 AM
> To: asterisk-users@lists.digium.com
> Subject: [asterisk-users] dialplan number matching
>
>
> Hi,
>
> How can I match an extension "ending with 3" (just an
> example but applicable
> to any other digit, including * or #)?
On Fri, 2009-07-17 at 02:11 -0700, Vieri wrote:
> Hi,
>
> How can I match an extension "ending with 3" (just an example but applicable
> to any other digit, including * or #)?
>
> exten => _ZX.3,n,...
>
> exten => _ZX.#,n,...
>
> (the above does not work)
>
> Can regular expressions be used i
.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Vieri
Sent: Friday, July 17, 2009 4:11 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] dialplan number matching
Hi,
How can I match an extension "ending with 3" (just an example but applicable
to any other
Hi,
How can I match an extension "ending with 3" (just an example but applicable to
any other digit, including * or #)?
exten => _ZX.3,n,...
exten => _ZX.#,n,...
(the above does not work)
Can regular expressions be used in the standard dialplan (end with: "$")?
Thanks,
Vieri
___