<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="Wj3C7c"><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><br>
> select *, UNIX_TIMESTAMP(AcctStartTime) as timestamp from radacct where<br>
> (1=1) and Normalized = '0' and AcctStopTime != '0000-00-00 00:00:00' and<br>
> (ConnectInfo_stop is not NULL or MediaInfo is NULL or MediaInfo != '')<br>
><br>
><br>
> MediaInfo (after update from mediaproxy) is NOT null... the rest of the<br>
> fields are ok.<br>
<br>
</div>Look again at the SQL query of above:<br>
<div><br>
MediaInfo is NULL or MediaInfo != ''<br>
<br>
</div>It's not needed that MediaInfo is NULL, it can be any value except NULL or<br>
empty string.<br>
<font color="#888888"></font></blockquote></div></div></div></blockquote><div><br>That's it, it IS an empry string, so it will never rate it<br> </div></div>