QueueMetrics > QueueMetrics installation

Installing on TrixBox 2.6.x

(1/1)

QueueMetrics:
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:

--- Code: ---core show application AgentCallbackLogin
--- End code ---
If 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

--- Code: ---echo > /etc/asterisk/agents.conf
chown asterisk.asterisk /etc/asterisk/agents.conf
--- End code ---

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:


--- Code: ---[general]
persistentagents=yes

[agents]
ackcall=no

agent => 300,,Alice
agent => 301,,Bob
--- End code ---

You can create your own agents, of course, instead of the given ones.

Now the tricky part - log on to Asterisk and type:


--- Code: ---module unload chan_agent.so
module load chan_agent.so
--- End code ---

Or just reboot....  8)

At this point, the module should have been loaded correctly.
You can try it by typing:


--- Code: ---agent show
--- End code ---

You should get something like:


--- Code: ---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]
--- End code ---

This should be it.  ;D

QueueMetrics:
We have released a new configuration guide that covers TrixBox CE 2.6.x at: http://queuemetrics.com/download/QM_TrixBox_220.pdf

shm267:
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"

QueueMetrics:
You are right. We'll update it.
Thanks for pointing that out.

QueueMetrics:
Guide updated. thanks.

Navigation

[0] Message Index

Go to full version