I'm trying to get the mod_span vaialbes after fax sent fax_success and fax_result_text with following in dialplan <action application="set" data="api_hangup_hook=system /usr/local/bin/php /usr/local/freeswitch/scripts/phptest.php ${dialed_extension} ${fax_file} ${fax_success} ${fax_result_text}"/> but these vars are empty. is there any example to get these vars after hangup ? Thanks Franck
The answer to this question is the same as the answer to the other one: need to use the session_in_hangup_hook and process it in Lua, Perl, or js. -MC On Tue, Nov 30, 2010 at 8:27 PM, Madovsky <infos@madovsky.org> wrote:
I'm trying to get the mod_span vaialbes after fax sent fax_success and fax_result_text with following in dialplan
<action application="set" data="api_hangup_hook=system /usr/local/bin/php /usr/local/freeswitch/scripts/phptest.php ${dialed_extension} ${fax_file} ${fax_success} ${fax_result_text}"/> but these vars are empty.
is there any example to get these vars after hangup ?
Thanks
Franck
_______________________________________________ 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
participants (2)
-
Madovsky
-
Michael Collins