<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css> <!--@import url(scrollbar.css); --></STYLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>                        body{FONT-SIZE:12pt; FONT-FAMILY:宋体,serif;}                </STYLE>
<META name=GENERATOR content="MSHTML 11.00.9600.17041"><BASE
target=_blank></HEAD>
<BODY
style="BORDER-LEFT-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; MARGIN: 12px; LINE-HEIGHT: 1.3; BORDER-TOP-WIDTH: 0px"
marginheight="0" marginwidth="0">
<DIV><FONT size=3 face=宋体>Hi All,</FONT></DIV>
<DIV> </DIV>
<DIV>I checked and find two possible solution. But still NOT clear.</DIV>
<DIV> </DIV>
<DIV>1. Run "fs_cli" in PHP script. But NOT find to correct command to show the
channel variables. Nor the data for Mod_spandsp.</DIV>
<DIV> </DIV>
<DIV> <A
href="https://wiki.freeswitch.org/wiki/Fs_cli#Simple">https://wiki.freeswitch.org/wiki/Fs_cli#Simple</A></DIV>
<DIV> </DIV>
<DIV>2. get info from "<SPAN>Mod event socket". But still NOT very clear how to
get the Mod_spandsp event.</SPAN></DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV><SPAN> <A
href="https://wiki.freeswitch.org/wiki/Mod_event_socket#api">https://wiki.freeswitch.org/wiki/Mod_event_socket#api</A></SPAN></DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV><SPAN> <A
href="https://wiki.freeswitch.org/wiki/Event_Socket_Library#events">https://wiki.freeswitch.org/wiki/Event_Socket_Library#events</A></SPAN></DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV><SPAN> <A
href="https://wiki.freeswitch.org/wiki/Event_List#Event-Name">https://wiki.freeswitch.org/wiki/Event_List#Event-Name</A></SPAN></DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV><SPAN> <A
href="https://wiki.freeswitch.org/wiki/Mod_spandsp">https://wiki.freeswitch.org/wiki/Mod_spandsp</A></SPAN></DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV><SPAN>Please share your idea, how to handle such issue?</SPAN></DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV><SPAN>Hope there is direct way to get the result code, then it will be easy
to handle fax step in the script.</SPAN></DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV><SPAN>Thanks!</SPAN></DIV>
<DIV> </DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2014-04-15</FONT></DIV>
<DIV align=left><FONT size=2 face=Verdana>
<HR id=SignNameHR style="HEIGHT: 2px; WIDTH: 122px" align=left SIZE=2>
</FONT></DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana><SPAN
id=_FlashSignName>sparklezou</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Verdana>
<HR>
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>发件人:</STRONG>Michael Jerris
<mike@jerris.com></FONT></DIV>
<DIV><FONT size=2
face=Verdana><STRONG>发送时间:</STRONG>2014-04-14 20:08</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG>Re: [Freeswitch-users] How to
check the "fax_result_code" in the script? such as php script?</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>收件人:</STRONG>"FreeSWITCH Users
Help"<freeswitch-users@lists.freeswitch.org></FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>抄送:</STRONG></FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana>you could use an api hangup hook, or possibly do
it in cdr processing.
<DIV><BR>
<DIV>
<DIV>On Apr 10, 2014, at 10:39 PM, sparklezou <<A
href="mailto:sparklezou@163.com">sparklezou@163.com</A>> wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<DIV
style="BORDER-LEFT-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px; WHITE-SPACE: normal; BORDER-BOTTOM-WIDTH: 0px; WORD-SPACING: 0px; TEXT-TRANSFORM: none; COLOR: rgb(0,0,17); FONT: 12.1pt/1.3 宋体, serif; MARGIN: 12px; LETTER-SPACING: normal; BORDER-TOP-WIDTH: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"
marginheight="0" marginwidth="0">
<DIV><FONT size=2 face=Verdana><FONT size=3 face=宋体>Hi
Buddies,</FONT></FONT></DIV><FONT size=2 face=Verdana></FONT>
<DIV><FONT size=2 face=Verdana>
<DIV><FONT size=3 face=宋体></FONT> </DIV>
<DIV><FONT size=3>Reviewed the wiki,<SPAN
class=Apple-converted-space> </SPAN></FONT><FONT size=3 face=宋体><A
href="https://wiki.freeswitch.org/wiki/Mod_spandsp">https://wiki.freeswitch.org/wiki/Mod_spandsp</A></FONT></DIV>
<DIV><FONT size=3></FONT> </DIV>
<DIV><FONT size=3>How to check the "fax_result_code" in the
php script?</FONT></DIV>
<DIV><FONT size=3></FONT> </DIV>
<DIV><FONT size=3>Also other result info, such as<SPAN
class=Apple-converted-space> </SPAN><STRONG>fax_result_text,</STRONG><SPAN
class=Apple-converted-space> </SPAN>then could provide more detail
response info to the client.</FONT></DIV>
<DIV><FONT size=3></FONT> </DIV>
<DIV><FONT size=3>Thanks!</FONT></DIV>
<DIV> </DIV>
<DIV align=left><FONT color=#c0c0c0 size=2
face=Verdana>2014-03-03</FONT></DIV><FONT size=2 face=Verdana>
<HR id=SignNameHR style="HEIGHT: 2px; WIDTH: 122px" align=left SIZE=2>
</FONT>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN
id=_FlashSignName>sparklezou</SPAN></FONT></DIV></FONT></DIV>_________________________________________________________________________<BR></DIV></BLOCKQUOTE></DIV><BR></DIV></FONT></DIV></BODY></HTML>