Re: [SR-Users] switch() - case: with intervals?

2010-10-29 Thread Daniel-Constantin Mierla
Hello, one more thing ... When you start a new topic, please create a new message, do not reply to an old email received from the list because it will be added to that discussion thread. For example, your message is part of Billing party and radius accounting. Starting a new thread makes

[SR-Users] switch() - case: with intervals?

2010-10-28 Thread Nicolas RĂ¼ger
Hello, I wonder if there's a chance to use SWITCH in kamailio.cfg with intervals or ranges??? There's nothing to find in core cookbook about ranges with SWITCH. something like: switch ( $var(i) ){ case 1..10: # instructions... break; case [11-20]: #