Hello,
(answering to myself)
it is working after moving it the last route before the t_relay(). So, one just need to be careful to not chain several async route executions, as the previous state gets lots apparently.
Cheers,
Henning
From: Henning Westerholt Sent: Thursday, June 9, 2022 12:53 PM To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: remove header in async processing (e.g. by http_async_client)
Hello,
I'd like to remove headers during async processing e.g. in a route called from http_async_client(..). The usual textops functions are not working here.
Adding headers could be done using something like rtjson, but it do not offer a remove header function. I could of course loop the request locally, but this is not that "nice".
Any other suggestions for this case? Or just the rtjson module needs some extensions?
Thank you,
Henning
-- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://gilawa.comhttps://gilawa.com/