list status report email with html attachment instead of csv

All installation and configuration problems and questions

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

list status report email with html attachment instead of csv

Postby jayboo876 » Tue Aug 16, 2022 10:04 pm

Ran the "Lists Statuses Report" report from the admin gui and was able to click the "download full report" link to download a nice csv report. So, I then hover over the link and copied its content (below) and pasted the exact url into the automated report setup. However, when automated report runs, I keep getting report in html format instead of the same csv I got from the gui. I checked the AST_LISTS_stats.php on the webserver (and all servers just to be sure) and the if statement ( if ($file_download>0 || $file_download=="ALL") {) seems to indicate that the file should be csv once these values are set. Any thoughts on how to fix this, really need the csv attachment. Thanks.

https://x.x.x.x/vicidial/AST_LISTS_stats.php?DB=0&list[]=205&list[]=206&SUBMIT=SUBMIT&file_download=ALL

installation
generic vicibox10 iso, ast16 update, cluster mode, virtual servers
jayboo876
 
Posts: 38
Joined: Sat Apr 02, 2022 12:51 pm

Re: list status report email with html attachment instead of

Postby carpenox » Wed Aug 17, 2022 6:26 pm

try removing DB=0 and the [] brackets after list and combine the 2 so its separate by comma like this:

https://x.x.x.x/vicidial/AST_LISTS_stat ... wnload=ALL

Also. get off VPS severs, they wont work correctly and will forever give you problems, the software is FREE, dont be cheap and spend some money on a real dedicated server from OVH or Ionos

Good luck

Chris
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2223
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: list status report email with html attachment instead of

Postby jayboo876 » Wed Aug 17, 2022 9:42 pm

carpenox wrote:try removing DB=0 and the [] brackets after list and combine the 2 so its separate by comma like this:

https://x.x.x.x/vicidial/AST_LISTS_stat ... wnload=ALL

Also. get off VPS severs, they wont work correctly and will forever give you problems, the software is FREE, dont be cheap and spend some money on a real dedicated server from OVH or Ionos

Good luck

Chris


Unfortunately still receiving html attachment after using your method
jayboo876
 
Posts: 38
Joined: Sat Apr 02, 2022 12:51 pm

Re: list status report email with html attachment instead of

Postby carpenox » Thu Aug 18, 2022 12:17 pm

try adding this: &file_download=1
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2223
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL


Return to Support

Who is online

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