Author Topic: recent Asterisk (11/13) without AgentCallbackLogin + Loglevel?  (Read 4247 times)

denzs

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Hi everyone,

i am trying to configure Queuemetrics (Trial License) for evaluation purposes for a distributed callcenter scenario.

I am using Debian 7 and installed QM by hand which worked without any problems.
Asterisk is installed in Version 11.

I was wondering about the recent situation regarding AgentCallbackLogin?!
There are some posts in this forum which describe it should work.
Sadly the links to the (working?!) dialplan examples are all dead and the example config from the archive (extensions_queuemetrics_18.conf) still contains AgentCallbackLogin?!

Apart from that i tried to use the "Agent Logon" widget from the agentspage, which doesnt work...
The queue is passed to the right side of the widget and comes to the left after a few seconds...i cant see any error message in the webinterface or the tomcat logs.
Asterisk-CLI output looks reasonable to me (except the passed penalty of -1 for AddQueueMember):
Code: [Select]
nagarro*CLI>
  == Manager 'qmetrics' logged on from 127.0.0.1
    -- Executing [37@queuemetrics:1] Answer("Local/37@queuemetrics-00000012;2", "") in new stack
    -- Executing [10@queuemetrics:1] Answer("Local/37@queuemetrics-00000012;1", "") in new stack
    -- Executing [10@queuemetrics:2] Wait("Local/37@queuemetrics-00000012;1", "10") in new stack
  == Manager 'qmetrics' logged off from 127.0.0.1
  == Manager 'qmetrics' logged on from 127.0.0.1
    -- Executing [35@queuemetrics:1] Answer("Local/35@queuemetrics-00000013;2", "") in new stack
    -- Executing [10@queuemetrics:1] Answer("Local/35@queuemetrics-00000013;1", "") in new stack
    -- Executing [10@queuemetrics:2] Wait("Local/35@queuemetrics-00000013;1", "10") in new stack
  == Manager 'qmetrics' logged off from 127.0.0.1
    -- Executing [37@queuemetrics:2] NoOp("Local/37@queuemetrics-00000012;2", " "QM: RemoveQueueMember (asterisk v1.4+) Agent/ at extension SIP/user2 on queue support made by '11'" ") in new stack
    -- Executing [37@queuemetrics:3] RemoveQueueMember("Local/37@queuemetrics-00000012;2", "support,SIP/user2") in new stack
[Dec 23 13:56:23] NOTICE[4230][C-00000014]: app_queue.c:6741 rqm_exec: Removed interface 'SIP/user2' from queue 'support'
    -- Executing [37@queuemetrics:4] Hangup("Local/37@queuemetrics-00000012;2", "") in new stack
  == Spawn extension (queuemetrics, 37, 4) exited non-zero on 'Local/37@queuemetrics-00000012;2'
  == Spawn extension (queuemetrics, 10, 2) exited non-zero on 'Local/37@queuemetrics-00000012;1'
    -- Executing [35@queuemetrics:2] NoOp("Local/35@queuemetrics-00000013;2", " "QM: AddQueueMember (asterisk v1.4+) Agent/ at extension SIP/user2 on queue support made by '11' with prioritylabel 'U' and prioritynum '-1'" ") in new stack
    -- Executing [35@queuemetrics:3] Macro("Local/35@queuemetrics-00000013;2", "queuelog,1419339383,1419339382.42,NONE,Agent/,HOTDESK,SIP/user2") in new stack
    -- Executing [s@macro-queuelog:1] Set("Local/35@queuemetrics-00000013;2", "ADDINFO=SIP/user2,,") in new stack
    -- Executing [s@macro-queuelog:2] QueueLog("Local/35@queuemetrics-00000013;2", "NONE,1419339382.42,Agent/,HOTDESK,SIP/user2,,") in new stack
    -- Executing [35@queuemetrics:4] AddQueueMember("Local/35@queuemetrics-00000013;2", "support,SIP/user2,-1") in new stack
[Dec 23 13:56:23] WARNING[4233][C-00000015]: app_queue.c:6803 aqm_exec: Penalty '-1' is invalid, must be an integer >= 0
[Dec 23 13:56:23] NOTICE[4233][C-00000015]: app_queue.c:6815 aqm_exec: Added interface 'SIP/user2' to queue 'support'
    -- Executing [35@queuemetrics:5] Hangup("Local/35@queuemetrics-00000013;2", "") in new stack
  == Spawn extension (queuemetrics, 35, 5) exited non-zero on 'Local/35@queuemetrics-00000013;2'
  == Spawn extension (queuemetrics, 10, 2) exited non-zero on 'Local/35@queuemetrics-00000013;1'
nagarro*CLI>

Unfortunately i cant find any helpful logfiles or even a configparameter to increase the loglevel...
manager.dump=true is set, but i cant find any output?!

So in the end i have two questions:
* is there a working dialplan example without AgentCallbackLogin availiable?
* is it possible to increase the verbosity from QM to gather some helpful information in case of problems?

If there is any information about compatibility for Asterisk 11 or maybe even 13 (the recent LTS versions of asterisk), i would be happy to know too! ;)

Thanks for reading and happy holidays everyone! :)
Sebastian

mirkox

  • Full Member
  • ***
  • Posts: 231
  • Karma: 4
    • View Profile
Re: recent Asterisk (11/13) without AgentCallbackLogin + Loglevel?
« Reply #1 on: December 23, 2014, 17:28:35 »
Hi Sebastian,

that dialplan (extensions_queuemetrics_18.conf), is compatible with both old and new Asterisk versions, with AgentCallbackLogin or not.
By default QueueMetrics comes configured in order to use the "new" (well, not that new  :) ) method, in fact as per the CLI output posted your QueueMetrics intance is using 35@queuemetrics and 37@queuemetrics for the login/logout processes, which are not using the AgentCallbackLogin.

Kind Regards
Mirko

denzs

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: recent Asterisk (11/13) without AgentCallbackLogin + Loglevel?
« Reply #2 on: January 05, 2015, 15:24:53 »
Hi Mirko,

thank you for your quick reply!

I almost expected what you said, i was just wondering about the existence of the AgentCallBack-Application in the example dialplan.
Anyhow I expected the coresponding code to go away at all, because the Application will propably never be supported again... ;)

It would be nice if someone has an answer regarding the supprted (or planned?) asterisk versions and debugging/verbose output too! :)

Kind Regards,
Sebastian

denzs

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: recent Asterisk (11/13) without AgentCallbackLogin + Loglevel?
« Reply #3 on: January 29, 2015, 16:23:20 »
i found the supported versions by myself in the manual
Quote
Asterisk PBX, version 0.7 or later (versions 1.2 to 12 are fully supported)
(http://downloads.loway.ch/qm/QM_UserManual_v35.pdf Section 2.1)

So my last question is how to increase the loglevel/verbosity?  :)