Review Board 1.7.16

Limit addition of Contact header in SIP responses

Review Request #141 - Created Feb. 5, 2009 and submitted

Matthew Nicholson
This patch ensures that asterisk does not include the 'Contact' header in responses unless it is necessary (according to various SIP RFCs).
I lightly tested this with ekiga using the REGISTER, INVITE, SUBSCRIBE, and BYE methods.
Ship it!
Posted (Feb. 5, 2009, 10:31 a.m.)
Looks good to me.
/branches/1.4/channels/chan_sip.c (Diff revision 1)
Ship it!
Posted (Feb. 5, 2009, 8:06 p.m.)
The code looks fine and is an improvement. I haven't checked the RFCs, but it seems like you've done the job. Thanks! runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to