[asterisk-users] dialplan number matching
Stefan Schmidt
sst at sil.at
Mon Jul 20 02:04:01 CDT 2009
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 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
>
>
>
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
--
Für weitere Fragen stehen wir gerne unter voip at sil.at oder
059944 - 2440 zur Verfügung.
Mit freundlichen Grüssen
--
Stefan Schmidt
Sysadmin/VOIP // voip at sil.at // Tel 059944-2440//
-------------------------------------------------
SILVER SERVER GmbH // Lorenz-Mandl-Gasse 33/1 //
A-1160 Wien // Fax 059944-9000 // www.sil.at //
-------------------------------------------------
More information about the asterisk-users
mailing list