asterisk/channels/sip
David M. Lee e06cd59e04 Corrected crypto tag in SDP ANSWER for SRTP. (again)
The original fix (r380043) for getting Asterisk to respond with the correct
tag overlooked some corner cases, and the fact that the same code is in 1.8.

This patch moves the building of the crypto line out of
sdp_crypto_process(). Instead, it merely copies the accepted tag. The call to
sdp_crypto_offer() will build the crypto line in all cases now, using a tag of
"1" in the case of sending offers.

(closes issue ASTERISK-20849)
Reported by: José Luis Millán
Review: https://reviewboard.asterisk.org/r/2295/
........

Merged revisions 380347 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 380350 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@380383 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-01-29 17:46:30 +00:00
..
include Fix Record-Route parsing for large headers. 2013-01-18 05:31:23 +00:00
config_parser.c Multiple revisions 370769-370771 2012-08-03 21:52:57 +00:00
dialplan_functions.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
reqresp_parser.c Fix Record-Route parsing for large headers. 2013-01-18 05:31:23 +00:00
sdp_crypto.c Corrected crypto tag in SDP ANSWER for SRTP. (again) 2013-01-29 17:46:30 +00:00
security_events.c Clean up chan_sip 2012-07-31 19:10:41 +00:00
srtp.c Clean up doxygen warnings 2012-08-30 14:23:28 +00:00
utils.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00