[asterisk-commits] oej: trunk r43221 - in /trunk: ./
channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Sep 18 13:13:14 MST 2006
Author: oej
Date: Mon Sep 18 15:13:14 2006
New Revision: 43221
URL: http://svn.digium.com/view/asterisk?rev=43221&view=rev
Log:
Merging patch from 1.2 - Issue #7682
Modified:
trunk/ (props changed)
trunk/channels/chan_sip.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=43221&r1=43220&r2=43221&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Sep 18 15:13:14 2006
@@ -5338,7 +5338,7 @@
snprintf(contact, sizeof(contact), "%s;expires=%d", p->our_contact, p->expiry);
add_header(resp, "Contact", contact); /* Not when we unregister */
}
- } else if (p->our_contact[0]) {
+ } else if (msg[0] != '4' && p->our_contact[0]) {
add_header(resp, "Contact", p->our_contact);
}
return 0;
More information about the asterisk-commits
mailing list