https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r86756 | file | 2007-10-22 13:35:22 -0300 (Mon, 22 Oct 2007) | 4 lines
After reading online I have confirmed that Record-Route headers should be copied to 1xx responses as well.
(closes issue #10113)
Reported by: makoto
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86757
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
init_resp(resp, msg);
copy_via_headers(p, resp, req, "Via");
- if (msg[0] == '2')
+ if (msg[0] == '1' || msg[0] == '2')
copy_all_header(resp, req, "Record-Route");
copy_header(resp, req, "From");
ot = get_header(req, "To");