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 - gavinlew

Pages: [1] 2
1
Running QueueMetrics / Re: Tracking IVR - Services and Queues
« on: March 31, 2014, 10:27:06 »
Hi,

Heres an example of the queue_log being generated ;

1395157759|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395157792|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395157824|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395157857|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395157889|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395157922|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395157951|1395157893.962972|NONE|NONE|INFO|IVRAPPEND|3|ivr-12
1395157955|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395157987|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395158020|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395158052|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395158085|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395158118|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395158150|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395158183|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395158215|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395158248|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395158281|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395158313|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395158346|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395158351|1395158322.963345|NONE|NONE|INFO|IVRAPPEND|1|ivr-12
1395158378|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12

2
Running QueueMetrics / Re: Tracking IVR - Services and Queues
« on: March 20, 2014, 10:27:24 »
Hi,

I can get the correct code generated, however I am querying adding the new code into the dialplan as I cannot edit the FreePBX files directly as these will be overwritten. The elastix distribution does not run FreePBX 2.11 so the module cannot be used to manage this functionality.

Currently, my code looks like

/etc/asterisk/extensions_additional.conf
[ivr-12]
include => ivr-12-custom
exten => fax,1,Goto(${CUT(FAX_DEST,^,1)},${CUT(FAX_DEST,^,2)},${CUT(FAX_DEST,^,3)})
exten => h,1,Hangup
exten => s,1,Set(MSG=custom/G-DCS1)
exten => s,n,Set(LOOPCOUNT=0)
exten => s,n,Set(__DIR-CONTEXT=)
exten => s,n,Set(_IVR_CONTEXT_${CONTEXT}=${IVR_CONTEXT})
exten => s,n,Set(_IVR_CONTEXT=${CONTEXT})
exten => s,n,GotoIf($["${CDR(disposition)}" = "ANSWERED"]?begin)
exten => s,n,Answer
exten => s,n,Wait(1)
exten => s,n(begin),Set(TIMEOUT(digit)=3)
exten => s,n,Set(TIMEOUT(response)=10)
exten => s,n,Set(__IVR_RETVM=)
exten => s,n,ExecIf($["${MSG}" != ""]?Background(${MSG}))
exten => s,n,WaitExten(,)
exten => hang,1,Playback(vm-goodbye)
exten => hang,n,Hangup
exten => 1,1,Noop(Deleting: ${BLKVM_OVERRIDE} ${DB_DELETE(${BLKVM_OVERRIDE})})
exten => 1,n,Set(__NODEST=)
exten => 1,n,Goto(app-announcement-9,s,1)
exten => 2,1,Noop(Deleting: ${BLKVM_OVERRIDE} ${DB_DELETE(${BLKVM_OVERRIDE})})
exten => 2,n,Set(__NODEST=)
exten => 2,n,Goto(app-announcement-10,s,1)
exten => 3,1,Noop(Deleting: ${BLKVM_OVERRIDE} ${DB_DELETE(${BLKVM_OVERRIDE})})
exten => 3,n,Set(__NODEST=)
exten => 3,n,Goto(app-announcement-11,s,1)
exten => 4,1,Noop(Deleting: ${BLKVM_OVERRIDE} ${DB_DELETE(${BLKVM_OVERRIDE})})
exten => 4,n,Set(__NODEST=)
exten => 4,n,Goto(app-daynight,2,1)
exten => t,1,Set(LOOPCOUNT=$[${LOOPCOUNT} + 1])
exten => t,n,GotoIf($[${LOOPCOUNT} <= 2]?s,begin)
exten => t,n,Noop(Deleting: ${BLKVM_OVERRIDE} ${DB_DELETE(${BLKVM_OVERRIDE})})
exten => t,n,Set(__NODEST=)
exten => t,n,Goto(ivr-12,s,begin)
exten => i,1,Playback(invalid)
exten => i,n,Goto(loop,1)
exten => loop,1,Set(LOOPCOUNT=$[${LOOPCOUNT} + 1])
exten => loop,n,GotoIf($[${LOOPCOUNT} > 2]?hang,1)
exten => loop,n,Goto(ivr-12,s,begin)
exten => return,1,Set(MSG=custom/G-DCS1)
exten => return,n,Set(_IVR_CONTEXT=${CONTEXT})
exten => return,n,Set(_IVR_CONTEXT_${CONTEXT}=${IVR_CONTEXT_${CONTEXT}})
exten => return,n,Goto(ivr-12,s,begin)

; end of [ivr-12]

extensions_custom.conf

