]> 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:05:21 +0000 (22:05 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Wed, 14 Dec 2011 22:05:21 +0000 (22:05 +0000)
variable.

ASTERISK-18921
........

Merged revisions 348212 from http://svn.asterisk.org/svn/asterisk/branches/1.8

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

res/res_fax.c

index 6b9d7dff3d5e40c6670b7c14127c0274bff28319..c63bd6134bdbc68d938da06bfd4607d531b2f186 100644 (file)
@@ -1685,7 +1685,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);
@@ -2155,7 +2154,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);