]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Merged revisions 353320 via svnmerge from
authorAlec L Davis <sivad.a@paradise.net.nz>
Mon, 30 Jan 2012 22:16:22 +0000 (22:16 +0000)
committerAlec L Davis <sivad.a@paradise.net.nz>
Mon, 30 Jan 2012 22:16:22 +0000 (22:16 +0000)
commite4c84b18762ddb452b214be9cbe448eb7c5a35bb
tree4da08352beeda98d69ab0407731afe401c7a067b
parent0df3cca56ab904f006545cc44fa9856964f333a9
Merged revisions 353320 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r353320 | alecdavis | 2012-01-31 10:57:49 +1300 (Tue, 31 Jan 2012) | 18 lines

  RFC3261 Section 8.1.1.5. The sequence number value MUST be expressible as a 32-bit unsigned integer

  * fix: use %u instead of %d when dealing with CSeq numbers - to remove possibility of -ve numbers.

  * fix: change all uses of seqno and friends (ocseq icseq) from 'int' or 'unsigned int' to uint32_t.

  Summary of CSeq numbers.
  An initial CSeq number must be less than 2^31
  A CSeq number can increase in value up to 2^32-1
  An incrementing CSeq number must not wrap around to 0.

  Tested with Asterisk 1.8.8.2 with Grandstream phones.

  alecdavis (license 585)
  Tested by: alecdavis

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

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