[Freeswitch-users] How to check the "fax_result_code" in the script? such as php script?

sparklezou sparklezou at 163.com
Tue Apr 15 10:00:29 MSD 2014


Hi All,

I checked and find two possible solution. But still NOT clear.

1. Run "fs_cli" in PHP script. But NOT find to correct command to show the channel variables. Nor the data for Mod_spandsp.

   https://wiki.freeswitch.org/wiki/Fs_cli#Simple

2. get info from "Mod event socket". But still NOT very clear how to get the Mod_spandsp event.

   https://wiki.freeswitch.org/wiki/Mod_event_socket#api

   https://wiki.freeswitch.org/wiki/Event_Socket_Library#events

   https://wiki.freeswitch.org/wiki/Event_List#Event-Name

   https://wiki.freeswitch.org/wiki/Mod_spandsp

Please share your idea, how to handle such issue?

Hope there is direct way to get the result code, then it will be easy to handle fax step in the script.

Thanks!

2014-04-15



sparklezou



发件人:Michael Jerris <mike at jerris.com>
发送时间:2014-04-14 20:08
主题:Re: [Freeswitch-users] How to check the "fax_result_code" in the script? such as php script?
收件人:"FreeSWITCH Users Help"<freeswitch-users at lists.freeswitch.org>
抄送:

you could use an api hangup hook, or possibly do it in cdr processing.


On Apr 10, 2014, at 10:39 PM, sparklezou <sparklezou at 163.com> wrote:


Hi Buddies,

Reviewed the wiki, https://wiki.freeswitch.org/wiki/Mod_spandsp

How to check the "fax_result_code" in the php script?

Also other result info, such as fax_result_text, then could provide more detail response info to the client.

Thanks!

2014-03-03



sparklezou
_________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140415/662fc388/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list