[svn-commits] mmichelson: branch 13 r422239 - /branches/13/res/res_pjsip_pubsub.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Aug 28 10:49:51 CDT 2014


Author: mmichelson
Date: Thu Aug 28 10:49:44 2014
New Revision: 422239

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

Modified:
    branches/13/res/res_pjsip_pubsub.c

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




More information about the svn-commits mailing list