Fix problem with no audio due to ignoring the SDP.
authorMark Michelson <mmichelson@digium.com>
Wed, 17 Jun 2009 20:10:01 +0000 (20:10 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 17 Jun 2009 20:10:01 +0000 (20:10 +0000)
commit99b98d8f9a35e968e9447760bc1714299fb1cf87
tree50b8e79699a8046e5be625eff3e908215a0bbd89
parentd8cc968adc2f6281076563e045577af2d8edd610
Fix problem with no audio due to ignoring the SDP.

A recent change to our SDP version comparison made audio not function
on some calls. This was because of a test wherein we were trying to
see if an unsigned value was less than 0. This is a dumb comparison
and arguably the compiler should have warned about it. Alas, though,
it slipped past. Now it's fixed by changing the variable to be a
signed type.

Found by several developers. Tested by mnicholson and dbrooks.

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