Author: mmichelson
Date: Thu Aug 28 10:50:41 2014
New Revision: 422240

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=422240
Log:
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

Modified:
    trunk/   (props changed)
    trunk/res/res_pjsip_pubsub.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-merged' - no diff available.

Modified: trunk/res/res_pjsip_pubsub.c
URL: 
http://svnview.digium.com/svn/asterisk/trunk/res/res_pjsip_pubsub.c?view=diff&rev=422240&r1=422239&r2=422240
==============================================================================
--- trunk/res/res_pjsip_pubsub.c (original)
+++ trunk/res/res_pjsip_pubsub.c Thu Aug 28 10:50:41 2014
@@ -1988,6 +1988,7 @@
        }
 
        send_notify(sub_tree, 0);
+       sub_tree->notify_sched_id = -1;
        ao2_cleanup(sub_tree);
        return 0;
 }


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to