Skip to content
Snippets Groups Projects
Commit 84b0093b authored by Terry Wilson's avatar Terry Wilson
Browse files

The dialing API should inherit datastores as well as variables

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 1375164a
Branches
Tags
No related merge requests found
......@@ -271,6 +271,7 @@ static int begin_dial_channel(struct ast_dial_channel *channel, struct ast_chann
/* 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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment