<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18939">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>I set this in my dialplan :</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> <action application="set"
data="session_in_hangup_hook=true"/><BR> <action
application="set" data="api_hangup_hook=system /usr/local/bin/php
/usr/local/freeswitch/scripts/php/test.php ${uuid}"/><BR></FONT></DIV>
<DIV><FONT size=2> and this in test.php:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> exec("/usr/local/freeswitch/bin/fs_cli -x \"uuid_getvar
".$argv[1]." test_var\"", $exTabRet, $req);</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> it results :</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV>-ERR No Such Channel!</DIV>
<DIV> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I tried to replace ${uuid} by ${call_uuid} without
success.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Thanks</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Franck</FONT></DIV></BODY></HTML>