<html><head></head><body><div class="ydpd132d6abyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div><span style="color: rgb(38, 40, 42);">HI </span><br></div></div><div id="ydpa00186e2yahoo_quoted_5301298099" class="ydpa00186e2yahoo_quoted"><div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;"><div><div id="ydpa00186e2yiv5989553342"><div class="ydpa00186e2yiv5989553342ydp4dde9180yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr"><br></div><div dir="ltr">I used asterisk 13's <span>app_fax to send and recv fax.</span></div><div dir="ltr"><span><br></span></div><div dir="ltr"><span>On the received fax/pdf, I got a fax with header like this:</span></div><div dir="ltr"><br></div><div dir="ltr"><div><div>26-Ju-2019 | 06:03| my-test | unknown | p.1</div></div><br></div><div dir="ltr"><br></div><div dir="ltr">The my-test is set by <span><span style="color:rgb(51, 51, 51);font-family:monospace;font-size:14px;">LOCALHEADERINFO <span><span style="color:rgb(0, 0, 0);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">before I call send_fax.</span></span></span></span></div><div dir="ltr"><span><span style="color:rgb(51, 51, 51);font-family:monospace;font-size:14px;"><span><span style="color:rgb(0, 0, 0);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></span></span></span></span></div><div dir="ltr"><span><span style="color:rgb(51, 51, 51);font-family:monospace;font-size:14px;"><span><span style="color:rgb(0, 0, 0);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">What I am not clear is where does **unknown** come from?</span></span></span></span></div><div dir="ltr"><br></div><div dir="ltr"><span><span style="color:rgb(51, 51, 51);font-family:monospace;font-size:14px;">The doc at:</span></span></div><div dir="ltr"><span><a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_SendFAX_app_fax" class="ydpa00186e2yiv5989553342enhancr_card_5167400772" rel="nofollow" target="_blank">Asterisk 13 Application_SendFAX_app_fax - Asterisk Project - Asterisk Project Wiki</a></span><div><br></div><div dir="ltr">said:</div><div dir="ltr"><div><p style="margin:10px 0px 0px;padding:0px;color:rgb(51, 51, 51);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:14px;">This application sets the following channel variables:</p><ul style="margin:10px 0px 0px;color:rgb(51, 51, 51);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:14px;"><li><code>LOCALSTATIONID</code> - To identify itself to the remote end</li><li><code>LOCALHEADERINFO</code> - To generate a header line on each page</li><li><code>FAXSTATUS</code><ul style="margin:0px;list-style-type:disc;"><li>SUCCESS</li><li>FAILED</li></ul></li><li><code>FAXERROR</code> - Cause of failure</li><li><code>REMOTESTATIONID</code> - The CSID of the remote side</li><li><code>FAXPAGES</code> - Number of pages sent</li><li><code>FAXBITRATE</code> - Transmission rate</li><li><code>FAXRESOLUTION</code> - Resolution of sent fax</li><li></li></ul></div><br></div><div><br></div><div dir="ltr">I tried set <span><span style="color:rgb(51, 51, 51);font-family:monospace;font-size:14px;">LOCALSTATIONID, <span><span style="color:rgb(51, 51, 51);font-family:monospace;font-size:14px;">REMOTESTATIONID <span><span style="color:rgb(0, 0, 0);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">on before send_fax , but I still got unknown in the header.</span></span></span></span></span></span></div><div dir="ltr"><span><span style="color:rgb(51, 51, 51);font-family:monospace;font-size:14px;"><span><span style="color:rgb(51, 51, 51);font-family:monospace;font-size:14px;"><span><span style="color:rgb(0, 0, 0);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></span></span></span></span></span></span></div><div dir="ltr"><span><span style="color:rgb(51, 51, 51);font-family:monospace;font-size:14px;"><span><span style="color:rgb(51, 51, 51);font-family:monospace;font-size:14px;"><span><span style="color:rgb(0, 0, 0);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></span></span></span></span></span></span></div><div dir="ltr"><span><span style="color:rgb(51, 51, 51);font-family:monospace;font-size:14px;"><span><span style="color:rgb(51, 51, 51);font-family:monospace;font-size:14px;"><span><span style="color:rgb(0, 0, 0);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><br></span></span></span></span></span></span></div>So my question is where/how to replace the "unknown"?</div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">Thanks</div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">min</div><div dir="ltr"><br></div></div></div></div>
</div>
</div></body></html>