[asterisk-users] where to set fax header field ( unknown, field) in app_fax

Min Wang minge_wang at yahoo.com
Mon Aug 5 18:05:11 CDT 2019


HI
@andre, thanks!

I will try to switch to res_fax to see if it works.



min

 

    On Sunday, August 4, 2019, 07:17:17 AM CDT, Andre Gronwald <andregronwald78 at gmail.com> wrote:  
 
 Hi,
I am using these variables in my callfiles:

CallerID: "My Fax-ID" <+1234567890123>
setvar:FAXOPT(headerinfo)=My Fax-ID
setvar:FAXOPT(localstationid)=001234567890123


regards,
andre

Am 03.08.19 um 19:00 schrieb asterisk-users-request at lists.digium.com:
> Date: Fri, 2 Aug 2019 22:22:24 +0000 (UTC)
> From: Min Wang <minge_wang at yahoo.com>
> To: "asterisk-users at lists.digium.com"
>     <asterisk-users at lists.digium.com>
> Subject: [asterisk-users] Fw: where to set fax header field ( unknown
>     field)    in app_fax
> Message-ID: <473863635.605888.1564784544852 at mail.yahoo.com>
> Content-Type: text/plain; charset="utf-8"
>
> HI
>
> I used asterisk 13's  app_fax to send and recv fax.
> On the received fax/pdf,  I got a fax with header like this:
> 26-Ju-2019 | 06:03|  my-test | unknown | p.1
>
> The my-test is  set by LOCALHEADERINFO before I call send_fax.
> What I am not clear is where does **unknown** come from?
> The doc at:Asterisk 13 Application_SendFAX_app_fax - Asterisk Project - Asterisk Project Wiki
> said:
> This application sets the following channel variables:
>    
>    - LOCALSTATIONID - To identify itself to the remote end
>    - LOCALHEADERINFO - To generate a header line on each page
>    - FAXSTATUS
>        - SUCCESS
>        - FAILED
>
>    - FAXERROR - Cause of failure
>    - REMOTESTATIONID - The CSID of the remote side
>    - FAXPAGES - Number of pages sent
>    - FAXBITRATE - Transmission rate
>    - FAXRESOLUTION - Resolution of sent fax
>    -
>
>
> I tried set LOCALSTATIONID, REMOTESTATIONID on before send_fax , but I still got unknown in the header.
>
>
> So my question is where/how to replace the "unknown"?
>
>
> Thanks
>
> min


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190805/15cc4f78/attachment.html>


More information about the asterisk-users mailing list