Re: [asterisk-users] dialplan number matching

2009-07-20 Thread Stefan Schmidt
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

Re: [asterisk-users] dialplan number matching

2009-07-17 Thread John A. Sullivan III
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,... > > > >

Re: [asterisk-users] dialplan number matching

2009-07-17 Thread Vieri
--- 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

Re: [asterisk-users] dialplan number matching

2009-07-17 Thread Danny Nicholas
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

Re: [asterisk-users] dialplan number matching

2009-07-17 Thread 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 digit, including * or #)?

Re: [asterisk-users] dialplan number matching

2009-07-17 Thread John A. Sullivan III
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

Re: [asterisk-users] dialplan number matching

2009-07-17 Thread Danny Nicholas
.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

[asterisk-users] dialplan number matching

2009-07-17 Thread Vieri
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 ___