[svn-commits] twilson: trunk r146052 - /trunk/main/dial.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Oct 3 12:35:37 CDT 2008


Author: twilson
Date: Fri Oct  3 12:35:37 2008
New Revision: 146052

URL: http://svn.digium.com/view/asterisk?view=rev&rev=146052
Log:
The dialing API should inherit datastores as well as variables

Modified:
    trunk/main/dial.c

Modified: trunk/main/dial.c
URL: http://svn.digium.com/view/asterisk/trunk/main/dial.c?view=diff&rev=146052&r1=146051&r2=146052
==============================================================================
--- trunk/main/dial.c (original)
+++ trunk/main/dial.c Fri Oct  3 12:35:37 2008
@@ -271,6 +271,7 @@
 	/* Inherit everything from he who spawned this dial */
 	if (chan) {
 		ast_channel_inherit_variables(chan, channel->owner);
+		ast_channel_datastore_inherit(chan, channel->owner);
 
 		/* Copy over callerid information */
 		S_REPLACE(channel->owner->cid.cid_num, ast_strdup(chan->cid.cid_num));




More information about the svn-commits mailing list