[Serusers] Simple question about notation

Ricardo Martinez rmartinez at redvoiss.net
Fri Jan 28 16:01:22 CET 2005


Hello list.
	Is there a way to simplify the notation of this configuration line?

if ( (uri=~"^sip:111.*@.*") | (uri=~"^sip:222.*@.*") |
(uri=~"^sip:333.*@.*") | (uri=~"^sip:444.*@.*") | (uri=~"^sip:00.*@.*")){

with something like this maybe?

if ( (uri=~"^sip:111 | 222 | 333 | 444 | 00.*@.*")) {

Thanks.
Ricardo.-




More information about the sr-users mailing list