[ivr-12-custom]
exten => _X.,n,Set(IVRSELECTION=${EXTEN}|${IVR_CONTEXT})
exten => _X.,n,QueueLog(NONE,${UNIQUEID},NONE,INFO,IVRAPPEND|${IVRSELECTION})


3
Running QueueMetrics / Re: Tracking IVR - Services and Queues
« on: March 18, 2014, 17:04:24 »
Ive tried modifying my code and moving it to extensions_custom.conf , but I do not think it is working -

[ivr-12-custom]
exten => _X.,n,Set(IVRSELECTION=${EXTEN}|${IVR_CONTEXT})
exten => _X.,n,QueueLog(NONE,${UNIQUEID},NONE,INFO,IVRAPPEND|${IVRSELECTION})

[ivr-13-custom]
exten => _X.,n,Set(IVRSELECTION=${EXTEN}|${IVR_CONTEXT})
exten => _X.,n,QueueLog(NONE,${UNIQUEID},NONE,INFO,IVRAPPEND|${IVRSELECTION})

Any pointers?

4
Running QueueMetrics / Re: Tracking IVR - Services and Queues
« on: March 18, 2014, 16:42:46 »
Hi,

I have this working by using the following code

/etc/asterisk/extensions_additional.conf

exten => 1,1,Noop(Deleting: ${BLKVM_OVERRIDE} ${DB_DELETE(${BLKVM_OVERRIDE})})
exten => 1,n,Set(__NODEST=)
exten => 1,n,Set(IVRSELECTION=${EXTEN}|${IVR_CONTEXT})
exten => 1,n,QueueLog(NONE,${UNIQUEID},NONE,INFO,IVRAPPEND|${IVRSELECTION})
exten => 1,n,Goto(ext-miscdests,17,1)

Which results in the following being created in /var/log/asterisk/queue_log

1395157010|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12
1395157042|1395144559.952245|NONE|NONE|INFO|IVRAPPEND|t|ivr-12

Should my code be moved somehow into extensions_custom.conf or similar files?

5
Running QueueMetrics / Re: Tracking IVR - Services and Queues
« on: March 18, 2014, 10:53:16 »
Hi,

Are there any new examples of how to track an IVR call correctly, since I last looked at this it would seem things have changed in later Queuemetrics revisions and the code required to be inserted into the dialplan appears to of changed?

Many Thanks,
Gavin



6
Scripting QueueMetrics / Re: Open wallboard
« on: July 26, 2012, 14:39:43 »
Does anyone know if this is still in active development?

I have installed ruby/dependencies and have ran ruby qm_web.rb , which seems to open a web server listening on port 4567

Yet connecting to localhost:4567 causes an XMLRPC error to be produced.

7
QueueMetrics installation / Re: Configuring Agents (Elastix 2.2)
« on: April 25, 2012, 11:01:39 »
Hi

I am using version 12.2.4 (Licensed) and I do not see where to set a friendly name.

Currently the agent is configured as

Asterisk agent code: Agent/7503
Agent description:   Dummy User
Asterisk aliases:
  Separate multiple aliases
  with a "|" symbol   
Agent location:    Newark (Office)
Agent group:   
VNC monitoring URL:    
Current terminal:   
Instant messenger address:      
Supervisor:   
Agent keys:   
Payroll Code:   
Created by:   admin, 23/04/2012, 15:47
Last update:   admin, 25/04/2012, 9:57

8
QueueMetrics installation / Re: Configuring Agents (Elastix 2.2)
« on: April 12, 2012, 15:25:47 »
Hi

I have the same problem under Queuemetrics 12.2.4 where the friendly names do not appear to work.

For example


1334236973|1334236468.21783|6011|Dummy User|COMPLETECALLER|14|486|1

If I then go into Configure users, and add Dummy User and perform a report, I get "0" returned for all entries.

Any ideas?

9
QueueMetrics installation / Configuring Agents (Elastix 2.2)
« on: December 13, 2011, 12:48:22 »
Hi All,

I am using queuemetrics 1.7.1.13 with Elastix 2.2.0 and I am having issues reporting on indivual agents.

I have noticed in queue_log that the Agent isnt referred to as SIP/XXXX or Agent/XXXX but their full name as specified in their Extension setting i.e.

1315814197|1315814159.8350|6006|Jane Smith|RINGNOANSWER|15000

I have tried to build the Agent in Queuemetrics as

Asterisk Agent Code: Agent/Jane Smith
Agent Description: Jane Smith

But when I run an individual user report I get 0 results.

From my previous work with Queuemetrics/queue_log Asterisk normally logs the agent activity as Agent/XXXX , I havent seen this behaviour before.

