Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Numeric Value Ranges Expressions in dialplan


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
dome at tel.co.th
Guest





PostPosted: Thu Aug 06, 2009 5:59 am    Post subject: [Freeswitch-users] Numeric Value Ranges Expressions in dialp Reply with quote

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)

Best regards.

Dome C.

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
jason at jasonjgw.net
Guest





PostPosted: Thu Aug 06, 2009 6:25 am    Post subject: [Freeswitch-users] Numeric Value Ranges Expressions in dialp Reply with quote

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.


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services