[asterisk-commits] oej: branch 1.4 r103806 - /branches/1.4/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Feb 19 04:27:17 CST 2008
Author: oej
Date: Tue Feb 19 04:27:15 2008
New Revision: 103806
URL: http://svn.digium.com/view/asterisk?view=rev&rev=103806
Log:
Make sure we send error replies correctly by checking the via header.
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=103806&r1=103805&r2=103806
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Tue Feb 19 04:27:15 2008
@@ -6026,6 +6026,7 @@
p->recv = *sin;
do_setnat(p, ast_test_flag(&p->flags[0], SIP_NAT) & SIP_NAT_ROUTE);
}
+ check_via(p, req);
ast_string_field_set(p, fromdomain, default_fromdomain);
build_via(p);
More information about the asterisk-commits
mailing list