Posted: Thu Aug 06, 2009 5:59 am Post subject: [Freeswitch-users] Numeric Value Ranges Expressions in dialp
Dear sir,
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)
Posted: Thu Aug 06, 2009 6:25 am Post subject: [Freeswitch-users] Numeric Value Ranges Expressions in dialp
Dome Charoenyost <dome@tel.co.th> wrote:
Quote:
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.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum