]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Merged revisions 276571 via svnmerge from
authorJeff Peeler <jpeeler@digium.com>
Wed, 14 Jul 2010 23:07:50 +0000 (23:07 +0000)
committerJeff Peeler <jpeeler@digium.com>
Wed, 14 Jul 2010 23:07:50 +0000 (23:07 +0000)
commit084cea0cc61ce7e101ebee5f5a6e1fd915a3f999
treef5e02eb3c087a0156c1804cf1f1e0bf9d6feddfe
parent77ad0e2e027aa9f2ef9da5f0c40d77a0950f16e5
Merged revisions 276571 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r276571 | jpeeler | 2010-07-14 17:58:24 -0500 (Wed, 14 Jul 2010) | 21 lines

  Fix MWI notification transmission problems over SIP.

  MWI updates were not being sent if no messages were found in the event cache.
  This was corrected since a phone may need to clear its MWI status configured
  previously from another mailbox.

  Upon module or sip reload, MWI updates could not be sent due to the sipsock
  socket not being set early enough in reload_config. The code handling the
  descriptor assignment and such has simply been moved before the call to
  build_peer.

  Issuing a sip reload cleared the IP address of the peer, but skipped checking
  the database for registration information. The database is now checked both
  for sip reload and actually reloading the module.

  If a transmission occurs before the do_monitor thread has started, do not
  attempt to send a signal to it.

  (closes issue #17398)
  Reported by: ip-rob
........

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