[Freeswitch-users] (no subject)
Brian Foster
bdfoster at endigotech.com
Sun Apr 22 03:19:06 MSD 2012
Hola,
When I recieve a fax, I do something like this:
<extension name="fax">
<condition field="destination_number" expression="fax">
<action application="answer"/>
<action application="sleep" data="1"/>
<action application="set" data="fax_enable_t38_request=true"/>
<action application="set" data="fax_enable_t38=true"/>
<action application="set" data="execute_on_fax_success=system
/usr/local/freeswitch/scripts/success_postfax.sh '/tmp/FAX-${uuid}.tif'
'${fax_result_code} '${fax_result_text}' "/>
<action application="rxfax" data="/tmp/FAX-${uuid}.tif"/>
<action application="hangup"/>
</condition>
</extension>
I'm actually getting a few other fax-related variables, but I figured I
might shorten it up a bit so it wasn't extremely long on the email. Anyway,
the fax variables I'm trying to pull aren't showing up when I try and do my
post-fax processing when receiving the fax. Am I doing this all wrong?
Should I be doing something to keep the variables set by mod_spandsp alive
until I do my postfax routine?
-BDF
--
Brian D. Foster
Endigo Computer LLC
Email: bdfoster at endigotech.com
Phone: 317-800-7876
Indianapolis, Indiana, USA
This message contains confidential information and is intended for those
listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If
you are not the intended recipient you are notified that disclosing,
copying, distributing or taking any action in reliance on the contents of
this information is strictly prohibited. E-mail transmission cannot be
guaranteed to be secure or error-free as information could be intercepted,
corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message, which arise as a result of e-mail
transmission. If verification is required please request a hard-copy
version.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120421/355fa84b/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list