While using httpa_sync_client, I'm trying to retrieve the Content-Type of the body I got in a 200OK after an HTTP get using $var(my_content_type) =$ http_hdr(Content-Type);
Then When I launch Kamailio, I get a seg fault at the configuration file validation step because in http_async_client_mod.c the line 'return pv_api.parse_hdr_name(sp, in)' is trying to use parse_hdr_name before it being initialized.
I noticed that when I remove my previous line, the initialization is done but after the configuration file validation.
Any idea if I'm doing something wrong?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.