[asterisk-commits] file: trunk r39513 - /trunk/channels/chan_phone.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Aug 11 06:54:58 MST 2006


Author: file
Date: Fri Aug 11 08:54:58 2006
New Revision: 39513

URL: http://svn.digium.com/view/asterisk?rev=39513&view=rev
Log:
Don't completely error out if a config file for chan_phone was not found. (issue #7710 reported by Mithraen)

Modified:
    trunk/channels/chan_phone.c

Modified: trunk/channels/chan_phone.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_phone.c?rev=39513&r1=39512&r2=39513&view=diff
==============================================================================
--- trunk/channels/chan_phone.c (original)
+++ trunk/channels/chan_phone.c Fri Aug 11 08:54:58 2006
@@ -1345,7 +1345,7 @@
 	/* We *must* have a config file otherwise stop immediately */
 	if (!cfg) {
 		ast_log(LOG_ERROR, "Unable to load config %s\n", config);
-		return -1;
+		return 0;
 	}
 	if (ast_mutex_lock(&iflock)) {
 		/* It's a little silly to lock it, but we mind as well just to be sure */



More information about the asterisk-commits mailing list