mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 14:27:14 +00:00
rfc4235 - Section 4.1: Versions MUST be representable using a non-negative 32 bit integer.
If a BLF subscription exists for long enough, using %d may print negative version numbers. Unlikely, as 2^32 at 1 update per second is ~137 years, or half that before the versions number started going negative. Tested with Asterisk 1.8.8.2 with Grandstream phones. alecdavis (license 585) Tested by: alecdavis Review: https://reviewboard.asterisk.org/r/1694/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@352862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1074,7 +1074,7 @@ struct sip_pvt {
|
||||
enum subscriptiontype subscribed; /*!< SUBSCRIBE: Is this dialog a subscription? */
|
||||
int stateid; /*!< SUBSCRIBE: ID for devicestate subscriptions */
|
||||
int laststate; /*!< SUBSCRIBE: Last known extension state */
|
||||
int dialogver; /*!< SUBSCRIBE: Version for subscription dialog-info */
|
||||
uint32_t dialogver; /*!< SUBSCRIBE: Version for subscription dialog-info */
|
||||
|
||||
struct ast_dsp *dsp; /*!< Inband DTMF or Fax CNG tone Detection dsp */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user