Author Topic: QM 1.4 and Trixbox 2.6.1  (Read 31467 times)

alien

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
Re: QM 1.4 and Trixbox 2.6.1
« Reply #15 on: May 29, 2008, 22:48:39 »
I had the same problem!!
I cant make a calls outbound the quemetrics
trixbox does not have the .conf files
agentes.conf
extensions_queuemetrics.conf

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: QM 1.4 and Trixbox 2.6.1
« Reply #16 on: May 30, 2008, 10:16:38 »
You need to install them manually - see the tutorial at http://queuemetrics.com/download/QM_TrixBox_210.pdf
« Last Edit: May 31, 2008, 09:04:27 by QueueMetrics »

alien

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
Re: QM 1.4 and Trixbox 2.6.1
« Reply #17 on: May 30, 2008, 20:40:45 »
the problem are serious

trixbox1*CLI> show agents
No such command 'show agents'

I think the agents module are not starting
how I do this?

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: QM 1.4 and Trixbox 2.6.1
« Reply #18 on: May 31, 2008, 09:39:36 »
Try this:

Code: [Select]
aleph*CLI> module show like agent
Module                         Description                              Use Count
chan_agent.so                  Agent Proxy Channel                      0
1 modules loaded


If missing

Code: [Select]
module load chan_agent.so
and edit /etc/asterisk/modules.conf in order to have the moule loaded at startup.




alien

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
Re: QM 1.4 and Trixbox 2.6.1
« Reply #19 on: June 02, 2008, 16:41:50 »
the module is up

Module                         Description                              Use Count
chan_agent.so                  Agent Proxy Channel                      0
1 modules loaded

  ::)

But I cant dial to callback login

here is the config

extensions_custom.conf
; This file contains example extensions_custom.conf entries.
; extensions_custom.conf should be used to include customizations
; to AMP's Asterisk dialplan.

; All custom context should contain the string 'custom' in it's name

; Extensions in AMP have access to the 'from-internal' context.
; The context 'from-internal-custom' is included in 'from-internal' by default

#include extensions_hud.conf
#include extensions_queuemetrics.conf

[from-internal-custom]

exten => 400,1,AgentCallBackLogin(||@from-internal)

########################################
When I dial 400

 == Spawn extension (from-internal, 400, 1) exited non-zero on 'SIP/27-b7c01c88                    '
    -- Executing [h@from-internal:1] Macro("SIP/27-b7c01c88", "hangupcall") in n                    ew stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/27-b7c01c88", "w") in new                     stack
    -- Executing [s@macro-hangupcall:2] NoCDR("SIP/27-b7c01c88", "") in new stac                    k
    -- Executing [s@macro-hangupcall:3] GotoIf("SIP/27-b7c01c88", "1?skiprg") in                     new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("SIP/27-b7c01c88", "1?skipblkvm")                     in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("SIP/27-b7c01c88", "1?theend") in                     new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("SIP/27-b7c01c88", "") in new st                    ack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/27-b7c01c                    88' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/27-b7c01c                    88'

...and I got busy sinal
« Last Edit: June 02, 2008, 17:51:51 by alien »

alien

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
Re: QM 1.4 and Trixbox 2.6.1
« Reply #20 on: June 02, 2008, 17:50:37 »
I had change the callback login to defalult "298" e got a diferentt message?

Verbosity is at least 7
    -- Executing [298@from-internal:1] ResetCDR("SIP/27-b7c072f8", "") in new stack
    -- Executing [298@from-internal:2] NoCDR("SIP/27-b7c072f8", "") in new stack
    -- Executing [298@from-internal:3] Wait("SIP/27-b7c072f8", "1") in new stack
    -- Executing [298@from-internal:4] Playback("SIP/27-b7c072f8", "silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer") in new stack
    -- <SIP/27-b7c072f8> Playing 'silence/1' (language 'en')
    -- <SIP/27-b7c072f8> Playing 'cannot-complete-as-dialed' (language 'en')
    -- <SIP/27-b7c072f8> Playing 'check-number-dial-again' (language 'en')
  == Spawn extension (from-internal, 298, 4) exited non-zero on 'SIP/27-b7c072f8'
    -- Executing [h@from-internal:1] Macro("SIP/27-b7c072f8", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/27-b7c072f8", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("SIP/27-b7c072f8", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("SIP/27-b7c072f8", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("SIP/27-b7c072f8", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("SIP/27-b7c072f8", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("SIP/27-b7c072f8", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/27-b7c072f8' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/27-b7c072f8'
 :-\

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: QM 1.4 and Trixbox 2.6.1
« Reply #21 on: June 03, 2008, 10:38:24 »
the module is up

Module                         Description                              Use Count
chan_agent.so                  Agent Proxy Channel                      0
1 modules loaded

  ::)

