[asterisk-commits] russell: trunk r100631 - /trunk/main/features.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 28 12:41:24 CST 2008


Author: russell
Date: Mon Jan 28 12:41:23 2008
New Revision: 100631

URL: http://svn.digium.com/view/asterisk?view=rev&rev=100631
Log:
Merge rev 100626 from Asterisk 1.4.  The svnmerge of this commit was a NoOp, since
res_features doesn't exist in trunk.  Thanks to qwell for pointing it out!

Modified:
    trunk/main/features.c

Modified: trunk/main/features.c
URL: http://svn.digium.com/view/asterisk/trunk/main/features.c?view=diff&rev=100631&r1=100630&r2=100631
==============================================================================
--- trunk/main/features.c (original)
+++ trunk/main/features.c Mon Jan 28 12:41:23 2008
@@ -525,6 +525,7 @@
 {
 	struct ast_channel *chan;
 	struct ast_frame *f;
+	char *orig_chan_name = NULL;
 
 	/* Make a new, fake channel that we'll use to masquerade in the real one */
 	if (!(chan = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, rchan->accountcode, rchan->exten, rchan->context, rchan->amaflags, "Parked/%s",rchan->name))) {
@@ -544,7 +545,10 @@
 	if ((f = ast_read(chan)))
 		ast_frfree(f);
 
-	ast_park_call(chan, peer, timeout, extout);
+	orig_chan_name = ast_strdupa(chan->name);
+
+	park_call_full(chan, peer, timeout, extout, orig_chan_name);
+
 	return 0;
 }
 




More information about the asterisk-commits mailing list