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




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
>
>
>
>
>
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