mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
Display invalid extension when there is one, fix minor OSP typo, Don't send 200 OK after 403 Forbidden on SUBSCRIBE
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
pbx.c
2
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 {
|
||||
|
||||
Reference in New Issue
Block a user