]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Add missing datastore inherit (exists in all other branches)
authorTerry Wilson <twilson@digium.com>
Thu, 19 Mar 2009 23:37:59 +0000 (23:37 +0000)
committerTerry Wilson <twilson@digium.com>
Thu, 19 Mar 2009 23:37:59 +0000 (23:37 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@183481 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_dial.c

index bb5e9570c293847f34b079900df4c7b72d6d4706..98e66ef9ab095548163ecee97a8f5778a1155f52 100644 (file)
@@ -1280,6 +1280,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags
                
                /* Inherit specially named variables from parent channel */
                ast_channel_inherit_variables(chan, tmp->chan);
+               ast_channel_datastore_inherit(chan, tmp->chan);
 
                tmp->chan->appl = "AppDial";
                tmp->chan->data = "(Outgoing Line)";