But I cant dial to callback login

here is the config

extensions_custom.conf
; This file contains example extensions_custom.conf entries.
; extensions_custom.conf should be used to include customizations
; to AMP's Asterisk dialplan.

; All custom context should contain the string 'custom' in it's name

; Extensions in AMP have access to the 'from-internal' context.
; The context 'from-internal-custom' is included in 'from-internal' by default

#include extensions_hud.conf
#include extensions_queuemetrics.conf

[from-internal-custom]

exten => 400,1,AgentCallBackLogin(||@from-internal)


I have a feeling that somehow this extension no. matches something else in your config.

Try adding a line:

Code: [Select]
[from-internal-custom]
exten => 400,1,NoOp(Hello World)

and try changing 400 to 401, 500, 200 or any other number. At some point you should see "hello world" printed.



alien

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
Re: QM 1.4 and Trixbox 2.6.1
« Reply #22 on: June 03, 2008, 19:33:01 »
I guess I cant change the exensions
the freepbx has a option "extensiom customs" in the meu
maybe is working with other files

Verbosity is at least 3
    -- Executing [500@from-internal:1] ResetCDR("SIP/27-09b40368", "") in new stack
    -- Executing [500@from-internal:2] NoCDR("SIP/27-09b40368", "") in new stack
    -- Executing [500@from-internal:3] Wait("SIP/27-09b40368", "1") in new stack
    -- Executing [500@from-internal:4] Playback("SIP/27-09b40368", "silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer") in new stack
    -- <SIP/27-09b40368> Playing 'silence/1' (language 'en')
    -- <SIP/27-09b40368> Playing 'cannot-complete-as-dialed' (language 'en')
    -- <SIP/27-09b40368> Playing 'check-number-dial-again' (language 'en')
  == Spawn extension (from-internal, 500, 4) exited non-zero on 'SIP/27-09b40368'
    -- Executing [h@from-internal:1] Macro("SIP/27-09b40368", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/27-09b40368", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("SIP/27-09b40368", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("SIP/27-09b40368", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("SIP/27-09b40368", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("SIP/27-09b40368", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("SIP/27-09b40368", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/27-09b40368' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/27-09b40368'

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: QM 1.4 and Trixbox 2.6.1
« Reply #23 on: June 04, 2008, 10:36:01 »
No this does not make sense. There must be a way to add a custom extension to it.
Have you tried asking on the FreePBX forums as well?

alien

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
Re: QM 1.4 and Trixbox 2.6.1
« Reply #24 on: June 04, 2008, 15:49:06 »
I will try this

alien

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
Re: QM 1.4 and Trixbox 2.6.1
« Reply #25 on: June 04, 2008, 17:53:23 »
I did e they say to me:

"The call has been deprecated, you may want to revisit it. Also, do keep in mind that FreePBX Queue configurations don't use chan_agent type agents so you would need to do all your agents.conf and queue stuff somewhat manually and you will run into feature issues with things like subsequent call transfers being blocked from going to voicemail, and similar, if you use agents.conf agents."

 ??? ??? ???
What can I do now?

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: QM 1.4 and Trixbox 2.6.1
« Reply #26 on: June 05, 2008, 10:31:02 »
If you run an ACD system, having things like features disabled is a bonanza.  ;D So dont worry about that. You just need to understand how to get a free hook in the dialplan so you have a number to call to login.

alien

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
Re: QM 1.4 and Trixbox 2.6.1
« Reply #27 on: June 05, 2008, 20:09:52 »
But in the queue metrics manual, they say to use "298"... I try that and dont works :o

If I downgrade trixbox, I can fix this problem?
Wha version queue metrics recomend?
« Last Edit: June 05, 2008, 20:11:32 by alien »

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: QM 1.4 and Trixbox 2.6.1
« Reply #28 on: June 06, 2008, 09:25:21 »
You can try an older version of TB, like a 2.5.x.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: QM 1.4 and Trixbox 2.6.1
« Reply #29 on: June 06, 2008, 18:00:55 »
We just tried TrixBox 2.6.1.0 - I confirm there is no problem in changing the dialplan at [from-internal-custom] and adding the 298 extension (unless you use 298 for some other extension on the system).

There is instead an important problem with AgentCallBackLogin -> see http://forum.queuemetrics.com/index.php?topic=276.0 to fix it.