[asterisk-commits] branch oej/multiparking r8983 -
/team/oej/multiparking/channels/chan_zap.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Jan 31 08:18:13 MST 2006
Author: oej
Date: Tue Jan 31 09:18:11 2006
New Revision: 8983
URL: http://svn.digium.com/view/asterisk?rev=8983&view=rev
Log:
Fixing parkinglot bug in chan_zap, please test.
Modified:
team/oej/multiparking/channels/chan_zap.c
Modified: team/oej/multiparking/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/team/oej/multiparking/channels/chan_zap.c?rev=8983&r1=8982&r2=8983&view=diff
==============================================================================
--- team/oej/multiparking/channels/chan_zap.c (original)
+++ team/oej/multiparking/channels/chan_zap.c Tue Jan 31 09:18:11 2006
@@ -209,6 +209,7 @@
static char language[MAX_LANGUAGE] = "";
static char musicclass[MAX_MUSICCLASS] = "";
+static char parkinglot[AST_MAX_EXTENSION] = ""; /*!< Default parking lot for this channel */
static char progzone[10]= "";
static int usedistinctiveringdetection = 0;
@@ -7320,7 +7321,7 @@
}
tmp->canpark = canpark;
tmp->transfer = transfer;
- ast_copy_string(tmp->defcontext,context,sizeof(tmp->defcontext));
+ ast_copy_string(tmp->defcontext, context,sizeof(tmp->defcontext));
ast_copy_string(tmp->language, language, sizeof(tmp->language));
ast_copy_string(tmp->musicclass, musicclass, sizeof(tmp->musicclass));
ast_copy_string(tmp->parkinglot, parkinglot, sizeof(tmp->parkinglot));
More information about the asterisk-commits
mailing list