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
1.6.2
Terry Wilson 17 years ago
parent 1375164ad8
commit 84b0093bef

@ -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));

Loading…
Cancel
Save