Merged revisions 376541 via svnmerge from
authorAutomerge script <automerge@asterisk.org>
Tue, 20 Nov 2012 18:19:37 +0000 (18:19 +0000)
committerAutomerge script <automerge@asterisk.org>
Tue, 20 Nov 2012 18:19:37 +0000 (18:19 +0000)
commitec170b1b9d540a3d188ffa49fa5bee832a39fa51
treed27b327d6dc21288ac17a9e505ead356ca417bd8
parente2196d79815abe7f7d20f9151d17f555f8d45371
Merged revisions 376541 via svnmerge from
file:///srv/subversion/repos/asterisk/trunk

................
  r376541 | alecdavis | 2012-11-20 11:39:11 -0600 (Tue, 20 Nov 2012) | 19 lines

  Reduce CLI spam of "Extension Changed" device state messages.

  Asterisk 11 follows RFC3265 that states that after every subscribe or resubscribe a notify should be sent.
  Thus the console if filled continuously with the following after every subscribe;
    == Extension Changed 8512[phones] new state IDLE for Notify User cisco1

  In Asterisk 1.8 only changes would be sent. Thus only when a device state changed was anything emitted to the console.

  fix:
  Only print to console when device state isn't forced.

  (closes ASTERISK-20706)
  Reported by: alecdavis
  Tested by: alecdavis
  alecdavis (license 585)
  ........

  Merged revisions 376540 from http://svn.asterisk.org/svn/asterisk/branches/11
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@376546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c