<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Hello all,<BR>
&nbsp;<BR>
In my ser.cfg&nbsp;I do:<BR>&nbsp;<BR>route{<BR>....<BR>&nbsp;<BR>if (method=="BYE"){<BR>log(1,"enter in method bye")<BR>do ABCD.....<BR>}<BR>&nbsp;<BR>....<BR>}<BR>&nbsp;<BR>&nbsp;<BR>When SER receives a BYE, SER doesn´t do "ABCD...." and if I put SER in debug mode, I can`t read the log "enter in method bye" but I can read the line<BR>"method: &lt;BYE&gt;" <BR>&nbsp;<BR>why doesn`t work "if method="BYE"?<BR>&nbsp;<BR>Thanks.<BR>&nbsp;<BR><BR><br /><hr />Llama a tus amigos de PC a PC: ¡Es GRATIS! <a href='http://get.live.com/messenger/overview' target='_new'>Pruébalo</a></body>
</html>