Closed Riccardo-78 closed 1 month ago
adding update_cloned_msg_from_msg( t->uas.request, msg);
to w_t_reply_body for the FAILURE_ROUTE case fix the issue.
Isn;t the order of the operations the other way around, like first adding the hdr to reply and then sending the reply, like:
failure_route[local_reply] {
append_to_reply("Foo: bar\r\n");
t_reply_with_body(404, "Not Found", "a b c");
}
It doesn't work even if I put append_to_reply before t_reply_with_body
Any updates here? No progress has been made in the last 15 days, marking as stale. Will close this issue if no further updates are made in the next 30 days.
Marking as closed due to lack of progress for more than 30 days. If this issue is still relevant, please re-open it with additional details.
OpenSIPS version you are running
Describe the bug append_to_reply not working when t_reply_with_body is used inside a failure_route block. Only the body is present in the reply.
To Reproduce
Expected behavior
A sip reply with Foo: bar header and a body with content "a b c".
Relevant System Logs no errors found in the opensip log.
OS/environment information
A similar issue was fixed in the past for request route