summaryrefslogtreecommitdiff
path: root/main/pbx.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2007-12-14 14:48:38 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2007-12-14 14:48:38 +0000
commitd5b454bf8d534e4c37e19148a22315c1c54b4a1e (patch)
treeeb8395c48dfe42302c76abaf23fc722e7e6190bf /main/pbx.c
parentc8759aff259c1593938899b49c6adc28be5306cd (diff)
Convert ast_verbose to ast_verb.
Reported by: snuffy Patch by: snuffy (Closes issue #11547) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92913 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/pbx.c')
-rw-r--r--main/pbx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/pbx.c b/main/pbx.c
index e40c274c9..e0a55ef3a 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -3294,8 +3294,7 @@ static int __ast_pbx_run(struct ast_channel *c)
if ((res == AST_PBX_ERROR) && ast_exists_extension(c, c->context, "e", 1, c->cid.cid_num)) {
/* if we are already on the 'e' exten, don't jump to it again */
if (!strcmp(c->exten, "e")) {
- if (option_verbose > 1)
- ast_verbose(VERBOSE_PREFIX_2 "Spawn extension (%s, %s, %d) exited ERROR while already on 'e' exten on '%s'\n", c->context, c->exten, c->priority, c->name);
+ ast_verb(2, "Spawn extension (%s, %s, %d) exited ERROR while already on 'e' exten on '%s'\n", c->context, c->exten, c->priority, c->name);
error = 1;
} else {
pbx_builtin_raise_exception(c, "ERROR");