[asterisk-commits] russell: branch 1.4 r62331 -
/branches/1.4/channels/chan_zap.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sat Apr 28 22:50:37 MST 2007
Author: russell
Date: Sun Apr 29 00:50:37 2007
New Revision: 62331
URL: http://svn.digium.com/view/asterisk?view=rev&rev=62331
Log:
Fix a bug that made the "language" setting in zapata.conf not
functional. (issue #9626, reported and fixed by sergee)
Modified:
branches/1.4/channels/chan_zap.c
Modified: branches/1.4/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_zap.c?view=diff&rev=62331&r1=62330&r2=62331
==============================================================================
--- branches/1.4/channels/chan_zap.c (original)
+++ branches/1.4/channels/chan_zap.c Sun Apr 29 00:50:37 2007
@@ -203,7 +203,6 @@
static char defaultcic[64] = "";
static char defaultozz[64] = "";
-static char language[MAX_LANGUAGE] = "";
static char progzone[10] = "";
static int usedistinctiveringdetection = 0;
@@ -7434,7 +7433,7 @@
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));
More information about the asterisk-commits
mailing list