[SR-Users] append_hf to CANCEL
Grant Bagdasarian
GB at cm.nl
Wed Nov 20 15:05:45 CET 2013
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131120/22c4ea33/attachment-0001.html>
More information about the sr-users
mailing list