diff options
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | apps/app_dial.c | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -99,6 +99,9 @@ Application Changes original CDR; 'R' prevents the new CDR from being reset; 's(var=val)' adds/changes the 'var' variable on the original CDR; 'T' forces ast_cdr_end(), ast_cdr_answer(), obey the LOCKED flag on cdr's in the chain, and also the ast_cdr_setvar() func. + * The Dial() application no longer copies the language used by the caller to the callee's + channel. If you desire for the caller's channel's language to be used for file playback + to the callee, then the file specified may be prepended with "${CHANNEL(language)}/" . SIP Changes ----------- diff --git a/apps/app_dial.c b/apps/app_dial.c index 641edc5b3..b7cafd091 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -1496,8 +1496,6 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags S_REPLACE(tc->cid.cid_ani, ast_strdup(chan->cid.cid_ani)); S_REPLACE(tc->cid.cid_rdnis, ast_strdup(chan->cid.cid_rdnis)); - /* Copy language from incoming to outgoing */ - ast_string_field_set(tc, language, chan->language); ast_string_field_set(tc, accountcode, chan->accountcode); tc->cdrflags = chan->cdrflags; if (ast_strlen_zero(tc->musicclass)) |