I found a solution, I do not know if it's the best, but for now is working.
I added an IF in qloader.pl to ignore the line in REALTIME queue_log:
sub insertRow {
(...)
if ( $cid ne "'REALTIME'" ) {
my $sql = " INSERT INTO `queue_log`
( `partition` , `time_id` , `call_id` , `queue` , `agent` , `verb` , `data1` , `data2` , `data3` , `data4` )
VALUES
( '$partition', $tst, $cid, $que, $age, $verb, $d1, $d2, $d3, '' );";
execQuery( $sql );
$nImportLines +=1;
if (( $nImportLines % $log_every_num ) == 0 ) { syslog( "Loaded $nImportLines lines so far..." ) };
}
}
If anyone has another solution is welcome!