[Freeswitch-users] Problem with T.38 fax receive using ESL

peely freeswitch at peely.com
Thu Oct 28 06:27:44 PDT 2010


Hi,

I'm having problems receiving faxes through the Event Socket API using T.38
and SpanDSP. If I use the example dialplan entry:

    <extension name="NTS TESTfax">
        <condition field="destination_number" expression="^\+(testfax)">
            <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="/tmp/faxes/FAX-${uuid}.tif"/>
            <action application="hangup"/>
        </condition>
    </extension>


Then everything is OK and a fax is received nicely whereas if I use an ESL
command on an answered call like:

SendMsg 5716720c-e291-11df-939c-75e5ad3b2de7
call-command: execute
execute-app-name: rxfax
execute-app-arg:
{fax_enable_t38_request=true,fax_enable_t38=true,fax_header=testheader,fax_ident=testident}/tmp/faxes/myfax.tif

Then there's lots of T.38 mucking about but the fax terminates with a
communications error. I've tried sleeping for 2 seconds, broadcasting
silence_stream://2000 etc but to no avail.

Has anyone successfully got T.38 fax receive working through the ESL, and if
so, what chain of commands do you execute?

I'm using a GIT trunk circa Oct 15th BTW.



Many thanks,



Neil.

-- 
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Problem-with-T-38-fax-receive-using-ESL-tp5682561p5682561.html
Sent from the freeswitch-users mailing list archive at Nabble.com.



More information about the FreeSWITCH-users mailing list