[asterisk-commits] kmoore: branch 13 r429246 - in /branches/13: ./ res/res_pjsip/pjsip_options.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Dec 10 07:14:59 CST 2014
Author: kmoore
Date: Wed Dec 10 07:14:56 2014
New Revision: 429246
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=429246
Log:
PJSIP: Fix assert on initial mass qualify
This fixes the MWI test regressions caused by r429127 and ensures that
contacts have non-zero qualify_frequency before attempting scheduling.
........
Merged revisions 429245 from http://svn.asterisk.org/svn/asterisk/branches/12
Modified:
branches/13/ (props changed)
branches/13/res/res_pjsip/pjsip_options.c
Propchange: branches/13/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.
Modified: branches/13/res/res_pjsip/pjsip_options.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/res/res_pjsip/pjsip_options.c?view=diff&rev=429246&r1=429245&r2=429246
==============================================================================
--- branches/13/res/res_pjsip/pjsip_options.c (original)
+++ branches/13/res/res_pjsip/pjsip_options.c Wed Dec 10 07:14:56 2014
@@ -960,7 +960,9 @@
initial_interval = contact->qualify_frequency * 1000;
initial_interval = (int)(initial_interval * ast_random_double());
- schedule_qualify(contact, initial_interval);
+ if (contact->qualify_frequency) {
+ schedule_qualify(contact, initial_interval);
+ }
return 0;
}
More information about the asterisk-commits
mailing list