Merged revisions 90735 via svnmerge from
[asterisk/asterisk.git] / channels / chan_local.c
index 99b23cd..3f4cfb5 100644 (file)
@@ -473,6 +473,7 @@ static int local_call(struct ast_channel *ast, char *dest, int timeout)
                        AST_LIST_INSERT_TAIL(&p->chan->varshead, new, entries);
                }
        }
+       ast_channel_datastore_inherit(p->owner, p->chan);
 
        /* Start switch on sub channel */
        if (!(res = ast_pbx_start(p->chan)))