[Freeswitch-users] can't get channel variables after hangup

Madovsky infos at madovsky.org
Wed Dec 1 19:53:09 MSK 2010


I set this in my dialplan :

   <action application="set" data="session_in_hangup_hook=true"/>
   <action application="set" data="api_hangup_hook=system /usr/local/bin/php /usr/local/freeswitch/scripts/php/test.php ${uuid}"/>

  and this in test.php:

  exec("/usr/local/freeswitch/bin/fs_cli -x \"uuid_getvar ".$argv[1]."  test_var\"", $exTabRet, $req);


 it results :

-ERR No Such Channel!


I tried to replace ${uuid} by ${call_uuid} without success.

Thanks

Franck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101201/2f00db46/attachment.html 


More information about the FreeSWITCH-users mailing list