aboutsummaryrefslogtreecommitdiffstats
path: root/main/dial.c
diff options
context:
space:
mode:
authortwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-03 17:35:37 +0000
committertwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-03 17:35:37 +0000
commitcee1317e18e8c041b202d997c0ab5a8aad7d0190 (patch)
tree4c60886f0321d1efb90ea150a315a9b0c1c7383f /main/dial.c
parent9cd82a239db1f5d0a4b183ee7f2dbc4b86989d22 (diff)
The dialing API should inherit datastores as well as variables
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@146052 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/dial.c')
-rw-r--r--main/dial.c1
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));