]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Don't clear LOCALSTATIONID before sending or receiving. The user may set that
authorMatthew Nicholson <mnicholson@digium.com>
Wed, 14 Dec 2011 22:01:48 +0000 (22:01 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Wed, 14 Dec 2011 22:01:48 +0000 (22:01 +0000)
variable.

ASTERISK-18921

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@348212 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_fax.c

index 0d681a884531475c41e2a8e8045b7baf3d826a45..0cc7e3bf85afc37032aa961b9648d8a9e450416a 100644 (file)
@@ -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);