URL String gone for reports?

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

URL String gone for reports?

Postby CallCenter702 » Mon Oct 29, 2012 6:54 pm

VERSION: 2.6-373a
BUILD: 120810-1018
Install VIcibox Server

Hi all,

I noticed since the 2.6 update that the String no longer appears for the reports. (I assume to eliminate the issue of long strings for the browsers). But is there still a way to generate it easily or view it somewhere?

Reason is that I used to be able to send my managers, tech, etc. a link and say something akin to "look at the calls on these DIDs, too many drops." But now it doesn't make the links. I have over 900 TF numbers so I would say daily I send about 3-5 of those types of emails. But now I have to list the DIDs the date range, etc. for them so they can then go generate it themselves. It was also very easy to bookmark a report link when I started a new campaign and wanted to track it.

I did figure out that I can still create the strings by adding the DID record number (example below), but that is obviously very tedious.

http://192.168.1.2/vicidial/AST_DIDstat ... %5B%5D=234

Was just curious if someone had a similar issue and a work-around?
CallCenter702
 
Posts: 28
Joined: Wed Sep 05, 2012 5:50 pm

Re: URL String gone for reports?

Postby williamconley » Mon Oct 29, 2012 9:52 pm

usually there is a "download" button avaialble which will generate a csv instead of the web version of the report. it will still get the data ... and you may be able to make a simple mod to the download url to get the web version as well.

please post the VERSION of the Vicibox .iso you used (it can make a difference ...). Not a bad idea to post your asterisk version as well.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: URL String gone for reports?

Postby DomeDan » Tue Oct 30, 2012 5:55 am

You can do a little modification in AST_DIDstats.php on line 236 (file build 120224-0910)
set "METHOD=GET"
Code: Select all
- $MAIN.="<FORM ACTION=\"$PHP_SELF\" METHOD=POST name=vicidial_report id=vicidial_report>\n";
+ $MAIN.="<FORM ACTION=\"$PHP_SELF\" METHOD=GET name=vicidial_report id=vicidial_report>\n";
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: URL String gone for reports?

Postby mflorell » Tue Oct 30, 2012 6:43 am

We have a client that had over 700 in-groups, and that was pretty much the reason for us changing to POST from GET for most reports, because if you tried to select too many the report wouldn't load.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: URL String gone for reports?

Postby CallCenter702 » Wed Nov 07, 2012 5:03 pm

Thanks for the help Dan!

Makes sense on the update... I have a few hundred in-groups as well so had that issue many times. But that edit will work perfectly to flip back and forth.
CallCenter702
 
Posts: 28
Joined: Wed Sep 05, 2012 5:50 pm

Re: URL String gone for reports?

Postby williamconley » Wed Nov 07, 2012 5:15 pm

No law says you can't put two full forms in that spot and choose which one you want based on the number of ingroups you are choosing ... :) (It's a waste of landscape, but then again Vicidial pages are not meant to be pretty, they are meant to Work!)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: URL String gone for reports?

Postby CallCenter702 » Thu Nov 08, 2012 7:35 pm

DomeDan wrote:You can do a little modification in AST_DIDstats.php on line 236 (file build 120224-0910)
set "METHOD=GET"
Code: Select all
- $MAIN.="<FORM ACTION=\"$PHP_SELF\" METHOD=POST name=vicidial_report id=vicidial_report>\n";
+ $MAIN.="<FORM ACTION=\"$PHP_SELF\" METHOD=GET name=vicidial_report id=vicidial_report>\n";



Hi Dan,

I put this in but doesn't seem to work... was there any other actions needed?

Installed with ViciBox.i686-4.0.1.iso
Asterisk 1.4.21.2
CallCenter702
 
Posts: 28
Joined: Wed Sep 05, 2012 5:50 pm

Re: URL String gone for reports?

Postby williamconley » Thu Nov 08, 2012 8:18 pm

Perhaps you could be more descriptive "put it in" and "doesn't work" ... if you use the diff (or just made the change) it "worked" and will GET instead of POST. Which is the goal. What else would you want to accomplish? :)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: URL String gone for reports?

Postby CallCenter702 » Mon Nov 19, 2012 1:37 pm

Sorry my techs words not mine. But he said he made the change that Dan suggested:

- $MAIN.="<FORM ACTION=\"$PHP_SELF\" METHOD=POST name=vicidial_report id=vicidial_report>\n";
+ $MAIN.="<FORM ACTION=\"$PHP_SELF\" METHOD=GET name=vicidial_report id=vicidial_report>\n";

And didn't get the results we wanted. Ie,. The string is still http://64.250.228.234/vicidial/AST_CLOSERstats.php

Opposed to one that contains the search variables E.g,. http://64.250.228.234/vicidial/AST_CLOS ... .php?group[]=AAA&group[]=BBB, etc.

Are we missing something?
CallCenter702
 
Posts: 28
Joined: Wed Sep 05, 2012 5:50 pm

Re: URL String gone for reports?

Postby williamconley » Mon Nov 19, 2012 2:15 pm

probably another form on the page or a "refresh" or a "cached" page. have him check the source code of the page in the browser to be sure it actually changed.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 90 guests

cron