Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - SilvioSantoZ

Pages: [1]
1
This is even more radical!

Code: [Select]
delimiter |
 
DROP TRIGGER `queuemetrics`.`self_update_qlog_rewrite_insert`|
DROP TRIGGER `queuemetrics`.`self_update_qlog_rewrite_update`|
DROP TRIGGER `queuemetrics`.`self_update_qlog_rewrite_delete`|
 
 
CREATE TRIGGER self_update_qlog_rewrite_insert AFTER INSERT ON agenti_noti FOR EACH ROW BEGIN
    DELETE FROM qlog_rewrite;
    INSERT INTO qlog_rewrite ( ag_from, ag_rewritten, last_upd )
    SELECT descr_agente, nome_agente, NOW() FROM agenti_noti;
END;
 
|
 
CREATE TRIGGER self_update_qlog_rewrite_update AFTER UPDATE ON agenti_noti FOR EACH ROW BEGIN
    DELETE FROM qlog_rewrite;
    INSERT INTO qlog_rewrite ( ag_from, ag_rewritten, last_upd )
    SELECT descr_agente, nome_agente, NOW() FROM agenti_noti;
END;
 
|
 
CREATE TRIGGER self_update_qlog_rewrite_delete AFTER DELETE ON agenti_noti FOR EACH ROW BEGIN
    DELETE FROM qlog_rewrite;
    INSERT INTO qlog_rewrite ( ag_from, ag_rewritten, last_upd )
    SELECT descr_agente, nome_agente, NOW() FROM agenti_noti;
END;
 
|

2
QueueMetrics installation / Re: Configuring Agents (Elastix 2.2)
« on: March 06, 2012, 00:01:37 »
Hello! You guys mention the next public version will include this. Does it mean 12.1.2 includes it? Or does the (recently released) 12.2.4?
I'm trying with Elastix 2.2 running Asterisk 1.8.7 and I can't understand how to configure this. There's a "Asterisk aliases" field for agents, but I don't know what to put in there (or in the other fields).

Asterisk logs the "Name" of agent for everything in queue_log except for the agent login-logout (we use standard 1234** and 1234* to login and logout via the agent's phone). For login and logout it uses the "local/XXXX@from-queue" format. Nowhere in queue_log is the "Agent/XXXX" format used.

When this gets imported into QueueMetrics (we're using qLoader) it can't figure out which agents are currently logged in. Also when it does ORIGINATE (we used network sniffer to find out) to do the agent-page based login/logout of the queue, it sends the 'name' of the agent and it does not work (although QM says it did work - QM does not check return code?).

We really can't empty out the field in Elastix/FreePBX since it's used for other applications (and quite convenient).

Is there a solution for this? Thanks.


Pages: [1]