QueueMetrics forum
QueueMetrics => QueueMetrics installation => Topic started by: arkman on May 21, 2009, 23:23:30
-
Fresh install of Trixbox 2.6.2.2. Running through the installation guide: http://queuemetrics.com/manuals/QM_Trixbox-chunked/
At step 2.5.1, I get the error "No queues found. Check your datasource validity" when going through the wizard.
/etc/asterisk/queues.conf
...
#include queues_additional.conf
...
/etc/asterisk/queues_additional.conf
...
[300]
announce-frequency=0
announce-holdtime=no
autofill=no
eventmemberstatus=no
eventwhencalled=no
joinempty=yes
leavewhenempty=no
maxlen=0
monitor-type=mixmonitor
monitor-format=wav49
periodic-announce-frequency=0
queue-callswaiting=silence/1
queue-thereare=silence/1
queue-youarenext=silence/1
retry=5
strategy=rrmemory
timeout=15
weight=0
wrapuptime=0
...
-
Ditto. Also having an identical problem with the same configuration.
-
Thanks. Can you send a tarball of your /etc/asterisk directory to Loway for inspection?
http://queuemetrics.com/contact.jsp
Please refer to bug #742.
-
Thanks. Can you send a tarball of your /etc/asterisk directory to Loway for inspection?
http://queuemetrics.com/contact.jsp
Please refer to bug #742.
Done.
-
We have not received it so far.... ???
-
I just resent via my gmail account.
-
I confirm it was received. We'll look into the matter from Monday.
-
Hi.
Thank you for your configuration files snapshot.
I've investigated to the problem and I can confirm that is related to an issue raised by the Wizard that's filtering all queues with no member specified. The bug will be fixed in the next QueueMetrics coming release.
To overcome to this problem, actually you can manually add a dummy member in each queue definition. You can do it from the TrixBox GUI or, manually, adding a line similar to:
member=Agent/0000
on each queue definition defined in the file queues_additional.conf
You should have something like that:
[300]
announce-frequency=0
announce-holdtime=no
autofill=no
eventmemberstatus=no
eventwhencalled=no
joinempty=yes
leavewhenempty=no
maxlen=0
monitor-type=mixmonitor
monitor-format=wav
periodic-announce-frequency=0
queue-callswaiting=silence/1
queue-thereare=silence/1
queue-youarenext=silence/1
retry=5
strategy=rrmemory
timeout=15
weight=0
wrapuptime=0
member=Agent/0000
Then you've to start the wizard again.
Thank you for the feedback!
Best regards,
Marco Signorini.
-
I have exactly same problem, but all queues have agents defined:
........
; Default queue
[default-queue]
music=comedy
announce-holdtime=no
announce-position=no
strategy=ringall
wrapuptime=0
maxlen=0
timeout=99999
retry=15
context=defaultcon
; Members
member => SIP/someone,0
........
The machine in question runs ubuntu 9.10, Asterisk 1.6.2.0~rc2-0ubuntu1, queuemetrics 1.5.4, tomcat6, java version "1.6.0_15".
I know it is "bleeding edge", but I am working on this system as a testing platform, we will put it in production eventually.
When I try to run Setup Wizard, File, and try to import either default configs or queue_log it comes up with:
"No queues found. Check your datasource validity"So, the question is, what can I do to debug this issue - where is the log file? I have found none.
What actually fails? Is this permission issue (I have added user tomcat6 to asterisk group)? without debug output I am guessing....
Right now I am trying to configure it to do basic stuff (just from files), I haven't even tried mysql logging.
I am using demo version - is this my problem? How do I get trial if it is the problem?
-
OK, after realising that I have not restarted tomcat after adding it to the asterisk group, I restarted it and it all work.
It was permission problem.
For future when facing similar problem do following:
usermod -G asterisk tomcat6
/etc/init.d/tomcat6 restart
-
Thanks! that's great.