Brent Davidson wrote:
Also be aware that in 1.2.x and 1.4.x, if you park a call and then pick it up, you can't park it again. At least not with the DTMF
I wasn't aware of the inability to re-park calls in 1.4 That could have been a nasty surprise. I would be very interested in the patch that fixes that.

I don't remember where I got it (Might have been the bug tracker) that works fine under the current 1.4.x. I had to do a minor change to get it to apply.

Copy into Asterisk source directory

patch -p0 <*.patch

rm *.patch

make
make install


Doug


--

Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, 
deserve neither Liberty nor Safety."

Index: res/res_features.c
===================================================================
--- res/res_features.c	(revision 84405)
+++ res/res_features.c	(working copy)
@@ -1670,7 +1670,7 @@
 					}
 					if (con) {
 						char returnexten[AST_MAX_EXTENSION];
-						snprintf(returnexten, sizeof(returnexten), "%s|30|t", peername);
+						snprintf(returnexten, sizeof(returnexten), "%s|30|tk", peername);
 						ast_add_extension2(con, 1, peername, 1, NULL, NULL, "Dial", strdup(returnexten), ast_free, registrar);
 					}
 					set_c_e_p(chan, parking_con_dial, peername, 1);
@@ -1927,6 +1927,7 @@
 		memset(&config, 0, sizeof(struct ast_bridge_config));
 		ast_set_flag(&(config.features_callee), AST_FEATURE_REDIRECT);
 		ast_set_flag(&(config.features_caller), AST_FEATURE_REDIRECT);
+		ast_set_flag(&(config.features_caller), AST_FEATURE_PARKCALL);
 		res = ast_bridge_call(chan, peer, &config);
 
 		pbx_builtin_setvar_helper(chan, "PARKEDCHANNEL", peer->name);

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to