Merged revisions 208592 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Fri, 24 Jul 2009 18:42:32 +0000 (18:42 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 24 Jul 2009 18:42:32 +0000 (18:42 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r208592 | russell | 2009-07-24 13:38:24 -0500 (Fri, 24 Jul 2009) | 7 lines

  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/trunk@208593 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_dial.c

index 6e2088c..89151d2 100644 (file)
@@ -2158,7 +2158,6 @@ static int dial_exec_full(struct ast_channel *chan, const char *data, struct ast
                        }
 
                        if (ast_autoservice_stop(chan) < 0) {
-                               ast_log(LOG_ERROR, "Could not stop autoservice on calling channel\n");
                                res = -1;
                        }