<p></p>
<p dir="auto">Hi <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/miconda/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/miconda">@miconda</a><br>
Thanks for your help</p>
<p dir="auto">Its work for me whan using<br>
append_to_reply("Identity: $hdr(Identity)\r\n");</p>
<p dir="auto">for any one face the same issue this my routing script</p>
<pre class="notranslate"><code class="notranslate">if (is_method("INVITE")) {
            $var(rc) = secsipid_add_identity("$fU", "$rU", "A", "", "http://localhost/ec256-public.pem", "/root/ec256-private.pem");
            if ( $var(rc) ) {
                    xlog("L_ERR", "[STIR/SHAKEN][$ci] Shaken authentication added (SIP Identity Header created)\n");
                    msg_apply_changes();
                    append_to_reply("Identity: $hdr(Identity)\r\n");
            } else {
                    xlog("L_ERR", "[STIR/SHAKEN][$ci] Failed\n");
            }

            sl_send_reply("302","Moved Temporarily");
            exit;
    }
</code></pre>
<p dir="auto">My question is<br>
What necessary headers should be returned with 302 response to make the calls working normally ?<br>
Like Contact header?<br>
Should I append new branch ?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2770#issuecomment-1214325791">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZIDFNWMZMER53H3L3TVZDAP7ANCNFSM46LZXTSQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZOZMBA7VUA4RNKNR5LVZDAP7A5CNFSM46LZXTS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJBQSIHY.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/2770/1214325791</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2770#issuecomment-1214325791",
"url": "https://github.com/kamailio/kamailio/issues/2770#issuecomment-1214325791",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>