diff options
-rw-r--r-- | apps/app_followme.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/app_followme.c b/apps/app_followme.c index f5857bf90..0c0d49597 100644 --- a/apps/app_followme.c +++ b/apps/app_followme.c @@ -795,6 +795,10 @@ static void findmeexec(struct fm_args *tpargs) if (outbound) { ast_set_callerid(outbound, caller->cid.cid_num, caller->cid.cid_name, caller->cid.cid_num); ast_channel_inherit_variables(tpargs->chan, outbound); + ast_channel_datastore_inherit(tpargs->chan, outbound); + ast_string_field_set(outbound, language, tpargs->chan->language); + ast_string_field_set(outbound, accountcode, tpargs->chan->accountcode); + ast_string_field_set(outbound, musicclass, tpargs->chan->musicclass); ast_verb(3, "calling %s\n", dialarg); if (!ast_call(outbound,dialarg,0)) { tmpuser->ochan = outbound; |