mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
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
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user