QueueMetrics > General Asterisk configuration

Asterisk 1.6 - Agents not logged appearing in Realtime

(1/2) > >>

fpio:
I'm using Asterisk 1.6 and the QM 1.5.5.

In realtime mode, when a call is waiting in the queue, the QM displays all agents who can answer the call, but really not all agents are logged on the server.

In my Dialplan use the command AgentLogin ().
The agents and queues configured in Mysql (Realtime).

Please help me!

QueueMetrics:
Not sure I understand - can you post a screenshot?

fpio:
In the screenshot below shows the QM in realtime with no agent logged:



To make sure there are no agents logged in:



I made a call to a particular queue, the QM is waiting for the call is answered, seeing that at that time appeared several agents. These are all players who can make call to that queue, but no one is logged in the system:



Again, to make sure that there are agents logged on (note the time that these screenshots were generated):



This occurs whenever a call comes in the queue. The QM displays all agents that can respond to this queue.
I noticed that when a call comes in line at the queue_log appears a few lines in the asterisk 1.4 never appeared.
I believe qloader is interpreting this line and including the agent as logged in, follow my file queue_log:

1268219165|REALTIME|fila_sac|agent/1001007|ADDMEMBER|
1268219165|REALTIME|fila_sac|agent/1001025|ADDMEMBER|
1268219165|REALTIME|fila_sac|agent/1001042|ADDMEMBER|
1268219165|REALTIME|fila_sac|agent/1001102|ADDMEMBER|
1268219165|REALTIME|fila_sac|agent/1001153|ADDMEMBER|
1268219165|1268219153.2|fila_sac|NONE|ENTERQUEUE||1130530???
1268219187|1268219153.2|fila_sac|NONE|ABANDON|1|1|22


Thanks!

fpio:
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!

QueueMetrics:
I am not sure I understand - why wouldn't you want QM to process the lines like:


--- Code: ---1268219165|REALTIME|fila_sac|agent/1001007|ADDMEMBER|
1268219165|REALTIME|fila_sac|agent/1001025|ADDMEMBER|
1268219165|REALTIME|fila_sac|agent/1001042|ADDMEMBER|
1268219165|REALTIME|fila_sac|agent/1001102|ADDMEMBER|
1268219165|REALTIME|fila_sac|agent/1001153|ADDMEMBER|
--- End code ---

QM Shows them agents as they are known members of the queue - why shouldnt't it?

Navigation

[0] Message Index

[#] Next page

Go to full version