projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
14ed4bd
)
Fix typo in moh output (bug #3265)
author
Mark Spencer
<markster@digium.com>
Fri, 7 Jan 2005 14:47:51 +0000
(14:47 +0000)
committer
Mark Spencer
<markster@digium.com>
Fri, 7 Jan 2005 14:47:51 +0000
(14:47 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4706
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
res/res_musiconhold.c
patch
|
blob
|
history
diff --git
a/res/res_musiconhold.c
b/res/res_musiconhold.c
index
6040be1
..
2617f56
100755
(executable)
--- a/
res/res_musiconhold.c
+++ b/
res/res_musiconhold.c
@@
-525,7
+525,7
@@
static int moh1_exec(struct ast_channel *chan, void *data)
return -1;
}
if (ast_moh_start(chan, NULL)) {
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);
return -1;
}
res = ast_safe_sleep(chan, atoi(data) * 1000);