[svn-commits] wedhorn: branch 11 r380926 - /branches/11/channels/chan_skinny.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Feb 6 01:00:42 CST 2013


Author: wedhorn
Date: Wed Feb  6 01:00:39 2013
New Revision: 380926

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=380926
Log:
Reset skinny vmexten on reload.

Make skinny reset vmexten '\0' on reload to ensure that
it is set to '\0' if the appropriate item is removed/commented in 
skinny.conf. part of ASTERISK-21037 

Reported by: snuffy
Tested by: snuffy, myself
Patches: 
    part of immed_dial_fix.diff uploaded by snuffy (license 5024)

Modified:
    branches/11/channels/chan_skinny.c

Modified: branches/11/channels/chan_skinny.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/channels/chan_skinny.c?view=diff&rev=380926&r1=380925&r2=380926
==============================================================================
--- branches/11/channels/chan_skinny.c (original)
+++ branches/11/channels/chan_skinny.c Wed Feb  6 01:00:39 2013
@@ -7744,6 +7744,7 @@
   	}
 	memset(&bindaddr, 0, sizeof(bindaddr));
 	memset(&default_prefs, 0, sizeof(default_prefs));
+	memset(&vmexten, '\0', sizeof(vmexten));
 
 	/* Copy the default jb config over global_jbconf */
 	memcpy(&global_jbconf, &default_jbconf, sizeof(struct ast_jb_conf));




More information about the svn-commits mailing list