from cli:

originate loopback/1078 &txfax(/tmp/txfax-sample.tiff)

does not work either.
It gives following error:

2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:496 ==============================================================================
2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (2) Timed out waiting for initial communication.
2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:513 Remote station id:
2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:514 Local station id:  SpanDSP Fax Ident
2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0
2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:517 Total fax pages:   0
2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:518 Image resolution:  0x0
2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate:     14400
2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:521 ECM status         off
2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:522 remote country:
2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:523 remote vendor:
2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:524 remote model:
2015-12-15 15:52:21.690997 [DEBUG] mod_spandsp_fax.c:526 ==============================================================================


On Tue, Dec 15, 2015 at 4:39 PM, huseyin kalyoncu <hkalyoncu@gmail.com> wrote:
hello i tried sending fax from freeswitch dialplan with the following xml part
but i failed. I called 1079 but no fax transmitted.

What am i doing wrong?

    <extension name="fax_receive">
        <condition field="destination_number" expression="^1077$">
                <action application="answer" />
                <action application="playback" data="silence_stream://2000"/>
                <action application="rxfax" data="$${temp_dir}/rxfax.tif"/>
                <action application="hangup"/>
        </condition>
    </extension>
    <extension name="fax_transmit">
      <condition field="destination_number" expression="^1078$">
        <action application="txfax" data="$${temp_dir}/txfax-sample.tiff"/>
        <action application="hangup"/>
      </condition>
    </extension>
    <extension name="test_txfax_stream">
        <condition field="destination_number" expression="^1079$">
                <action application="set" data="ignore_early_media=true"/>
                <action application="set" data="fax_enable_t38=true"/>
                <action application="set" data="fax_verbose=true"/>
                <action application="set" data="hangup_after_bridge_true"/>
                <action application="export" data="execute_on_fax_detect=execute_extension 1078"/>
                <action application="bridge" data="loopback/1077"/>
        </condition>
    </extension>

thanks
Huseyin