Merged revisions 62331 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r62331 | russell | 2007-04-29 00:50:37 -0500 (Sun, 29 Apr 2007) | 3 lines Fix a bug that made the "language" setting in zapata.conf not functional. (issue #9626, reported and fixed by sergee) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@62332 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
934e40b94d
commit
402d24c69b
|
@ -213,7 +213,6 @@ static const char config[] = "zapata.conf";
|
|||
static char defaultcic[64] = "";
|
||||
static char defaultozz[64] = "";
|
||||
|
||||
static char language[MAX_LANGUAGE] = "";
|
||||
static char progzone[10] = "";
|
||||
|
||||
static int usedistinctiveringdetection = 0;
|
||||
|
@ -7890,7 +7889,7 @@ static struct zt_pvt *mkintf(int channel, struct zt_chan_conf conf, struct zt_pr
|
|||
tmp->canpark = conf.chan.canpark;
|
||||
tmp->transfer = conf.chan.transfer;
|
||||
ast_copy_string(tmp->defcontext,conf.chan.context,sizeof(tmp->defcontext));
|
||||
ast_copy_string(tmp->language, language, sizeof(tmp->language));
|
||||
ast_copy_string(tmp->language, conf.chan.language, sizeof(tmp->language));
|
||||
ast_copy_string(tmp->mohinterpret, conf.chan.mohinterpret, sizeof(tmp->mohinterpret));
|
||||
ast_copy_string(tmp->mohsuggest, conf.chan.mohsuggest, sizeof(tmp->mohsuggest));
|
||||
ast_copy_string(tmp->context, conf.chan.context, sizeof(tmp->context));
|
||||
|
|
Reference in New Issue