[asterisk-commits] russell: branch 1.4 r208592 - /branches/1.4/apps/app_dial.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 24 13:38:27 CDT 2009


Author: russell
Date: Fri Jul 24 13:38:24 2009
New Revision: 208592

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=208592
Log:
Do not log an ERROR if autoservice_stop() returns -1.

This does not indicate an error.  A return of -1 just means that the channel
has been hung up.

(reported in #asterisk-dev)

Modified:
    branches/1.4/apps/app_dial.c

Modified: branches/1.4/apps/app_dial.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.4/apps/app_dial.c?view=diff&rev=208592&r1=208591&r2=208592
==============================================================================
--- branches/1.4/apps/app_dial.c (original)
+++ branches/1.4/apps/app_dial.c Fri Jul 24 13:38:24 2009
@@ -1674,7 +1674,6 @@
 			}
 
 			if (ast_autoservice_stop(chan) < 0) {
-				ast_log(LOG_ERROR, "Could not stop autoservice on calling channel\n");
 				res = -1;
 			}
 




More information about the asterisk-commits mailing list