When traversing the list of channel variables here in transmit_invite(), the
commitf52901023d8a82d2b96dd299bdb79806e79502ed
authorrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Mon, 5 Nov 2007 21:33:56 +0000 (5 21:33 +0000)
committerrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Mon, 5 Nov 2007 21:33:56 +0000 (5 21:33 +0000)
treef5ee43ffba24ab7ace3b5bfff1058bbd4d918596
parent93f704ff08ced7de8862c9c7561b58b3321a5548
When traversing the list of channel variables here in transmit_invite(), the
asterisk channel must be locked, as this data may change at any time.

(I have seen numerous reports of crashes related to the handling of channel
variables.  There are a couple of issues on the bug tracker related to it,
but it has also been noted on IRC and mailing lists.  So, I am finding and
fixing some places where channel variables are handled improperly.)

git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@88768 614ede4d-c843-0410-af14-a771ab80d22e
channels/chan_sip.c