QueueMetrics forum

QueueMetrics => QueueMetrics installation => Topic started by: QueueMetrics on June 06, 2008, 17:58:16

Title: Installing on TrixBox 2.6.x
Post 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:
Code: [Select]
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
Code: [Select]
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:

Code: [Select]
[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:

Code: [Select]
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:

Code: [Select]
agent show
You should get something like:

Code: [Select]
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
Title: Re: Installing on TrixBox 2.6.x
Post by: QueueMetrics on June 09, 2008, 14:05:11
We have released a new configuration guide that covers TrixBox CE 2.6.x at: http://queuemetrics.com/download/QM_TrixBox_220.pdf

Title: Re: Installing on TrixBox 2.6.x
Post by: shm267 on July 31, 2008, 03:48:06
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"
Title: Re: Installing on TrixBox 2.6.x
Post by: QueueMetrics on July 31, 2008, 10:09:38
You are right. We'll update it.
Thanks for pointing that out.
Title: Re: Installing on TrixBox 2.6.x
Post by: QueueMetrics on August 07, 2008, 16:44:47
Guide updated. thanks.