Page 1 of 1

search recording from ingroup using uniqueid

PostPosted: Mon Sep 03, 2018 10:45 am
by Op3r
I have this weird requirement wherein they want to search the recording based on the uniqueid given by the ingroup.

Does anyone have tried this? any chance where you guys might show me where can I get that?

Re: search recording from ingroup using uniqueid

PostPosted: Mon Sep 03, 2018 11:47 am
by blackbird2306
Try this with Non Agent API:
http://server/vicidial/non_agent_api.php?source=test&function=recording_lookup&stage=pipe&user=6666&pass=1234&uniqueid=xxxxx.xxx

recording_lookup - looks up recordings based upon user and date or lead_id

NOTE: api user for this function must have user_level set to 7 or higher and "view reports" enabled

REQUIRED FIELDS-
agent_user - 2-20 characters
lead_id - 1-10 digits
date - date of the calls to pull (must be in YYYY-MM-DD format)
uniqueid - uniqueid of the call, works best included with another search field

SETTINGS FIELDS-
stage - the format of the exported data: csv, tab, pipe(default)
header - include a header(YES) or not(NO). This is optional, default is not to include a header

NOTES-
There is a hard limit of 100000 results

Re: search recording from ingroup using uniqueid

PostPosted: Mon Sep 03, 2018 3:40 pm
by Op3r
I think this just solved my problem. Thanks!