[Serusers] how do I route to ranges?

Dana Olson rickaster at gmail.com
Thu Aug 25 21:50:09 CEST 2005


I am not sure how to approach this, or even if it's possible.

I want to have this kind of thing (pseudocode):

if sipuri >0 & sipuri <96 { do stuff }
if sipuri >95 & sipuri < 120 { do stuff }

And so on. Assuming that the sipuri is a number, and anything outside
of the ranges, or letters is ignored (and handled elsewhere).

I could build individual routes for each number, but I am hoping there
is an easier way to do it.

If anyone could help me out, that'd be really awesome.
--
Dana




More information about the sr-users mailing list