diff options
author | Terry Wilson <twilson@digium.com> | 2008-10-03 17:35:37 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2008-10-03 17:35:37 +0000 |
commit | 84b0093befd8b65a942afb7af994f6c0040adf70 (patch) | |
tree | 4c60886f0321d1efb90ea150a315a9b0c1c7383f | |
parent | 1375164ad84956c337546f87cd8df5e1d3619327 (diff) |
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
-rw-r--r-- | main/dial.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/dial.c b/main/dial.c index 199d05c2f..be1cc6982 100644 --- a/main/dial.c +++ b/main/dial.c @@ -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)); |