[asterisk-commits] mvanbaak: branch group/multiparking r104061 - /team/group/multiparking/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Feb 23 10:59:11 CST 2008


Author: mvanbaak
Date: Sat Feb 23 10:59:11 2008
New Revision: 104061

URL: http://svn.digium.com/view/asterisk?view=rev&rev=104061
Log:
park_exec_full

Modified:
    team/group/multiparking/main/features.c

Modified: team/group/multiparking/main/features.c
URL: http://svn.digium.com/view/asterisk/team/group/multiparking/main/features.c?view=diff&rev=104061&r1=104060&r2=104061
==============================================================================
--- team/group/multiparking/main/features.c (original)
+++ team/group/multiparking/main/features.c Sat Feb 23 10:59:11 2008
@@ -2525,12 +2525,13 @@
 }
 
 /*! \brief Pickup parked call */
-static int park_exec(struct ast_channel *chan, void *data)
+static int park_exec_full(struct ast_channel *chan, void *data, struct ast_parkinglot *parkinglot)
 {
 	int res = 0;
 	struct ast_channel *peer=NULL;
 	struct parkeduser *pu;
 	struct ast_context *con;
+	const char *parkinglotname;
 	int park = 0;
 	struct ast_bridge_config config;
 
@@ -2643,6 +2644,11 @@
 	}
 
 	return res;
+}
+
+static int park_exec(struct ast_channel *chan, void *data) 
+{
+	return park_exec_full(chan, data, default_parkinglot);
 }
 
 /*! \brief Unreference parkinglot object. If no more references,




More information about the asterisk-commits mailing list