[svn-commits] file: branch 1.4 r86756 - /branches/1.4/channels/chan_sip.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Oct 22 11:35:22 CDT 2007
Author: file
Date: Mon Oct 22 11:35:22 2007
New Revision: 86756
URL: http://svn.digium.com/view/asterisk?view=rev&rev=86756
Log:
After reading online I have confirmed that Record-Route headers should be copied to 1xx responses as well.
(closes issue #10113)
Reported by: makoto
Modified:
branches/1.4/channels/chan_sip.c
Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=86756&r1=86755&r2=86756
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Mon Oct 22 11:35:22 2007
@@ -5718,7 +5718,7 @@
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");
More information about the svn-commits
mailing list