hey all ,

i'm trying to configure ser to act as sip stack for sems i had surf the web to find tutorial talking about that but at end i didn't succeed
in doing that however finally i tried to follow that tutorial :

http://svn.berlios.de/viewcvs/sems/trunk/doc/Configure-Sems-Ser-HOWTO?rev=480&view=markup

but with out any success , when i want to redirect the sip message to sems by adding the corresponding lines responsible for that ( from the howto )

and when trying to start ser it said bad config file

heres mine :

http://pastebin.com/m7872de80

and thats my sems config file :


http://pastebin.com/m13c5f7b9


the errors especially appear due to syntax error in this specified line :

      if ( method=="ACK" || method=="INVITE" || method=="BYE" ||
method=="CANCEL" ){


thanks in advance