[sr-dev] [kamailio/kamailio] [stirshaken] add identity header in reply messages or to a separate variable (#2770)
Mohammed Alarayshi
notifications at github.com
Sun Aug 14 12:07:59 CEST 2022
Hi @miconda
Thanks for your help
Its work for me whan using
append_to_reply("Identity: $hdr(Identity)\r\n");
for any one face the same issue this my routing script
```
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;
}
```
My question is
What necessary headers should be returned with 302 response to make the calls working normally ?
Like Contact header?
Should I append new branch ?
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2770#issuecomment-1214325791
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/2770/1214325791 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220814/705b9fc2/attachment.htm>
More information about the sr-dev
mailing list