Fix bug that did not allow for multiple batched RLS notifications to be sent.
authorMark Michelson <mmichelson@digium.com>
Thu, 28 Aug 2014 15:50:41 +0000 (15:50 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 28 Aug 2014 15:50:41 +0000 (15:50 +0000)
commit327d67270f9f41c728710be5aa70eea88cab1245
tree52fe87ee0fbeed074d89add0be6f7fc9f95a3cc4
parent94e1b4a8a4cb51aef3e63ab9a3167c2814e5001b
Fix bug that did not allow for multiple batched RLS notifications to be sent.

A misunderstanding of how the scheduler worked caused further batched notifications
beyond the first not to get scheduled. Now we reset our scheduler ID to -1 after
the batched notification is sent. This way, further notifications can be scheduled
when they arise.
........

Merged revisions 422239 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@422240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_pubsub.c