[SR-Users] remove header in async processing (e.g. by http_async_client)
Henning Westerholt
hw at gilawa.com
Thu Jun 9 12:57:07 CEST 2022
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 at 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.com<https://gilawa.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220609/44b281b7/attachment.htm>
More information about the sr-users
mailing list