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
I don't see an email2fax yet, but an important first step is in: contrib/sathieu/email2pdf/email2pdf On Thu, Jan 14, 2010 at 8:54 AM, Costa Zikalala <costa.zikalala@gmail.com>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
-- -Rupa
Thank you so much for this Rupa. 2010/1/14 Rupa Schomaker <rupa@rupa.com>
I don't see an email2fax yet, but an important first step is in:
contrib/sathieu/email2pdf/email2pdf
On Thu, Jan 14, 2010 at 8:54 AM, Costa Zikalala <costa.zikalala@gmail.com>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
-- -Rupa
_______________________________________________ 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
fax2email is quiet easy you just need to keep a mapping of did's with respective email addresses of persons in a database or something, and an api call on hangup can trigger an mail script to convert and send fax in a more user friendly format like pfd or doc etc. for email2fax you would need to setup an smtp service fax.example.com, your smtp service can pipe the email to a custom script to extract file attachments using a mime decoder and send them to freeswitch. for all document format conversion things you can use openoffice macros functionality which is callable from command line. -m On Thu, Jan 14, 2010 at 7:54 PM, Costa Zikalala <costa.zikalala@gmail.com> 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
-- Ghulam Mustafa cell: +92 333.611.7681 sip: cyrenity@ekiga.net mail: mustafa.pk@gmail.com web: cyrenity.wordpress.com
Curious! How do you trigger an api call on hangup? On Thu, Jan 14, 2010 at 2:09 PM, Ghulam Mustafa <mustafa.pk@gmail.com>wrote:
fax2email is quiet easy you just need to keep a mapping of did's with respective email addresses of persons in a database or something, and an api call on hangup can trigger an mail script to convert and send fax in a more user friendly format like pfd or doc etc.
for email2fax you would need to setup an smtp service fax.example.com, your smtp service can pipe the email to a custom script to extract file attachments using a mime decoder and send them to freeswitch. for all document format conversion things you can use openoffice macros functionality which is callable from command line.
-m
On Thu, Jan 14, 2010 at 7:54 PM, Costa Zikalala <costa.zikalala@gmail.com> 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
-- Ghulam Mustafa cell: +92 333.611.7681 sip: cyrenity@ekiga.net mail: mustafa.pk@gmail.com web: cyrenity.wordpress.com
_______________________________________________ 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
You set the api_hangup_hook variable to what you want to run. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca On 14-Jan-10, at 2:23 PM, Mouncif Benniane wrote:
Curious! How do you trigger an api call on hangup?
On Thu, Jan 14, 2010 at 2:09 PM, Ghulam Mustafa <mustafa.pk@gmail.com> wrote: fax2email is quiet easy you just need to keep a mapping of did's with respective email addresses of persons in a database or something, and an api call on hangup can trigger an mail script to convert and send fax in a more user friendly format like pfd or doc etc.
for email2fax you would need to setup an smtp service fax.example.com, your smtp service can pipe the email to a custom script to extract file attachments using a mime decoder and send them to freeswitch. for all document format conversion things you can use openoffice macros functionality which is callable from command line.
-m
On Thu, Jan 14, 2010 at 7:54 PM, Costa Zikalala <costa.zikalala@gmail.com> 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
-- Ghulam Mustafa cell: +92 333.611.7681 sip: cyrenity@ekiga.net mail: mustafa.pk@gmail.com web: cyrenity.wordpress.com
_______________________________________________ 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
you can do it within dialplan, or you can trigger an event or something, there are several ways to get it done! On Fri, Jan 15, 2010 at 12:23 AM, Mouncif Benniane <mouncifbb@gmail.com> wrote:
Curious! How do you trigger an api call on hangup?
On Thu, Jan 14, 2010 at 2:09 PM, Ghulam Mustafa <mustafa.pk@gmail.com> wrote:
fax2email is quiet easy you just need to keep a mapping of did's with respective email addresses of persons in a database or something, and an api call on hangup can trigger an mail script to convert and send fax in a more user friendly format like pfd or doc etc.
for email2fax you would need to setup an smtp service fax.example.com, your smtp service can pipe the email to a custom script to extract file attachments using a mime decoder and send them to freeswitch. for all document format conversion things you can use openoffice macros functionality which is callable from command line.
-m
On Thu, Jan 14, 2010 at 7:54 PM, Costa Zikalala <costa.zikalala@gmail.com> 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
-- Ghulam Mustafa cell: +92 333.611.7681 sip: cyrenity@ekiga.net mail: mustafa.pk@gmail.com web: cyrenity.wordpress.com
_______________________________________________ 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
-- Ghulam Mustafa cell: +92 333.611.7681 sip: cyrenity@ekiga.net mail: mustafa.pk@gmail.com web: cyrenity.wordpress.com
thanks, how would it look in dialplan if I have to call a javascript? On Thu, Jan 14, 2010 at 2:31 PM, Ghulam Mustafa <mustafa.pk@gmail.com>wrote:
you can do it within dialplan, or you can trigger an event or something, there are several ways to get it done!
On Fri, Jan 15, 2010 at 12:23 AM, Mouncif Benniane <mouncifbb@gmail.com> wrote:
Curious! How do you trigger an api call on hangup?
On Thu, Jan 14, 2010 at 2:09 PM, Ghulam Mustafa <mustafa.pk@gmail.com> wrote:
fax2email is quiet easy you just need to keep a mapping of did's with respective email addresses of persons in a database or something, and an api call on hangup can trigger an mail script to convert and send fax in a more user friendly format like pfd or doc etc.
for email2fax you would need to setup an smtp service fax.example.com, your smtp service can pipe the email to a custom script to extract file attachments using a mime decoder and send them to freeswitch. for all document format conversion things you can use openoffice macros functionality which is callable from command line.
-m
On Thu, Jan 14, 2010 at 7:54 PM, Costa Zikalala <costa.zikalala@gmail.com> 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
-- Ghulam Mustafa cell: +92 333.611.7681 sip: cyrenity@ekiga.net mail: mustafa.pk@gmail.com web: cyrenity.wordpress.com
_______________________________________________ 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
-- Ghulam Mustafa cell: +92 333.611.7681 sip: cyrenity@ekiga.net mail: mustafa.pk@gmail.com web: cyrenity.wordpress.com
_______________________________________________ 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
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
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
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
We also would like to work on the same. Plz let me know all the possibilities - 1. Email body to be sent as fax body. 2. What about attached document to email ? 3. Covering page ? Plz let us know the possibilities, so that me a7 my team can start the work. regards sharad Aza1 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
-- View this message in context: http://n2.nabble.com/Mod-Fax-tp4393083p4403364.html Sent from the freeswitch-users mailing list archive at Nabble.com.
Just adding one more thing that first we are getting this done from a web page... Sharad wrote:
We also would like to work on the same. Plz let me know all the possibilities -
1. Email body to be sent as fax body. 2. What about attached document to email ? 3. Covering page ?
Plz let us know the possibilities, so that me a7 my team can start the work.
regards sharad
Aza1 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
-- View this message in context: http://n2.nabble.com/Mod-Fax-tp4393083p4403377.html Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (9)
-
Brian Engert
-
Costa Zikalala
-
Ghulam Mustafa
-
Mathieu Rene
-
Michael Collins
-
Mouncif Benniane
-
Rupa Schomaker
-
Sharad
-
Steve Steffler