Hi dana,
if(uri=~"^[0-(94)]"){
do_stuff;
}else if ( uri=~"[(95)-(120)]"){
do_other_stuff;
};
I dont know if this would work, but try it out.. my regexp skills are'nt
very high ;-)
--Atle
* Dana Olson <rickaster(a)gmail.com> [050825 21:50]:
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
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers