With the current design, the event_route[tm:local-request] can happen while processing
other requests, so restoring the previous environment attributes is relevant, otherwise
the other requests can be routed using the same xavps. Moreover, there might be situations
when these xavps keep accumulating, because nothing cleans them up.
Because the event_route[tm:local-request] is finished before actually the local request is
sent out, it will require some redesing to get what you are looking for.
It can be as an enhancement for the future, right now an option would be to loop the
keepalives back to kamailio via the outbound proxy param and then have the options routed
via request_route.
If someone wants to work on such enhancement, announce yourself here.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2413#issuecomment-666236963