Many THanks,

Gavin

10
Lost licences / Lost License
« on: September 07, 2011, 19:50:34 »
Hi,

Is it possible to recover our license , we are migrating back to a server running Queuemetrics and as such are hoping to reuse our license key.

What is the recovery process?

Many Thanks,

Gavin

11
Hi All,

Can the daily reports/weekly reports/30 day reports etc, be modified so all the call lengths are returned in seconds rather than hours/minutes/seconds?

The average call length is reported correctly in seconds, however as below - Min/Max/Total is in Minutes Seconds.

Many Thanks

gavin

Average call length:      256.7 s.
Min call length:    2:00
Max call length:    11:11
Total call length:    38:30

12
Hi,

I have been doing some testing and found that calls holding for normally longer than 30minutes fail to be displayed on the Real Time monitoring page.

# asterisk -rx 'show queue 200'
200          has 5 calls (max 10) in 'ringall' strategy (0s holdtime), W:0, C:0, A:1, SL:0.0% within 0s
   Members:
      800 (SIP/1000800) (paused) (Not in use) has taken no calls yet
      801 (SIP/1000801) (paused) (Not in use) has taken no calls yet
      802 (SIP/1000802) (Ringing) has taken no calls yet
      803 (SIP/1000803) (paused) (Not in use) has taken no calls yet
      804 (SIP/1000804) (paused) (Not in use) has taken no calls yet
      805 (SIP/1000805) (In use) has taken no calls yet
      806 (SIP/1000806) (paused) (Not in use) has taken no calls yet
      807 (SIP/1000807) (Not in use) has taken no calls yet
      808 (SIP/1000808) (paused) (Not in use) has taken no calls yet
      910 (SIP/1000910) (Not in use) has taken no calls yet
   Callers:
      1. SIP/.net-0881baa0 (wait: 37:33, prio: 0)
      2. SIP/.net-087f5f50 (wait: 35:55, prio: 0)
      3. SIP/.net-087471e8 (wait: 33:03, prio: 0)
      4. SIP/.net-086d62a0 (wait: 13:22, prio: 0)
      5. SIP/.net-087c1788 (wait: 8:23, prio: 0)

Real time monitoring only shows call "4" as the only call waiting in the queue.

The relevant queues.conf context is below

[200]
announce-frequency=105
announce-holdtime=no
autofill=yes
eventmemberstatus=yes
eventwhencalled=yes
joinempty=strict
leavewhenempty=yes
maxlen=10
monitor-type=mixmonitor
monitor-format=wav49
music=classical
periodic-announce-frequency=180
queue-callswaiting=queue-callswaiting
queue-thankyou=queue-thankyou
queue-thereare=queue-thereare
queue-youarenext=queue-youarenext
retry=5
timeoutrestart=yes
strategy=ringall
timeout=20
weight=0
wrapuptime=30
context=ivr-2
periodic-announce=custom/supportqbreakout2
member=>SIP/1000800,,800
member=>SIP/1000801,,801
member=>SIP/1000802,,802
member=>SIP/1000803,,803
member=>SIP/1000804,,804
member=>SIP/1000805,,805
member=>SIP/1000806,,806
member=>SIP/1000807,,807
member=>SIP/1000808,,808
member=>SIP/1000910,,910


Has anyone come across this before?



13
Running QueueMetrics / Re: 1.5.2 - Tracking IVR Activity
« on: May 13, 2009, 14:25:47 »
Hi,

Yes thats correct, now understood and I can see those keypresses logged.

14
Running QueueMetrics / Re: 1.5.2 - Tracking IVR Activity
« on: May 13, 2009, 09:55:25 »
Hi,

I'm using Asterisk 1.4 under Centos 5

