diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-09-15 16:05:25 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-09-15 16:05:25 +0000 |
commit | 55b5b959d5bdca71a72dcc478513dbd301717e7a (patch) | |
tree | 8a4f68c15f2941ed5c67d06f6df975254d856ba1 | |
parent | 60a07600f7e54459c9ef96e748acea25c9055be6 (diff) |
Merged revisions 218579 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r218579 | tilghman | 2009-09-15 11:04:41 -0500 (Tue, 15 Sep 2009) | 16 lines
Merged revisions 218577 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r218577 | tilghman | 2009-09-15 11:01:17 -0500 (Tue, 15 Sep 2009) | 9 lines
Ensure FollowMe sets language in channels it creates.
Also, not in the original bug report, but related fields are accountcode and
musicclass, and the inheritance of datastores.
(closes issue #15372)
Reported by: Romik
Patches:
20090828__issue15372.diff.txt uploaded by tilghman (license 14)
Tested by: cervajs
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@218580 f38db490-d61c-443f-a65b-d21fe96a405b
-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 1b15c13c3..21e5c549a 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; |