[Freeswitch-users] Freeswitch fax by loopback

Hossein Gholizadeh hggh96.hg at gmail.com
Sun May 27 07:40:31 UTC 2018

Hi   i want to send fax by loopback to my self ... here is my
configurations of fax in dialplan :
<extension name="fax_detect">
  <condition field="destination_number" expression="^2010$">
<action application="answer" />
<action application="set" data="transfer_ringback=${us-ring}"/>
<action application="spandsp_start_fax_detect" data="transfer '9978 XML
default' 6"/>
<action application="bridge" data="user/$1@${domain_name}"/>
<extension name="fax_receive">
<condition field="destination_number" expression="^9978$">
<action application="answer" />
<action application="playback" data="silence_stream://2000"/>
<action application="set" data="fax_enable_t38_request=true"/>
<action application="set" data="fax_enable_t38=true"/>
<action application="rxfax" data="$${base_dir}/faxes/${uuid}.tif"/>
<action application="hangup"/>
    <extension name="fax_transmit">
      <condition field="destination_number" expression="^9179$">
<action application="txfax" data="$${base_dir}/txfax.tif"/>
<action application="hangup"/>
after configuring these i want to send a fax file by loopback
in fs_cli i run this command:
originate loopback/9978 (/tmp/test.tif)

but i just get this error: cannot send non-existant fax file . but my fax
file is there already.

is my loopback sending correct ?
am i right that every fax files which received will be saved in this
directory ( $${base_dir}/faxes/${uuid}.tif)?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180527/bb26cb37/attachment.html>

More information about the FreeSWITCH-users mailing list