Summary: | ASTERISK-18921: sendfax_exec clears LOCALSTATIONID before sending fax | ||
Reporter: | Grigoriy Puzankin (boroda) | Labels: | |
Date Opened: | 2011-11-25 02:13:36.000-0600 | Date Closed: | 2011-12-14 16:08:35.000-0600 |
Priority: | Minor | Regression? | |
Status: | Closed/Complete | Components: | Resources/res_fax |
Versions: | 1.8.7.1 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Noticed, that fax on receiving side prints "unkown" instead of value in LOCALSTATIONID. Example of dialplan (AEL): s => { LOCALSTATIONID=my station id; LOCALHEADERINFO=my header info; SendFAX(/var/lib/asterisk/fax-queue/myfax.tiff); }; In res/res_fax.c:2030: pbx_builtin_setvar_helper(chan, "LOCALSTATIONID", NULL); Which, I think, should not be there. At least in 1.8.3.2 there's no such line and LOCALSTATIONID works fine. | ||
Comments: | By: Matthew Nicholson (mnicholson) 2011-12-14 15:57:16.708-0600 I suppose this is a bug. You can work around it by setting {{FAXOPT(localstationid)}} instead of LOCALSTATIONID. By: Matthew Nicholson (mnicholson) 2011-12-14 16:08:14.267-0600 This is fixed in SVN (1.8 r348212, 10 r348213, and trunk 348214). Thanks for the report. |