Hello Daniel!
Thanks for your prompt reply, greatly appreciated!
I can confirm that your solution works, but with a slight modification to the
`record_route()` function to get rid of the error:
```
ERROR: <core> [core/msg_translator.c:3355]: sip_msg_apply_changes(): cannot apply
msg changes after adding record-route header - it breaks conditional 2nd header
```
The solution of storing the `Identity` header in a separate variable and using it with the
`append_to_reply()` function is the perfect solution for me, so I'll be looking
forward to the implementation.
--
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/2770#issuecomment-857641603