[Serusers] 400 bad request of SUBSCRIBE

静 于 ivy_yujing at yahoo.com.cn
Wed Jul 29 11:26:07 CEST 2009


hi
I use pa module to support SUBSCRIBE request which Event header is "presence",
and the function I used in ser.cfg is as follow :
if (method=="SUBSCRIBE") {
   if (!t_newtran()) {
       log(1, "newtran error\n");
       sl_reply_error();
    };
    handle_subscription("registrar");
    break;
};

But the response of  this request is 400 error while parsing header Server: SIP Express Route (0.9.6(i386/linux))
I find there is no place in source code to parse Server header
I am I miss something in ser.cfg or any other modules should be loaded ?
Could any one tell me why?


      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090729/f708a8fb/attachment.htm>


More information about the sr-users mailing list