[Freeswitch-users] Send email on successful fax sending.

Kristian Kielhofner kris at kriskinc.com
Fri Jan 21 17:27:40 MSK 2011


You can use api_hangup_hook to call a lua script to do this right now:

http://wiki.freeswitch.org/wiki/Mod_lua#Special_Case:_env_object

On Fri, Jan 21, 2011 at 3:14 AM, Marc de Corny <marcdecorny at gmail.com> wrote:
> Hi There,
>
> Has anybody had any ideas on this ? I imagine you must all have the same
> requirement in the Email to Fax scenario ?
>
> Very grateful for any pointers
> thanks
> Marc
>
> On Thu, Dec 30, 2010 at 3:29 PM, Marc de Corny <marcdecorny at gmail.com>
> wrote:
>>
>> Hi all,
>>
>> I have got all the inbound fax working and can get FS to send outbound fax
>> from the shell by using the commands :
>> /opt/freeswitch/bin/fs_cli \
>> --execute="originate {fax_verbose=true}$DEST &txfax($TMPFAX)" as in the
>> wiki
>>
>> However I'm looking for a way of notifying the sender on the success or
>> failure of the fax emission. Is there a way of getting a result back from
>> that command like fax_success 0/1 that will allow me then to send the
>> relevant emails out ?
>>
>> Any help is much appreciated.
>>
>> thanks
>> Marc
>>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



-- 
Kristian Kielhofner



More information about the FreeSWITCH-users mailing list