[svn-commits] jpeeler: branch jpeeler/feature14882 r284314 - /team/jpeeler/feature14882/main/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Aug 31 13:40:08 CDT 2010


Author: jpeeler
Date: Tue Aug 31 13:40:05 2010
New Revision: 284314

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=284314
Log:
just some comment changes

Modified:
    team/jpeeler/feature14882/main/features.c

Modified: team/jpeeler/feature14882/main/features.c
URL: http://svnview.digium.com/svn/asterisk/team/jpeeler/feature14882/main/features.c?view=diff&rev=284314&r1=284313&r2=284314
==============================================================================
--- team/jpeeler/feature14882/main/features.c (original)
+++ team/jpeeler/feature14882/main/features.c Tue Aug 31 13:40:05 2010
@@ -1040,6 +1040,10 @@
 	return park_call_full(chan, peer, &args);
 }
 
+/*!
+ * \param rchan is the transferee 
+ * \param peer is the transferer 
+ */
 static int masq_park_call(struct ast_channel *rchan, struct ast_channel *peer, int timeout, int *extout, int play_announcement, struct ast_park_call_args *args)
 {
 	struct ast_channel *chan;
@@ -1047,16 +1051,13 @@
 	int park_status;
 	struct ast_park_call_args park_args = {0,};
 
-	/* transferee = rchan */
-	/* transferer = peer */
-
 	if (!args) {
 		args = &park_args;
 		args->timeout = timeout;
 		args->extout = extout;
 	}
 
-	if ((args->pu = park_space_reserve(rchan, peer, args)) == NULL) { /* create parkinglot */
+	if ((args->pu = park_space_reserve(rchan, peer, args)) == NULL) {
 		if (peer) { /* if error */
 			ast_stream_and_wait(peer, "beeperr", "");
 		}
@@ -1093,12 +1094,11 @@
 	if (peer && (!play_announcement && args == &park_args)) {
 		args->orig_chan_name = ast_strdupa(peer->name);
 	}
-	/* park call */
-	/* chan = transferee */
-	/* peer = transferer */
+
 	park_status = park_call_full(chan, peer, args);
 	if (park_status == 1) {
 	/* would be nice to play "invalid parking extension" */
+ast_log(LOG_WARNING, "jpeeler: this executed\n");
 		ast_hangup(chan);
 		return -1;
 	}




More information about the svn-commits mailing list