Module: kamailio Branch: master Commit: c3629f877500373028d2c7cdefd976cddda31c15 URL: https://github.com/kamailio/kamailio/commit/c3629f877500373028d2c7cdefd976cd...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2021-10-05T14:26:30+02:00
timer: extend internal static HTTP message to have one header
---
Modified: src/modules/timer/timer.c
---
Diff: https://github.com/kamailio/kamailio/commit/c3629f877500373028d2c7cdefd976cd... Patch: https://github.com/kamailio/kamailio/commit/c3629f877500373028d2c7cdefd976cd...
---
diff --git a/src/modules/timer/timer.c b/src/modules/timer/timer.c index 9880a8420b..224a6bed57 100644 --- a/src/modules/timer/timer.c +++ b/src/modules/timer/timer.c @@ -159,7 +159,7 @@ static unsigned int timer_msg_no = 0; static ticks_t timer_handler(ticks_t ticks, struct timer_ln* tl, void* data) { /*?min length of first line of message is 16 char!?*/ -#define MSG "GET /timer HTTP/0.9\n\n" +#define MSG "GET /timer HTTP/0.9\r\nUser-Agent: internal\r\n\r\n" sip_msg_t* msg; timer_action_t *a; run_act_ctx_t ra_ctx;