<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hello,<br>
<br>
I notice that the function ChanIsAvail always returns result : 0<br>
<br>
It does not matter if the realtime SIP peer is registered or not.<br>
<br>
How come ??<br>
<br>
My dialplan :<br>
<br>
exten => s,n,ChanIsAvail(SIP/${SIPPEERNAME})<br>
exten => s,n,NoOp(availstatus = ${AVAILSTATUS})<br>
<br>
</font><font face="Helvetica, Arial, sans-serif">${SIPPEERNAME} =
sip username from realtime Mysql database.<br>
<br>
</font><font face="Helvetica, Arial, sans-serif"><br>
<br>
Kind regards,<br>
Jonas.<br>
</font>
</body>
</html>