Merged revisions 353321 via svnmerge from
authorAlec L Davis <sivad.a@paradise.net.nz>
Mon, 30 Jan 2012 22:28:37 +0000 (22:28 +0000)
committerAlec L Davis <sivad.a@paradise.net.nz>
Mon, 30 Jan 2012 22:28:37 +0000 (22:28 +0000)
commit0ccc1f5274e5304e2056559a9d4af03363b00565
tree75c25c2b7c58ac134b264356964e91317833766f
parentc6489d7b32a124cc3fe818eddae683377e562d05
Merged revisions 353321 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r353321 | alecdavis | 2012-01-31 11:16:22 +1300 (Tue, 31 Jan 2012) | 25 lines

  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/trunk@353347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
channels/sip/include/dialog.h
channels/sip/include/sip.h