Hi,
 
    I am trying to configure latest ser from cvs with pa module, but I haven't succeeded yet. When I run ser, and try to connect from a SIP client, I get the following errors:
 

10(30497) parse_hfs(): Error while parsing headers
10(30497) pa_handle_registration(): Error while parsing headers
10(30497) WARNING: script writer didn't release transaction
15(30502) parse_hfs(): Error while parsing headers
15(30502) pa_handle_registration(): Error while parsing headers
15(30502) WARNING: script writer didn't release transaction
13(30500) parse_hfs(): Error while parsing headers
13(30500) pa_handle_registration(): Error while parsing headers
13(30500) WARNING: script writer didn't release transaction
10(30497) parse_hfs(): Error while parsing headers
10(30497) pa_handle_registration(): Error while parsing headers
12(30499) parse_hfs(): Error while parsing headers
12(30499) pa_handle_registration(): Error while parsing headers
For handling presence, I use this code in ser.cfg:
 
if(t_newtran()){
 if (method=="REGISTER"){
  pa_handle_registration("registrar");
  break;
 };
 
 if (method=="SUBSCRIBE"){
  handle_subscription("registrar");
  break;
 };
 if (method=="PUBLISH"){
  handle_publish("registrar");
  break;
 };
};
I'm not sure whether this code makes sense or not. If not, can anybody tell me the right configuration for the presence agent ?
 
    Regards,
 
        Rafa