<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Helvetica, Arial, sans-serif">Hello,<br>
<br>
I execute the following php script when a call ends and the
h-context is executed :<br>
<br>
<i>exten => h,n,System(/usr/bin/php
/var/log/asterisk/loggingAST/loggingAST.php
/var/log/asterisk/loggingAST/${CHANNEL:4}.csv)</i><br>
<br>
The script loggingAST.php writes some information in a MySQL
database on a remote webserver.<br>
<br>
I have noticed that when the webserver is unreachable, this channel
"hangs" and Asterisk can not clear the channel and rtp ports.<br>
<br>
<br>
Is there a way to have the channel cleared, even if it takes some
time to execute the php script ??<br>
<br>
<br>
Kind regards,<br>
<br>
Jonas.<br>
</font>
</body>
</html>