[asterisk-commits] jpeeler: branch oej/multiparking r112467 - in /team/oej/multiparking: apps/ c...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 2 12:15:26 CDT 2008


Author: jpeeler
Date: Wed Apr  2 12:15:26 2008
New Revision: 112467

URL: http://svn.digium.com/view/asterisk?view=rev&rev=112467
Log:
fix a few small things so that it'll compile

Modified:
    team/oej/multiparking/apps/app_dumpchan.c
    team/oej/multiparking/channels/chan_zap.c

Modified: team/oej/multiparking/apps/app_dumpchan.c
URL: http://svn.digium.com/view/asterisk/team/oej/multiparking/apps/app_dumpchan.c?view=diff&rev=112467&r1=112466&r2=112467
==============================================================================
--- team/oej/multiparking/apps/app_dumpchan.c (original)
+++ team/oej/multiparking/apps/app_dumpchan.c Wed Apr  2 12:15:26 2008
@@ -85,6 +85,7 @@
 			 "CallerIDNum=        %s\n"
 			 "CallerIDName=       %s\n"
 			 "DNIDDigits=         %s\n"
+			 "RDNIS=              %s\n"
 			 "Parkinglot=         %s\n"
  			 "Language=           %s\n"
 			 "State=              %s (%d)\n"

Modified: team/oej/multiparking/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/team/oej/multiparking/channels/chan_zap.c?view=diff&rev=112467&r1=112466&r2=112467
==============================================================================
--- team/oej/multiparking/channels/chan_zap.c (original)
+++ team/oej/multiparking/channels/chan_zap.c Wed Apr  2 12:15:26 2008
@@ -557,7 +557,9 @@
 	char language[MAX_LANGUAGE];
 	char mohinterpret[MAX_MUSICCLASS];
 	char mohsuggest[MAX_MUSICCLASS];
+	AST_DECLARE_STRING_FIELDS(
 		AST_STRING_FIELD(parkinglot);		/*!< Parking lot for this channel */
+	);
 #ifdef PRI_ANI
 	char cid_ani[AST_MAX_EXTENSION];
 #endif
@@ -7890,7 +7892,7 @@
 		ast_copy_string(tmp->mohsuggest, conf.chan.mohsuggest, sizeof(tmp->mohsuggest));
 		ast_copy_string(tmp->context, conf.chan.context, sizeof(tmp->context));
 		ast_copy_string(tmp->cid_num, conf.chan.cid_num, sizeof(tmp->cid_num));
-		ast_string_field_set((tmp->parkinglot, parkinglot, sizeof(tmp->parkinglot));
+		ast_string_field_set(tmp, parkinglot, parkinglot); /* TODO: correct? */
 		tmp->cid_ton = 0;
 		ast_copy_string(tmp->cid_name, conf.chan.cid_name, sizeof(tmp->cid_name));
 		ast_copy_string(tmp->mailbox, conf.chan.mailbox, sizeof(tmp->mailbox));




More information about the asterisk-commits mailing list