Hello,
I’m executing the following code for both the BYE and CANCEL in request_route:
if (is_method("BYE|CANCEL")) {
#finished
$var(finished) = $TS;
append_hf("X-Finished: $var(finished)\r\n");
}
For some reason, the X-Finished header is appended to the BYE, but not the CANCEL. The CANCEL is forwarded further.
I have the setflag(22); set, so all outbound messages are sent to the Capture server.
Does append_hf not work for CANCEL requests?