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 
<[email protected]> 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 [email protected]:
> Date: Fri, 2 Aug 2019 22:22:24 +0000 (UTC)
> From: Min Wang <[email protected]>
> To: "[email protected]"
>     <[email protected]>
> Subject: [asterisk-users] Fw: where to set fax header field ( unknown
>     field)    in app_fax
> Message-ID: <[email protected]>
> 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  
-- 
_____________________________________________________________________
-- 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

Reply via email to