mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
fix LOG_NOTICE message to exten@context from context@exten (bug #2725)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -371,7 +371,7 @@ static struct local_pvt *local_alloc(char *data, int format)
|
||||
strncpy(tmp->context, "default", sizeof(tmp->context) - 1);
|
||||
tmp->reqformat = format;
|
||||
if (!ast_exists_extension(NULL, tmp->context, tmp->exten, 1, NULL)) {
|
||||
ast_log(LOG_NOTICE, "No such extension/context %s@%s creating local channel\n", tmp->context, tmp->exten);
|
||||
ast_log(LOG_NOTICE, "No such extension/context %s@%s creating local channel\n", tmp->exten, tmp->context);
|
||||
ast_mutex_destroy(&tmp->lock);
|
||||
free(tmp);
|
||||
tmp = NULL;
|
||||
|
Reference in New Issue
Block a user