Hi All;
I need to use switch in my ser.cfg file .But ser give me some errors .so i need the correct syntax to do it

here is my ser.cfg



if ( method=="REGISTER"){
i = %fu % 2;
switch(i){
  case"1":
      route(1);
       break;
  case"0":
      route(2);
       break;
             }
                                        }


thank tou for your help


best regards