on a related subject I'm working on a web->fax solution and would be willing to share my code when I'm done but I'm stuck on getting the fax status for api_hangup_hook. I wish I could do something like this originate {fax_ident=312-123-4567,fax_header='Soliant Consulting - Brian',api_hangup_hook='system /usr/bin/php /usr/local/freeswitch/scripts/sentFax.php bob@smith.com ${fax_result_code} ${fax_result_text} ${fax_document_total_pages}'}sofia/gateway/outbound.fax/1004 &txfax(/tmp/fax.tiff) However freeswitch does not seem to like channel variables inside api_hangup_hook. I've thought about using python or lua to send the fax instead of originate but I don't know how to do the txfax call. On Sat, Jan 16, 2010 at 2:05 PM, Costa Zikalala <costa.zikalala@gmail.com> wrote:
Yes Steve, I'm already using that for fax2email. I'm now trying to do things in the opposite direction.
*A realy great script by the way*
Thanks Costa
2010/1/16 Steve Steffler <stevesteffler@shaw.ca>
Costa, I wrote this script to handle fax2email (but not email2fax). It uses variables you set in the dialplan in advance for the email address for that fax DID. http://steffler.info/wp-content/uploads/2009/06/process-rxfax.py Regards, Steve On Jan 14, 2010, at 7:54 AM, Costa Zikalala wrote:
Hi All
Has anyone worked on a email2fax script for mod_fax? If not how much would it cost for some genius here to quickly whip-up one?
Ideally both email2fax and fax2email should come standard with mod_fax or is this not possible?
Thanks Costa
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org