diff options
author | David M. Lee <dlee@digium.com> | 2013-01-29 17:46:30 +0000 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2013-01-29 17:46:30 +0000 |
commit | e06cd59e04f4d04cf684f2b79175fddb1207a207 (patch) | |
tree | e0ee42bed45d8f5cc574cb56c843c2698baa5bd2 /channels/chan_agent.c | |
parent | 80021f220c2d20f9c19a00ed751442669f0982c2 (diff) |
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
Diffstat (limited to 'channels/chan_agent.c')
0 files changed, 0 insertions, 0 deletions