aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-29 13:52:03 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-29 13:52:03 +0000
commita809376df83fc16b31c3e3cd827d9364b2a3b996 (patch)
treee639854793ae50c4577a81c231eb28234ec43fd3 /pbx.c
parent30784d4f0c9d9edfc1a44235f5ea1d2d478cdfd2 (diff)
Display invalid extension when there is one, fix minor OSP typo, Don't send 200 OK after 403 Forbidden on SUBSCRIBE
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3349 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rwxr-xr-xpbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx.c b/pbx.c
index 7344dd328..f96e7de8c 100755
--- a/pbx.c
+++ b/pbx.c
@@ -1878,7 +1878,7 @@ int ast_pbx_run(struct ast_channel *c)
strncpy(c->exten, "i", sizeof(c->exten)-1);
c->priority = 1;
} else {
- ast_log(LOG_WARNING, "Invalid extension, but no rule 'i' in context '%s'\n", c->context);
+ ast_log(LOG_WARNING, "Invalid extension '%s', but no rule 'i' in context '%s'\n", exten, c->context);
goto out;
}
} else {