]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
fix typo (bug #3265)
authorRussell Bryant <russell@russellbryant.com>
Sat, 8 Jan 2005 21:54:24 +0000 (21:54 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 8 Jan 2005 21:54:24 +0000 (21:54 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4718 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_musiconhold.c

index 5f715b608b11262a0e1146bf5b14487e043ac997..6cf30db4ea5ecad54e387c54e1ded51b90ab9dca 100755 (executable)
@@ -367,7 +367,7 @@ static int moh1_exec(struct ast_channel *chan, void *data)
                return -1;
        }
        if (ast_moh_start(chan, NULL)) {
-               ast_log(LOG_WARNING, "Unable to start music on hold (class '%s') on channel %s\n", (char *)data, chan->name);
+               ast_log(LOG_WARNING, "Unable to start music on hold for %d seconds on channel %s\n", atoi((char *)data), chan->name);
                return -1;
        }
        res = ast_safe_sleep(chan, atoi(data) * 1000);