[Freeswitch-users] Numeric Value Ranges Expressions in dialplan

Jason White jason at jasonjgw.net
Thu Aug 6 04:19:04 PDT 2009


Dome Charoenyost <dome at tel.co.th> wrote:
>     Is posible to check numeric range in dialplan (expression).
>    example i got balance vaiable from somewhere and want to check > 0
> or not before call bridge application.
>    ( I don't want to call scripts)

Can you write a regular expression to match it?

^[1-9]\d*$
for example, might be a good start to identify non-zero integers.





More information about the FreeSWITCH-users mailing list