<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You set the api_hangup_hook variable to what you want to run.<div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-size: 12px; "><div>Mathieu Rene</div><div>Avant-Garde Solutions Inc</div><div>Office: + 1 (514) 664-1044 x100</div><div>Cell: +1 (514) 664-1044 x200</div><div><a href="mailto:mrene@avgs.ca">mrene@avgs.ca</a></div><div><br></div><div><br></div></span></div></div></span><br class="Apple-interchange-newline"> </div><br><div><div>On 14-Jan-10, at 2:23 PM, Mouncif Benniane wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Curious! How do you trigger an api call on hangup?<br><br><div class="gmail_quote">On Thu, Jan 14, 2010 at 2:09 PM, Ghulam Mustafa <span dir="ltr">&lt;<a href="http://mustafa.pk">mustafa.pk</a>@<a href="http://gmail.com">gmail.com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">fax2email is quiet easy you just need to keep a mapping of did's with<br> respective email addresses of persons in a database or something, and<br> an api call on hangup can trigger an mail script to convert and send<br> fax in a more user friendly format like pfd or doc etc.<br> <br> for email2fax you would need to setup an smtp service <a href="http://fax.example.com" target="_blank">fax.example.com</a>,<br> your smtp service can pipe the email &nbsp;to a custom script to<br> extract file attachments using a mime decoder and send them to<br> freeswitch. for all document format conversion things you can use<br> openoffice macros functionality which is callable from command line.<br> <br> -m<br> <div class="im"><br> On Thu, Jan 14, 2010 at 7:54 PM, Costa Zikalala<br> &lt;<a href="mailto:costa.zikalala@gmail.com">costa.zikalala@gmail.com</a>&gt; wrote:<br> </div><div><div></div><div class="h5">&gt; Hi All<br> &gt;<br> &gt; Has anyone worked on a email2fax script for mod_fax?<br> &gt; If not how much would it cost for some genius here to quickly whip-up one?<br> &gt;<br> &gt; Ideally both email2fax and fax2email should come standard with mod_fax or is<br> &gt; this not possible?<br> &gt;<br> &gt; Thanks<br> &gt; Costa<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> </div></div><div class="im">&gt; _______________________________________________<br> &gt; FreeSWITCH-users mailing list<br> &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br> &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> &gt;<br> &gt;<br> <br> <br> <br> --<br> </div><font color="#888888">Ghulam Mustafa<br> cell: +92 333.611.7681<br> sip: <a href="mailto:cyrenity@ekiga.net">cyrenity@ekiga.net</a><br> mail: <a href="http://mustafa.pk" target="_blank">mustafa.pk</a>@<a href="http://gmail.com" target="_blank">gmail.com</a><br> web: <a href="http://cyrenity.wordpress.com" target="_blank">cyrenity.wordpress.com</a><br> </font><div><div></div><div class="h5"><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> </div></div></blockquote></div><br> _______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>