Hallo Daniel,

thanks for the quick fix! I’ve tested your patch - it works for me, you can merge and backport if you want. I’ll change my script to use the rtime module.

Best regards

Markus  

Am 05.10.2021 um 14:29 schrieb Daniel-Constantin Mierla <miconda@gmail.com>:

Hello,

that's a HTTP request to be handled, normally it should go to the event_route[xhttp:request] block with xhttp module loaded, as the internal design is supposed to work right now. Timer module comes from SER project, so I am not familiar with it. In Kamailio, we worked with rtimer module.

Anyhow, I pushed a patch to add one header to that internal HTTP request:

  * https://github.com/kamailio/kamailio/commit/c3629f877500373028d2c7cdefd976cddda31c15

Can you try it to see if works now? If yes, I can backport, but it may be better to switch to a SIP message instead of HTTP, seems awkward for the purpose of this module, but again, I am not really familiar with this module.

Cheers,
Daniel

On 05.10.21 13:48, Markus Bönke wrote:
Hello all,

the handling of timer events is broken in 5.5.2. I get the following error:

ERROR: <core> [core/parser/msg_parser.c:748]: parse_msg(): ERROR: parse_msg: message=<GET /timer HTTP/0.9#012#012>

I think it was introduced by


...
skip:


msg->unparsed=tmp;


if(msg->headers==NULL) {


/* nothing parsed - invalid input sip message */


goto error1;


}

Should’t thy be handled different already in parse_msg in msg_parser.c?

Thanks and regards

Markus

_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
Nov 08-11, 2021 (Europe Timezone) - Nov 22-25, 2021 (America Timezone)
  * https://www.asipto.com/sw/kamailio-advanced-training-online/