mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
Don't clear LOCALSTATIONID before sending or receiving. The user may set that
variable. ASTERISK-18921 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@348212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1552,7 +1552,6 @@ static int receivefax_exec(struct ast_channel *chan, const char *data)
|
||||
/* initialize output channel variables */
|
||||
pbx_builtin_setvar_helper(chan, "FAXSTATUS", "FAILED");
|
||||
pbx_builtin_setvar_helper(chan, "REMOTESTATIONID", NULL);
|
||||
pbx_builtin_setvar_helper(chan, "LOCALSTATIONID", NULL);
|
||||
pbx_builtin_setvar_helper(chan, "FAXPAGES", "0");
|
||||
pbx_builtin_setvar_helper(chan, "FAXBITRATE", NULL);
|
||||
pbx_builtin_setvar_helper(chan, "FAXRESOLUTION", NULL);
|
||||
@@ -2024,7 +2023,6 @@ static int sendfax_exec(struct ast_channel *chan, const char *data)
|
||||
/* initialize output channel variables */
|
||||
pbx_builtin_setvar_helper(chan, "FAXSTATUS", "FAILED");
|
||||
pbx_builtin_setvar_helper(chan, "REMOTESTATIONID", NULL);
|
||||
pbx_builtin_setvar_helper(chan, "LOCALSTATIONID", NULL);
|
||||
pbx_builtin_setvar_helper(chan, "FAXPAGES", "0");
|
||||
pbx_builtin_setvar_helper(chan, "FAXBITRATE", NULL);
|
||||
pbx_builtin_setvar_helper(chan, "FAXRESOLUTION", NULL);
|
||||
|
||||
Reference in New Issue
Block a user