I have not, I actually learned about it today doing research for this particular problem. I'm interested in trying it, though. Yes, it seems more appropriate because you can also do execute_on_fax_failure and do something else when it fails i.e. delete the file that was just created, send an email out saying there was a failed fax, etc. The reason why I hadn't mentioned is was just because I had not tried it, and I didn't want to recommend it until I had tried it out. I'll do some research though.<br>
<br>-BDF<br><br><div class="gmail_quote">On Fri, Apr 13, 2012 at 5:06 PM, Wesley Akio <span dir="ltr"><<a href="mailto:wesleyakio@tuntscorp.com">wesleyakio@tuntscorp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sorry to hop into this conversation, but sice the subject is fax...<div><br></div><div>Brian,</div><div><br></div><div>You recomended
api_hangup_hook and that is currently what I'm using, I tried execute_on_fax_success as it seemed more apropriate but I can't get it to work properly. I'm still debuging but it seems to work only with small faxes...</div>
<div><br></div><div>Have you tried execute_on_fax_success? Did it work for you?</div><div><br></div><div><font color="#888888">Wesley Akio<br>TuntsCorp.com</font><div><div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Fri, Apr 13, 2012 at 3:29 PM, Brian Foster <span dir="ltr"><<a href="mailto:bdfoster@endigotech.com" target="_blank">bdfoster@endigotech.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Disclaimer: Faxing over VoIP can be a crapshoot. It's very dependent on network conditions and carrier support and implementation. <br><br>With that out of the way, the best place to start doing fax using your FS machine (only) would be here:<br>
<br>Place this in your public context (maybe it shouldn't stay there, but this is an extremely easy way to mess around with faxing):<br><font><br></font><extension name="fax_receive"><font><br> <condition field="context" expression="public"/><br>
<condition field="destination_number" expression="^9978$"><br> <action application="answer"/><br> <action application="playback" data="silence_stream://2000"/>
<br> <action application="set" data="fax_enable_t38_request=true"/>
<br> <action application="set" data="fax_enable_t38=true"/>
<br> <action application="rxfax" data="/tmp/FAX-${uuid}.tif"/><br> <action application="hangup"/>
<br> </condition>
<br></extension></font><br><br>If you want to run a script after the fax is recieved, put this line in before the "rxfax":<br><br> <action application="set" data="api_hangup_hook=system <scriptname> <arg1> <arg2> <argN>"/><br>
<br>Start with receiving faxes, and go from there. Sending faxes requires some extra work, but not much. For more information about faxing, please visit <a href="http://wiki.freeswitch.org/wiki/Mod_spandsp#Fax" target="_blank">http://wiki.freeswitch.org/wiki/Mod_spandsp#Fax</a><br>
<br>Obviously if you have any questions, please do not hesitate to ask!<br><br>-BDF<div><div><br><br><div class="gmail_quote">On Fri, Apr 13, 2012 at 2:09 PM, Timothy Bolton <span dir="ltr"><<a href="mailto:ifoundthetao@gmail.com" target="_blank">ifoundthetao@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
You've raised some good questions, and good points.<br>
<br>
This model does have an RJ-11, and I believe you are correct. I
don't have an ATA yet, but I'll get the ATA model that you have
(Grandstream HT286 ATA).<br>
<br>
1 - I'll do a dedicated fax number<br>
1.1 - Each fax machine will have its own number<br>
2 - As it stands, I'm going to be running this over VoIP<br>
<br>
As far as faxing via FS w/o the machine goes, I wasn't really aware
of that. I think I knew it, but it didn't click. After I get the
ATA setup working, I think I'll set up another version where FS is
handling it w/o a machine. That way I'll have both types of
experience under my belt.<br>
<br>
Actually, as I think about it more.. it probably makes more sense to
set up the environment where the machine isn't present first (as I
don't have the ATA on hand now)... <br>
<br>
Thanks!<div><br>
<br>
<pre cols="72">'We who cut mere stones must always be envisioning cathedrals.'
Quarry Worker's Creed</pre>
<br></div><div><div></div><div>
On 4/13/2012 12:51 PM, Brian Foster wrote:
<blockquote type="cite">I've looked at that model, and it doesn't actually say
this but I'm assuming you connect an RJ-11 to the fax modem inside
the all-in-one. I do my faxing using SpanDSP, but basically what
you would need is an ATA that supports T.38, as well as a provider
that supports T.38. Flowroute seems to be pretty reliable (that's
who I use). I have a fax machine that I've played around with
here, and I'm using a Grandstream HT286 ATA to connect it to
FreeSWITCH.<br>
<br>
Having said all of that, it's highly dependent on your setup.
Questions:<br>
<br>
1. Are you going to have dedicated fax numbers?<br>
1.1. If so, will each fax machine have it's own fax number?<br>
2. Are you going to have this running over VoIP or TDM
(PRI/BRI/etc.)?<br>
<br>
If there's any other details you feel are related, please mention
those too. Realize that FS can do faxing on it's own without the
need for a fax machine. Most, however, decide not to go down that
route mostly because the fax machine is an interface most are
comfortable with. You can even do outbound faxes on a fax machine,
and get FS to handle incoming faxes and email them, store them,
and even print them to a network printer. <br>
<br>
We're more than happy to help!<br>
<br>
-BDF<br>
<br>
<div class="gmail_quote">On Fri, Apr 13, 2012 at 1:36 PM, Timothy
Bolton <span dir="ltr"><<a href="mailto:ifoundthetao@gmail.com" target="_blank">ifoundthetao@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey all,<br>
<br>
I know that there is a good amount of information out there on
how to do<br>
faxing via FreeSWITCH, but I'm still finding myself a bit
confused.<br>
<br>
I'm currently trying to figure out the process by which I
would need to<br>
do this. I'll detail my setup, and ask questions. I've read<br>
documentation, but I'm still missing something.<br>
<br>
Okay, I'm currently running FreeSWITCH in a CentOS VM, with
4GB of RAM,<br>
and I'm the only user. I'm using FlowRoute, and I have a
couple of<br>
unused numbers. Pretty simple, nothing out of the ordinary
(except<br>
maybe the VM part?).<br>
<br>
At some point in the next six months or so, I'll be getting a
couple of<br>
dedicated servers here for various things, and I'll begin
moving my VM<br>
servers from my main computer to those, as actual hardware
hosts.<br>
<br>
So my fax machine is built into an "All-in-one" Network<br>
Printer/Scanner/Fax (Brother MFC-7360N).<br>
<br>
Here's my main question, do I need to get a special card to
run a cable<br>
from my computer to the Fax?<br>
<br>
Is it better to get a dedicated fax machine to use, or are
there<br>
specialized fax machines for Fax over IP?<br>
<br>
Thanks guys and gals,<br>
<br>
Tim<br>
<br>
--<br>
'We who cut mere stones must always be envisioning
cathedrals.'<br>
Quarry Worker's Creed<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Brian D. Foster<br>
Endigo Computer LLC<br>
Email: <a href="mailto:bdfoster@endigotech.com" target="_blank">bdfoster@endigotech.com</a><br>
Phone: <a href="tel:317-800-7876" value="+13178007876" target="_blank">317-800-7876</a><br>
Indianapolis, Indiana, USA<br>
<br>
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.<br>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
</blockquote>
</div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Brian D. Foster<br>Endigo Computer LLC<br>Email: <a href="mailto:bdfoster@endigotech.com" target="_blank">bdfoster@endigotech.com</a><br>Phone: <a href="tel:317-800-7876" value="+13178007876" target="_blank">317-800-7876</a><br>
Indianapolis, Indiana, USA<br>
<br>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.<br>
<br>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Brian D. Foster<br>Endigo Computer LLC<br>Email: <a href="mailto:bdfoster@endigotech.com" target="_blank">bdfoster@endigotech.com</a><br>Phone: 317-800-7876<br>Indianapolis, Indiana, USA<br>
<br>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.<br>
<br>