summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorMatthew Nicholson <mnicholson@digium.com>2011-12-14 22:05:57 +0000
committerMatthew Nicholson <mnicholson@digium.com>2011-12-14 22:05:57 +0000
commit1c78d82f18b678b8d69ee4abd7879c3113e18a3a (patch)
treeb221ae0afcee070e2322e40b0e4192ffa386f356 /res
parent480d46f92c071aadb932368c6481194e634f27d7 (diff)
Don't clear LOCALSTATIONID before sending or receiving. The user may set that
variable. ASTERISK-18921 ........ Merged revisions 348212 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 348213 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@348214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
-rw-r--r--res/res_fax.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/res/res_fax.c b/res/res_fax.c
index bb263283c..ec2c98b82 100644
--- a/res/res_fax.c
+++ b/res/res_fax.c
@@ -1713,7 +1713,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);
@@ -2183,7 +2182,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);