Hi!
ARI is very usefull, but it lucks options of complex
search with sorting.
I'm trying to add links from AMP reports to ARI, to be
able to make a complex search with reports menu, and
then just by click to go specific record in ARI.
In DB there's a uniqueid field, and I can find a
recording from url like:
http://192.168.0.37/recordings/index.php?s=callmonitor&q=asterisk-13817-1131353495.213&start=0&btnS=Search
http://.....uniqueid.....
So it's enouth to display a link in reports.php with
uniqueid to be able to access a recording from
reports.php.
So if I add 'uniqueid' in call-log.php in the line:
$FG_COL_QUERY='calldate, channel, src, clid, dst,
disposition, duration, uniqueid';
and add a line:
$FG_TABLE_COL[]=array ("Recording", "uniqueid", "6%",
"center", "", "30");
It displays 'uniqueid' for every call in reports.
If it will display it in the form of URL like in my
example:
http://192.168.0.37/recordings/index.php?s=callmonitor&q=asterisk-13817-1131353495.213&start=0&btnS=Search
It will be possible to go directly to record for
speciffic call from reports.
I'm not to strong in PHP :(
Can somebody help me please to add this feature to AMP?
I think it's nice to be able to see recordings from
reports.