[sr-dev] [kamailio/kamailio] [stirshaken] add identity header in reply messages or to a separate variable (#2770)
notifications at github.com
Wed Jun 9 13:18:01 CEST 2021
Making it available on a variable seems to offer more flexibility, then append_to_reply() can be used for your specific case.
With the current version, if the sip transaction is not created yet (which I assume is not, because of stateless reply with sl_send_reply()), you can try:
if (stirshaken_add_identity($var(x5u), $var(attest), $var(origtn_val), $var(desttn_val), $var(origid)))
append_branch("sip:$rU at 127.0.0.1:6060");
sl_send_reply("302", "Moved Temporarily");
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-dev