[svn-commits] branch oej/multiparking - r8297 /team/oej/multiparking/res/res_features.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Jan 19 14:48:09 MST 2006


Author: oej
Date: Thu Jan 19 15:48:08 2006
New Revision: 8297

URL: http://svn.digium.com/view/asterisk?rev=8297&view=rev
Log:
Use the peer's parkinglot

Modified:
    team/oej/multiparking/res/res_features.c

Modified: team/oej/multiparking/res/res_features.c
URL: http://svn.digium.com/view/asterisk/team/oej/multiparking/res/res_features.c?rev=8297&r1=8296&r2=8297&view=diff
==============================================================================
--- team/oej/multiparking/res/res_features.c (original)
+++ team/oej/multiparking/res/res_features.c Thu Jan 19 15:48:08 2006
@@ -295,6 +295,7 @@
 	return adsi_print(chan, message, justify, 1);
 }
 
+/*! \brief Find parking lot name from channel */
 static char *findparkinglotname(struct ast_channel *chan)
 {
 	char *temp, *parkinglot;
@@ -327,7 +328,7 @@
 	if (!parkinglot)
 		parkinglot = default_parkinglot;
 
-	parkinglotname = findparkinglotname(chan);
+	parkinglotname = findparkinglotname(peer);
 
 	if (parkinglotname) {
 		if (option_debug)



More information about the svn-commits mailing list