Summary: | ASTERISK-16935: [patch] better debug message in devicestate.c | ||
Reporter: | klaus3000 (klaus3000) | Labels: | |
Date Opened: | 2010-11-09 07:21:19.000-0600 | Date Closed: | 2010-11-10 06:52:48.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) ast_devstate2str-patch.txt | |
Description: | This simple patch makes the debug output more meaningful (log string instead of int) and consistent with the log messages before and afterwards. --- before --- devicestate.c: Processing device state change for 'SIP/klaus2' devicestate.c: Adding per-server state of 'Not in use' for 'SIP/klaus2' devicestate.c: Aggregate devstate result is 1 devicestate.c: Aggregate state for device 'SIP/klaus2' has not changed from 'Not in use' --- after --- devicestate.c: Processing device state change for 'SIP/klaus2' devicestate.c: Adding per-server state of 'In use' for 'SIP/klaus2' devicestate.c: Aggregate devstate result is 'In use' for 'SIP/klaus2' devicestate.c: Aggregate state for device 'SIP/klaus2' has changed to 'In use' ****** ADDITIONAL INFORMATION ****** Tested and works. | ||
Comments: | By: Digium Subversion (svnbot) 2010-11-10 06:41:42.000-0600 Repository: asterisk Revision: 294500 U branches/1.6.2/main/devicestate.c ------------------------------------------------------------------------ r294500 | russell | 2010-11-10 06:41:41 -0600 (Wed, 10 Nov 2010) | 7 lines Improve a debug message to be more readable and consistent. (closes issue ASTERISK-16935) Reported by: klaus3000 Patches: ast_devstate2str-patch.txt uploaded by klaus3000 (license 65) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=294500 By: Digium Subversion (svnbot) 2010-11-10 06:46:27.000-0600 Repository: asterisk Revision: 294501 _U branches/1.8/ U branches/1.8/main/devicestate.c ------------------------------------------------------------------------ r294501 | russell | 2010-11-10 06:46:27 -0600 (Wed, 10 Nov 2010) | 14 lines Merged revisions 294500 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r294500 | russell | 2010-11-10 06:41:41 -0600 (Wed, 10 Nov 2010) | 7 lines Improve a debug message to be more readable and consistent. (closes issue ASTERISK-16935) Reported by: klaus3000 Patches: ast_devstate2str-patch.txt uploaded by klaus3000 (license 65) ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=294501 By: Digium Subversion (svnbot) 2010-11-10 06:52:47.000-0600 Repository: asterisk Revision: 294502 _U trunk/ U trunk/main/devicestate.c ------------------------------------------------------------------------ r294502 | russell | 2010-11-10 06:52:47 -0600 (Wed, 10 Nov 2010) | 21 lines Merged revisions 294501 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.8 ................ r294501 | russell | 2010-11-10 06:46:27 -0600 (Wed, 10 Nov 2010) | 14 lines Merged revisions 294500 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r294500 | russell | 2010-11-10 06:41:41 -0600 (Wed, 10 Nov 2010) | 7 lines Improve a debug message to be more readable and consistent. (closes issue ASTERISK-16935) Reported by: klaus3000 Patches: ast_devstate2str-patch.txt uploaded by klaus3000 (license 65) ........ ................ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=294502 |