Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 11:36 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: CSV Call Report
PostPosted: Thu Oct 18, 2007 7:21 pm 
Offline

Joined: Mon Aug 14, 2006 6:52 pm
Posts: 4
Hi,
Recently i want to export the calls in the call report, but a discovery thas no CSV option for this, can areski make a button to export?
thanks
ps: there are not option in 1.2 and 1.3
pss: sorry me english =]


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 18, 2007 8:22 pm 
Offline

Joined: Thu Oct 19, 2006 9:56 am
Posts: 300
Location: Athens, Greece
BY DEFAULLT, asterisk itself exports its calls in CSV..


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 18, 2007 8:32 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
And there's a CSV export button at the bottom of the CDR report.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 18, 2007 11:13 pm 
Offline

Joined: Thu Aug 23, 2007 8:31 pm
Posts: 38
Location: Vancouver, BC, Canada
stavros wrote:
And there's a CSV export button at the bottom of the CDR report.


Huh? I don't see it. I am using A2B 1.3.0 and there is no such button at both Customer_UI and Manager_UI.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 18, 2007 11:23 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Admin interface -> Call Report -> CDR Report.
Setup the query so some calls are displayed and it no longer says "No calls in your selection".
It's there at the very bottom of the page.
"Export CSV" "Export XML"


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 19, 2007 2:12 am 
Offline

Joined: Thu Aug 23, 2007 8:31 pm
Posts: 38
Location: Vancouver, BC, Canada
:? :? :? I just couldn't find it!

Image


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 19, 2007 11:50 am 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
I'm puzzled. The file in question (Public/lib/Form/Class.ViewHandler.inc.php) hasn't been modified in 5 months, so this is not new functionality.

BTW you've obscured all the destination numbers but I would say masking yournumber cardnumber is far more important.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 19, 2007 6:02 pm 
Offline

Joined: Mon Aug 14, 2006 6:52 pm
Posts: 4
stavros wrote:
Admin interface -> Call Report -> CDR Report.
Setup the query so some calls are displayed and it no longer says "No calls in your selection".
It's there at the very bottom of the page.
"Export CSV" "Export XML"



i know there is in asterisk stat, but not in a2billing


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 19, 2007 6:23 pm 
Offline

Joined: Thu Aug 23, 2007 8:31 pm
Posts: 38
Location: Vancouver, BC, Canada
stavros wrote:
I'm puzzled. The file in question (Public/lib/Form/Class.ViewHandler.inc.php) hasn't been modified in 5 months, so this is not new functionality.

BTW you've obscured all the destination numbers but I would say masking yournumber cardnumber is far more important.


stavros, I can see these export icon and link on the "Browse Rates" page. So I compaired file and it seems like the /Public/call-log-customers.php missing the export section, at least for my original 1.3.0 file. The current trunk file has the export section so that why yours shows the button and mine is not.

I added these lines to call-log-customers.php and it works! :wink:
Code:
   <br>
    <!-- SECTION EXPORT //-->
            &nbsp; &nbsp; <a href="export_csv.php?var_export=<?php echo $FG_EXPORT_SESSION_VAR ?>&var_export_type=type_csv" target="_blank" ><img src="<?php echo Images_Path;?>/excel.gif" border="0" height="30"/><?php echo gettext("Export CSV");?></a>
          
         - &nbsp; &nbsp; <a href="export_csv.php?var_export=<?php echo $FG_EXPORT_SESSION_VAR ?>&var_export_type=type_xml" target="_blank" ><img src="<?php echo Images_Path;?>/icons_xml.gif" border="0" height="32"/><?php echo gettext("Export XML");?></a>


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 19, 2007 9:15 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
dynaguy wrote:
So I compaired file and it seems like the /Public/call-log-customers.php missing the export section, at least for my original 1.3.0 file. The current trunk file has the export section so that why yours shows the button and mine is not.
It was in the 1.3.0beta tarball when that was rolled.

I think you may have failed to recursively copy the folders when upgrading from v.1.2.3, or some other local error.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 19, 2007 11:07 pm 
Offline

Joined: Thu Aug 23, 2007 8:31 pm
Posts: 38
Location: Vancouver, BC, Canada
I started to learn A2B from 1.3.0. Never touched any version < 1.3 :?

Also, I reinstall the system two weeks ago and the copy of 1.3.0 is directly downloaded from asterisk2billing.org website.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 20, 2007 12:34 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Yes, you're quite right. I'm not sure how I missed it initially, but the change was made 3 months ago.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 02, 2008 10:58 am 
Offline

Joined: Thu Aug 30, 2007 9:19 am
Posts: 3
Hello! It would be a nice option to allow customers to export their call details in csv file.
I tried to add this feature but user generated csv file contains the same data as csv file from admin interface. How to limit fields in csv file?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group