Author Topic: Installing on TrixBox 2.6.x  (Read 5546 times)

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Installing on TrixBox 2.6.x
« 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

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Installing on TrixBox 2.6.x
« Reply #1 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


shm267

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Installing on TrixBox 2.6.x
« Reply #2 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"

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Installing on TrixBox 2.6.x
« Reply #3 on: July 31, 2008, 10:09:38 »
You are right. We'll update it.
Thanks for pointing that out.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Installing on TrixBox 2.6.x
« Reply #4 on: August 07, 2008, 16:44:47 »
Guide updated. thanks.