<!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>
<STYLE type=text/css> <!--@import url(scrollbar.css); --></STYLE>

<STYLE>                        body{FONT-SIZE:12pt; FONT-FAMILY:宋体,serif;}                </STYLE>

<META name=GENERATOR content="MSHTML 11.00.9600.16521"><BASE target=_blank>
<STYLE type=text/css> <!--@import url(scrollbar.css); --></STYLE>

<STYLE>                        BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}                        body{FONT-SIZE:12.1pt; COLOR:#001; FONT-FAMILY:宋体,serif;}                </STYLE>

<META name=GENERATOR content="MSHTML 8.00.7601.18365"><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 color=#000000 size=3 face=宋体>Hi All,</FONT></DIV>
<DIV><FONT color=#000000 size=3></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=3>I also checked the wiki </FONT><A 
href="https://wiki.freeswitch.org/wiki/Channel_Variables">https://wiki.freeswitch.org/wiki/Channel_Variables</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>Is there any way to get the channel variables in PHP script? Then it will 
be very easy to handle the following steps according to the result code.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks in advance!</DIV>
<DIV>&nbsp;</DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2014-04-14</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>"sparklezou"&lt;sparklezou@163.com&gt;</FONT></DIV>
<DIV><FONT size=2 
face=Verdana><STRONG>发送时间:</STRONG>2014-04-11&nbsp;10:39</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG>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"&lt;freeswitch-users@lists.freeswitch.org&gt;,"freeswitch-dev"&lt;freeswitch-dev@lists.freeswitch.org&gt;</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>抄送:</STRONG></FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Verdana>
<DIV><FONT size=2 face=Verdana><FONT color=#000000 size=3 face=宋体>Hi 
Buddies,</FONT></DIV>
<DIV>
<DIV><FONT color=#000000 size=3 face=宋体></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=3>Reviewed the wiki, </FONT><FONT color=#000000 
size=3 face=宋体><A 
href="https://wiki.freeswitch.org/wiki/Mod_spandsp">https://wiki.freeswitch.org/wiki/Mod_spandsp</A></FONT></DIV>
<DIV><FONT color=#000000 size=3></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=3>How to check the "fax_result_code" in the 
php&nbsp;script?</FONT></DIV>
<DIV><FONT color=#000000 size=3></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=3>Also other result info, such as 
<STRONG>fax_result_text,</STRONG> then could provide more detail response info 
to the client.</FONT></DIV>
<DIV><FONT color=#000000 size=3></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=3>Thanks!</FONT></DIV>
<DIV>&nbsp;</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></STATIONERY></FONT></DIV></FONT></DIV></BODY></HTML>