[Serusers] switch
hanane zahidi
zahidi.hanane at gmail.com
Fri Apr 17 14:25:32 CEST 2009
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090417/91819dae/attachment.htm>
More information about the sr-users
mailing list