Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Sandhawk

Pages: [1]
1
I see what the problem is, I misunderstood this feature, it works as intended

Thanks!

2
That piece of dialplan is not meant to be called "by hand" - it will be called by QM through an AMI connection. You need to set up the AMI connection between the two boxes.



I believe I have done this, when I run the AMI test on the dbtest page I get an OK on everything, am I missing a step?

AMI URL: tcp:***:***@x.x.x.x:5038
callfile.agentremovemember_ht is OK
     callfile.agentaddmember_ht is OK
     callfile.agentlogoff is OK
     callfile.agentlogin is OK
     Skipping check for $EM@from-internal
     callfile.monitoring is OK
     Skipping check for $EM@from-internal
     callfile.customdial is OK
     callfile.agentunpause_ht is OK
     Skipping check for $EM@from-internal
     callfile.outmonitoring is OK
     callfile.agentunpause is OK
     callfile.agentpause_ht is OK
     callfile.calloutcome is OK
     callfile.agentaddmember is OK
     callfile.agentremovemember is OK
     callfile.agentpause is OK
OK    Asterisk dialog was OK
     AMI Dialog took 9334 ms

3
Hey everyone,

Im currently stuck trying to enable call outcomes on my asterisk/queuemetrics setup.

I have Asterisk/FreePBX running on serverA, and queuemetrics/mysql running on serverB. Everything is working great, except now we would like to start using call outcomes. I have included extensions_queuemetrics.conf to my extensions_custom.conf and have verified it has loaded, however when I try dialing "12" for example, the call cannot be completed. However if I paste the following

Code: [Select]
; extension 12: set call status code
exten => 12,1,Answer
exten => 12,2,NoOp( "QM: Setting call status '${CALLSTATUS}' on call '${CALLID}' for agent '${AGENTCODE}' made by '${QM_LOGIN}'" )
exten => 12,3,System( echo "${EPOCH}|${CALLID}|NONE|Agent/${AGENTCODE}|CALLSTATUS|${CALLSTATUS}" >> /var/log/asterisk/queue_log )
exten => 12,4,Hangup

into extensions_custom.conf without the [queuemetrics] context, the call completes and shows this in the asterisk cli:

Code: [Select]
    -- Executing [12@from-internal:1] Answer("SIP/536-0000370e", "") in new stack
    -- Executing [12@from-internal:2] NoOp("SIP/536-0000370e", " "QM: Setting call status '' on call '' for agent '' made by ''" ") in new stack
    -- Executing [12@from-internal:3] System("SIP/536-0000370e", " echo "1295994407||NONE|Agent/|CALLSTATUS|" >> /var/log/asterisk/queue_log ") in new stack
    -- Executing [12@from-internal:4] Hangup("SIP/536-0000370e", "") in new stack
  == Spawn extension (from-internal, 12, 4) exited non-zero on 'SIP/536-0000370e'
    -- Executing [h@from-internal:1] Macro("SIP/536-0000370e", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/536-0000370e", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/536-0000370e", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/536-0000370e", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/536-0000370e", "") in new stack
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/536-0000370e' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/536-0000370e'

And this is entered into the queue_log
Code: [Select]
1295994407||NONE|Agent/|CALLSTATUS|

Any help would be great!

Thanks!

4
I've noticed an interesting problem (probably somewhere within my config)

When an agent initially logs in to a queue, they show up as "agent/300"

queue_log
1280851609|1280851599.264|200|Local/300@from-queue/n|ADDMEMBER|

Which shows up as the following in QM:
agent/300            08/03 - 09:06:49      200

However, after taking a call, they show up as
John Doe            08/03 - 09:17:55      200

1280852266|1280852239.275|200|John Doe|RINGNOANSWER|12000

This isn't a huge problem, however the realtime report shows double the amount of agents logged in/available/etc


5
General Asterisk configuration / Re: IVR Tracking
« on: August 03, 2010, 18:29:20 »
Thanks for your reply! Was an easy fix

Simply added

exten => 2,n,Set(MYIVR=Service)
 and
exten => 3,n,Set(MYIVR=Track)

to my ivr contect

6
General Asterisk configuration / IVR Tracking
« on: August 02, 2010, 02:42:12 »
Im currently have my IVR prompt the user to hit 1 for sales, 2 for service, 3 for other. The call then proceeds to route into a single queue.

What Im trying to do is track each incoming call by the button press

I've read through the Tracking DNIS and IVR information part of the user manual, but am having no luck.

I'm using asterisk 14 with freepbx, so Im currently modifying the extensions_additional.conf file to test and reloading the dialplan

[ext-queues]
include => ext-queues-custom
exten => 200,1,Macro(user-callerid,)
exten => 200,n,Answer
exten => 200,n,Set(__BLKVM_OVERRIDE=BLKVM/${EXTEN}/${CHANNEL})
exten => 200,n,Set(__BLKVM_BASE=${EXTEN})
exten => 200,n,Set(DB(${BLKVM_OVERRIDE})=TRUE)
exten => 200,n,ExecIf($["${REGEX("(M[(]auto-blkvm[)])" ${DIAL_OPTIONS})}" != "1"]?Set(_DIAL_OPTIONS=${DIAL_OPTIONS}M(auto-blkvm)))
exten => 200,n,Set(__NODEST=${EXTEN})
exten => 200,n,Set(MONITOR_FILENAME=/var/spool/asterisk/monitor/q${EXTEN}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}-${UNIQUEID})
exten => 200,n,Set(__CWIGNORE=TRUE)
exten => 200,n,QueueLog(200,${UNIQUEID},NONE,INFO,IVR|${MYIVR})
exten => 200,n,Queue(200,t,,)
exten => 200,n,Noop(Deleting: ${BLKVM_OVERRIDE} ${DB_DELETE(${BLKVM_OVERRIDE})})
exten => 200,n,Set(__NODEST=)
exten => 200,n,Set(__CWIGNORE=)
exten => 200,n,Goto(ext-queues,200,1)
exten => 200*,1,Macro(agent-add,200,)
exten => 200**,1,Macro(agent-del,200)
exten => *45200,1,Set(QUEUENO=200)
exten => *45200,n,Goto(app-queue-toggle,s,start)


Here is the output to the queue_log file
1280689708|1280689705.10|200|NONE|INFO|IVR|


Any help is appreciated!


Pages: [1]