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

Andre Gronwald andregronwald78 at gmail.com
Sun Aug 4 07:15:50 CDT 2019


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




More information about the asterisk-users mailing list