From 55d9c2ecaf6235615b1f476ccb1634c72edd22a1 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 24 Jul 2009 18:38:24 +0000 Subject: [PATCH] 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) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@208592 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_dial.c | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/app_dial.c b/apps/app_dial.c index c8cb3a37d6..080de00fec 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -1674,7 +1674,6 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags } if (ast_autoservice_stop(chan) < 0) { - ast_log(LOG_ERROR, "Could not stop autoservice on calling channel\n"); res = -1; }