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 easier to follow the discussion and the mailing list archive is much coherent.

Cheers,
Daniel

On 10/28/10 3:35 PM, "Nicolas Rüger" wrote:
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]:

        # instructions...

    break;

    default:
       # default instructions
  }


Thank you...

Regards,

Nicolas

--
Daniel-Constantin Mierla
http://www.asipto.com


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to