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

Pages: [1]
1
Hi all,

I'm accesing audio files from rest interface.

I have a user with needed keys (CALLMONITOR etc) and the MasterKey.

I have used "queuemetrics/QmFindAudio/jsonStatsApi.do?id=XXXXXXXXXX"  to find audio files and put their names and paths into string array to show them to the user, and when the user clicks on a file shown on a listview, then I use "queuemetrics/QmFindAudio/qm_popup_streamAudio.do?/var/spool/asterisk/monitor/XXXXXXXXX" to retrieve audio stream.

I'm receiving the error:
Illegal file access: the file is not in the list of allowed files.


I've used "/queuemetrics/qm_show_files.do" and the system shows me the following:

User has the CALLMONITOR key? true
Search path: /var/spool/asterisk/monitor/

.gsm files


.wav files

/var/spool/asterisk/monitor/q1000-20160609-012039-1465428039.244.wav
/var/spool/asterisk/monitor/q1000-20160609-050926-1465441766.284.wav
/var/spool/asterisk/monitor/q1000-20160609-050943-1465441783.286.wav
/var/spool/asterisk/monitor/q1000-20160609-050953-1465441793.288.wav
/var/spool/asterisk/monitor/q1000-20160609-013331-1465428811.254.wav
/var/spool/asterisk/monitor/qmfile.wav

.WAV files

What I'm doing wrong?





2
Running QueueMetrics / Re: Agents not getting proper penalty on queue
« on: February 19, 2014, 11:21:35 »
Hi,

We are facing the same problem.. we are already passig the correct priority variable, but we think that there is a problem with the dialplan , that does not use that variable  ...

See below:

; extension 35: agent addqueuemember with hotdesking (for asterisk v1.4+)
exten => 35,1,Answer
exten => 35,2,NoOp( "QM: AddQueueMember (asterisk v1.4+) Agent/${AGENTCODE} at extension SIP/${QM_AGENT_LOGEXT} on queue ${QUEUENAME} made by '${QM_LOGIN}' with prioritylabel '${QM_AGENT_PRIOLBL}' and prioritynum '${QM_AGENT_PRIONUM}'" )
exten => 35,3,Macro(queuelog,${EPOCH},${UNIQUEID},NONE,Agent/${AGENTCODE},HOTDESK,SIP/${QM_AGENT_LOGEXT})
exten => 35,4,AddQueueMember(${QUEUENAME},SIP/${QM_AGENT_LOGEXT},${QM_AGENT_PRIONUM})
exten => 35,5,Hangup

The AddQueueMember command above was missing the ,${QM_AGENT_PRIONUM} parameter....  we added it and penalties started to work !!!   

Pages: [1]