Open Source Training Seminar FreePBX Paid Support

Ticket #318 (assigned Feature Requests: None)

Opened 3 years ago

Last modified 1 year ago

Link to recordings from AMP reports (cdr).

Reported by: cupotka Assigned to: nobody (accepted)
Priority: minor Milestone:
Component: None Version: None
Keywords: Cc:
Confirmation: SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

 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. 

Change History

11/07/05 07:48:30 changed by dan_littlejohn

Logged In: YES 
user_id=1318991

I think it would be easier to add the popup to the reports.

Attached are the popup files.

Use this to make the links (changing the relevant parts)

        $recordingLink = "<a href='#'
onClick=\"javascript:popUp('misc/recording_popup.php?recording="
. $recording . "&date=" . $date . "&time=" . $time . "')\">"
. _("play") . "</a>";

12/13/06 05:40:09 changed by lir

Whats up with this issue?

02/05/07 02:15:20 changed by splante

I had the same idea and created an update. I don't see a way to upload patches, so see Insight Systems' site for the tarfile and a brief explanation and instructions. There is a shell script to generate the links and some changes to call-log.php.

Now that there's code, what does it take to get this added to the next release?

03/08/07 03:23:12 changed by zanoman

I installed Splante (Scott) tar and get play column but no monitored called show up. Do I miss something?

Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads