<div dir="ltr">Hi All;<br>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<br><br>here is my ser.cfg<br><br><br><br>if ( method==&quot;REGISTER&quot;){<br>i = %fu % 2;<br>
switch(i){<br>  case&quot;1&quot;:<br>      route(1);<br>       break;<br>  case&quot;0&quot;:<br>
      route(2);<br>
       break;<br>             }<br>                                        }<br><br><br>thank tou for your help<br><br><br>best regards<br><br></div>