QueueMetrics > Scripting QueueMetrics

Retrieving audio files

<< < (2/2)

QueueMetrics:
I am sorry - can you give me an example of an URL that is returned to you?

jit:

--- Quote from: QueueMetrics on March 30, 2010, 14:21:04 ---I am sorry - can you give me an example of an URL that is returned to you?


--- End quote ---

here's one:


--- Code: ---qm_popup_streamAudio.do?/var/spool/asterisk/monitor/q400-20100408-055427-1270731259.187308.WAV
--- End code ---

QueueMetrics:
No there is no easy way - the only thing it to get the path yourself.
 

jit:

--- Quote from: QueueMetrics on April 09, 2010, 10:30:32 ---No there is no easy way - the only thing it to get the path yourself.
 

--- End quote ---

So not even a way to reformat that URL into one that I can push to a browser window for authentication before playback (in the browser window?). Ugh, that's really really frustrating. I can't be the only person who's ever looked at your API and thought "QM.findAudio" meant that after I found the audio that I could actually do something with it.

I guess it is what it is. I hope that you consider adding some kind of access to the audio files - either remote retrieval of the file through the API or at least a way to open a specific call in a browser window - in a future version.

QueueMetrics:
Yes we have already made the changes for direct access and authorization, so that you can click on a URL and you will be prompted to log-on. so it should not be impossible.

I am adding a feature request for this - we track this as #1063

Thanks


Navigation

[0] Message Index

[*] Previous page

Go to full version