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

Michael Collins msc at freeswitch.org
Thu Oct 28 10:19:45 PDT 2010

I don't see any indication in the docs that this syntax is doing what you
think it is:

You could confirm this by removing the two "set" apps and adding those to
the "rxfax" call in the dialplan:
<action application="rxfax"

My guess is that the above will not work. I would recommend trying the
SendMsg to set the vars:

SendMsg 5716720c-e291-11df-939c-75e5ad3b2de7
call-command: execute
execute-app-name: set
execute-app-arg: fax_enable_t38_request=true

Do that for each var and then do the rxfax. Let us know what happens.

On Thu, Oct 28, 2010 at 6:27 AM, peely <freeswitch at peely.com> wrote:

> 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.
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101028/b9b39f2d/attachment.html 

More information about the FreeSWITCH-users mailing list