1
General Asterisk configuration / Re: Extensions Instead Agents
« on: September 11, 2007, 22:17:19 »
Ok, I finally found how to do it, it was something like this:
For the Login
System( echo "${EPOCH}|${UNIQUEID}|${queue}|SIP/${EXTEN:3}|AGENTLOGIN|-" >> /var/log/asterisk/queue_log )
For the Logout
System( echo "${EPOCH}|${UNIQUEID}|${queue}|SIP/${EXTEN:3}|AGENTLOGOFF|-|${RV}" >> /var/log/asterisk/queue_log )
So now my agents appear in the Real Time report and in the agents report.
But now, I have a couple more questions, now that I have this working, in the panel:
Agents currently logged in:
There are 8 columns, Agent, Last Logon, Queue(s):, Extension, On pause, Srv, Last call, On queue
In my installation and the changes I did, I got displayed the Agent, Last Logon, Last Call and On Queue, I will like to know what can I do to have the Queue(s) field with information, so I can know in which queues are logged in the agents.
Thanks in advance,
Ricardo
For the Login
System( echo "${EPOCH}|${UNIQUEID}|${queue}|SIP/${EXTEN:3}|AGENTLOGIN|-" >> /var/log/asterisk/queue_log )
For the Logout
System( echo "${EPOCH}|${UNIQUEID}|${queue}|SIP/${EXTEN:3}|AGENTLOGOFF|-|${RV}" >> /var/log/asterisk/queue_log )
So now my agents appear in the Real Time report and in the agents report.
But now, I have a couple more questions, now that I have this working, in the panel:
Agents currently logged in:
There are 8 columns, Agent, Last Logon, Queue(s):, Extension, On pause, Srv, Last call, On queue
In my installation and the changes I did, I got displayed the Agent, Last Logon, Last Call and On Queue, I will like to know what can I do to have the Queue(s) field with information, so I can know in which queues are logged in the agents.
Thanks in advance,
Ricardo