Description

I'm unable to add the generated Identity value to reply message when kamailio acts as a redirect server and replies with 302 Moved Temporarily instead of relaying INVITE.
This code doesn't work, i.e. no Identity header in 302 Moved Temporarily message:

if (stirshaken_add_identity($var(x5u), $var(attest), $var(origtn_val), $var(desttn_val), $var(origid)) == 1)
{
	append_branch("sip:$rU@127.0.0.1:6060");
	sl_send_reply("302", "Moved Temporarily");
	exit;
}

Expected behavior

It would be nice if the stirshaken_add_identity_* functions would add the generated Identity header to the reply messages too, or store the generated Identity header in a separate variable, like $identity, for the future processing.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.