Re-fix how local tag is generated when sending a 481 to an INVITE.
authorMark Michelson <mmichelson@digium.com>
Mon, 25 Jun 2012 19:26:31 +0000 (19:26 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 25 Jun 2012 19:26:31 +0000 (19:26 +0000)
commite0883154cffeec8d6b73c01c34c81a94cc5f05a6
tree88236cba80938eaad2f068386780788af6e3df8b
parent82a7409c15cf943ebc12cc8453424350628732bf
Re-fix how local tag is generated when sending a 481 to an INVITE.

Match our local tag to whatever to-tag was sent in the initial INVITE.
Because the size of the to-tag may not fit in the buffer in the sip_pvt,
it has been changed to a string field.

(closes issue ASTERISK-19892)
reported by Walter Doekes

Review: https://reviewboard.asterisk.org/r/1977
........

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

Merged revisions 369353 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369367 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
channels/sip/include/sip.h