Im now confused with regards to how this should work :( , my queue is defined as "200" in extensions_additional.conf , with an IVR breakout menu specified - I would like to track the keypresses of how my callers leave the queue , for example if the caller presses 2 - then they will get transferred to our sales team.

I have tried to add the QueueLog string into the "200" context as well which does not work.

I have included the context code below

[ext-queues]
include => ext-queues-custom
exten => 200,1,Macro(user-callerid,)
exten => 200,n,Answer
exten => 200,n,ExecIf($["${QUEUEWAIT}" = ""],Set,__QUEUEWAIT=${EPOCH})
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$
exten => 200,n,Set(__NODEST=${EXTEN})
exten => 200,n,GotoIf($["foo${RGPREFIX}" = "foo"]?REPCID)
exten => 200,n,GotoIf($["${RGPREFIX}" != "${CALLERID(name):0:${LEN(${RGPREFIX})$
exten => 200,n,Noop(Current RGPREFIX is ${RGPREFIX}....stripping from Caller ID)
exten => 200,n,Set(CALLERID(name)=${CALLERID(name):${LEN(${RGPREFIX})}})
exten => 200,n,Set(_RGPREFIX=)
exten => 200,n(REPCID),Noop(CALLERID(name) is ${CALLERID(name)})
exten => 200,n,Set(_RGPREFIX=SUP)
exten => 200,n,Set(CALLERID(name)=${RGPREFIX}${CALLERID(name)})
exten => 200,n,Set(MONITOR_FILENAME=/var/spool/asterisk/monitor/q${EXTEN}-${STR$
exten => 200,n,Playback(custom/youareinsupportq)
exten => 200,n,Set(__CWIGNORE=TRUE)
exten => 200,n,Queue(200,t,,)
exten => 200,n,dbDel(${BLKVM_OVERRIDE})
exten => 200,n,Set(__NODEST=)
exten => 200,n,Set(__CWIGNORE=)
exten => 200,n,QueueLog(200,${UNIQUEID},NONE,INFO,IVR|${MYIVR}}
exten => 200,n,Goto(ivr-3,s,1)
exten => 200*,1,Macro(agent-add,200,)
exten => 200**,1,Macro(agent-del,200,200)

15
Running QueueMetrics / Re: 1.5.2 - Tracking IVR Activity
« on: May 08, 2009, 10:28:36 »
Hi,

I've moved the line as requested, and the following gets written to /var/log/asterisk/queue_log

1241770900|1241770883.5777|200|NONE|EXITWITHKEY|2|3

However queuemetrics still shows all IVR activity as untracked :(

I am thinking is this because ${UNIQUEID} is not being tracked properly , as the log is showing this as NONE?

[ivr-2]
include => ivr-2-custom
exten => h,1,Hangup
exten => s,1,QueueLog(200,${UNIQUEID},NONE,INFO,IVR|${MYIVR})
exten => s,2,Set(MSG=custom/supportqbreakout2)
exten => s,n,Set(LOOPCOUNT=0)
exten => s,n,Set(__DIR-CONTEXT=default)
exten => s,n,Set(_IVR_CONTEXT_${CONTEXT}=${IVR_CONTEXT})
exten => s,n,Set(_IVR_CONTEXT=${CONTEXT})
exten => s,n,GotoIf($["${CDR(disposition)}" = "ANSWERED"]?begin)
exten => s,n,Answer
exten => s,n,Wait(1)
exten => s,n(begin),Set(TIMEOUT(digit)=3)
exten => s,n,Set(TIMEOUT(response)=10)
exten => s,n,Set(__IVR_RETVM=)
exten => s,n,ExecIf($["${MSG}" != ""],Background,${MSG})
exten => s,n,WaitExten(,)
exten => hang,1,Playback(vm-goodbye)
exten => hang,n,Hangup
exten => 1,1,dbDel(${BLKVM_OVERRIDE})
exten => 1,n,Set(__NODEST=)
exten => 1,n,Goto(timeconditions,3,1)
exten => 2,1,dbDel(${BLKVM_OVERRIDE})
exten => 2,n,Set(__NODEST=)
exten => 2,n,Goto(ext-miscdests,4,1)
exten => 3,1,dbDel(${BLKVM_OVERRIDE})
exten => 3,n,Set(__NODEST=)
exten => 3,n,Goto(ext-miscdests,3,1)
exten => 4,1,dbDel(${BLKVM_OVERRIDE})
exten => 4,n,Set(__NODEST=)
exten => 4,n,Goto(ext-group,600,1)
exten => i,1,Playback(invalid)
exten => i,n,Goto(loop,1)
exten => t,1,Goto(loop,1)
exten => loop,1,Set(LOOPCOUNT=$[${LOOPCOUNT} + 1])
exten => loop,n,GotoIf($[${LOOPCOUNT} > 2]?hang,1)
exten => loop,n,Goto(ivr-2,s,begin)
exten => return,1,Set(MSG=custom/supportqbreakout2)
exten => return,n,Set(_IVR_CONTEXT=${CONTEXT})
exten => return,n,Set(_IVR_CONTEXT_${CONTEXT}=${IVR_CONTEXT_${CONTEXT}})
exten => return,n,Goto(ivr-2,s,begin)
exten => fax,1,Goto(ext-fax,in_fax,1)

; end of [ivr-2]

Pages: [1] 2