QueueMetrics forum
QueueMetrics => QueueMetrics installation => Topic started by: QueueMetrics on June 06, 2008, 17:58:16
-
We are running a few tests of the latest QM installed on TrixBox 2.6, and we are noticing that the chan_agents module, while loaded, is not immediatly working. This is because there is no agents.conf file.
To check if this is the case, try running the command:
core show application AgentCallbackLoginIf you get an error message, this means that the module has not loaded correctly.
In order to activate AgentCallBackLogin, you can do the following:
1. Create the file /etc/asterisk/agents.conf
echo > /etc/asterisk/agents.conf
chown asterisk.asterisk /etc/asterisk/agents.conf
2. Edit the file /etc/asterisk/agents.conf (you can use a text editor or the TrixBox PBX -> Config Edit tool) and set it like this:
[general]
persistentagents=yes
[agents]
ackcall=no
agent => 300,,Alice
agent => 301,,Bob
You can create your own agents, of course, instead of the given ones.
Now the tricky part - log on to Asterisk and type:
module unload chan_agent.so
module load chan_agent.so
Or just reboot.... 8)
At this point, the module should have been loaded correctly.
You can try it by typing:
agent show
You should get something like:
300 (Alice) available at '400@from-internal' (musiconhold is 'default')
301 (Bob) not logged in (musiconhold is 'default')
2 agents configured [1 online , 1 offline]
This should be it. ;D
-
We have released a new configuration guide that covers TrixBox CE 2.6.x at: http://queuemetrics.com/download/QM_TrixBox_220.pdf
-
You guys may want to update your guide on page 6 and change the test line from
asterisk -rx "core show agents"
to
asterisk -rx "agent show"
-
You are right. We'll update it.
Thanks for pointing that out.
-
Guide updated. thanks.