Author Topic: ChanSpy SIP/Exten instead of Agentcode  (Read 4695 times)

gopal2k

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
    • View Profile
ChanSpy SIP/Exten instead of Agentcode
« on: July 23, 2013, 21:46:55 »
To ChanSpy I have something like the below in extensions_queuemetrics.conf

exten => 11,7,ChanSpy(SIP/${QM_AGENT_CODE:6})
exten => 14,6,ChanSpy(SIP/${QM_AGENT_CODE:6})

Now this works based on Agent Code, instead of that If I want based on SIP extension wise can I change that to SIP/${EXTEN} will this work?

The reason am asking is when the agent is transferring the call or if he is taking next call, still i want to monitor him without disconnecting, like unless the agents logs off from the queue, I have to monitor him...

Regards

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: ChanSpy SIP/Exten instead of Agentcode
« Reply #1 on: July 26, 2013, 09:59:04 »
I don't think that would work. Qm has the agent code and the uniqueid for the call - out of that, it has no way of knowing what happened to a call.

gopal2k

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
    • View Profile
Re: ChanSpy SIP/Exten instead of Agentcode
« Reply #2 on: August 08, 2013, 13:07:34 »
Ok in that case can I use ExtenSpy directly in Asterisk and monitor the channels till the agents log out from the queue?

Regards
Gopal.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: ChanSpy SIP/Exten instead of Agentcode
« Reply #3 on: August 12, 2013, 15:07:38 »
I guess so. I dont see why it should not work as well.

gopal2k

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
    • View Profile
Re: ChanSpy SIP/Exten instead of Agentcode
« Reply #4 on: August 17, 2013, 22:06:12 »
Can I use like this exten => 11,7,ChanSpy(SIP/${QM_AGENT_CODE:6},d) to use whisper mode?

Regards

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: ChanSpy SIP/Exten instead of Agentcode
« Reply #5 on: August 19, 2013, 11:02:13 »
Yes in general you should As that is done at the Asterisk level, whatever works in Asterisk is fine for us.

gopal2k

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
    • View Profile
Re: ChanSpy SIP/Exten instead of Agentcode
« Reply #6 on: September 10, 2013, 13:31:07 »
Hi,

Actually its working as expected with the existing setup itself, if i leave the barging channel as it is, its going for next call for the same agent.

Now only thing i have to check is the whispering mode while in the barging.

Regards,
Gopal.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: ChanSpy SIP/Exten instead of Agentcode
« Reply #7 on: September 11, 2013, 13:40:52 »
 8)