[Serusers] pa module

Rafael Morón rafaelm at tid.es
Wed Aug 4 09:04:30 CEST 2004


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20040804/80256c87/attachment.htm>


More information about the sr-users mailing list