Page 1 of 1

Realtime main report is not working

PostPosted: Fri Oct 07, 2016 1:46 am
by dukemuzaffar
Hi Guys,

Realtime main report vicidial/realtime_report.php is not working as expected.

few days back,it used to show the status properly like active calls, calls ringing,calls waiting for agents, calls in IVR, agents in calls, etc.,

but now from few days, irrespective of any situation, i get to see only below.
"NO LIVE CALLS WAITING NO AGENTS ON CALLS"
I tried searching all the files in vicidial to know from where exactly i am getting this message but no luck.

Appreciate an urgent help from someone on this.

VERSION: 2.10-451a
BUILD: 140902-0816
© 2014 ViciDial Group

Linux vicidial-01-prod 3.11.10-11-default #1 SMP Mon May 12 13:37:06 UTC 2014 (3d22b5f) x86_64 x86_64 x86_64 GNU/Linux

RAM-4 GB

Let me know if any additional details are required.

Re: Realtime main report is not working

PostPosted: Fri Oct 07, 2016 2:13 am
by ambiorixg12
try checking if there is any DB corruption
mysqlcheck -u root -p --auto-repair --check --optimize --all-databases

Re: Realtime main report is not working

PostPosted: Fri Oct 07, 2016 2:20 am
by dukemuzaffar
Below is the output of mysqlcheck
----mysqlcheck -c -u root -p --databases asterisk-----
Enter password:
asterisk.agentnames OK
asterisk.call_log OK
asterisk.call_log_archive OK
asterisk.callcard_accounts OK
asterisk.callcard_accounts_details OK
asterisk.callcard_log OK
asterisk.conferences OK
asterisk.contact_information OK
asterisk.dialable_inventory_snapshots OK
asterisk.groups_alias OK
asterisk.inbound_email_attachments OK
asterisk.inbound_numbers OK
asterisk.live_channels
note : The storage engine for the table doesn't support check
asterisk.live_inbound OK
asterisk.live_inbound_log OK
asterisk.live_sip_channels
note : The storage engine for the table doesn't support check
asterisk.nanpa_prefix_exchanges_fast OK
asterisk.nanpa_prefix_exchanges_master OK
asterisk.nanpa_wired_to_wireless OK
asterisk.nanpa_wireless_to_wired OK
asterisk.park_log OK
asterisk.parked_channels
note : The storage engine for the table doesn't support check
asterisk.phone_favorites OK
asterisk.phones OK
asterisk.phones_alias OK
asterisk.recording_log OK
asterisk.server_performance OK
asterisk.server_updater
note : The storage engine for the table doesn't support check
asterisk.servers OK
asterisk.system_settings OK
asterisk.twoday_call_log OK
asterisk.twoday_recording_log OK
asterisk.twoday_vicidial_agent_log OK
asterisk.twoday_vicidial_closer_log OK
asterisk.twoday_vicidial_log OK
asterisk.twoday_vicidial_xfer_log OK
asterisk.user_call_log OK
asterisk.vicibox OK
asterisk.vicidial_admin_log OK
asterisk.vicidial_agent_log OK
asterisk.vicidial_agent_log_archive OK
asterisk.vicidial_agent_skip_log OK
asterisk.vicidial_agent_sph OK
asterisk.vicidial_api_log OK
asterisk.vicidial_api_log_archive OK
asterisk.vicidial_auto_calls
note : The storage engine for the table doesn't support check
asterisk.vicidial_call_menu OK
asterisk.vicidial_call_menu_options OK
asterisk.vicidial_call_notes OK
asterisk.vicidial_call_notes_archive OK
asterisk.vicidial_call_time_holidays OK
asterisk.vicidial_call_times OK
asterisk.vicidial_callbacks OK
asterisk.vicidial_campaign_agents OK
asterisk.vicidial_campaign_cid_areacodes OK
asterisk.vicidial_campaign_dnc OK
asterisk.vicidial_campaign_hotkeys OK
asterisk.vicidial_campaign_server_stats
note : The storage engine for the table doesn't support check
asterisk.vicidial_campaign_stats OK
asterisk.vicidial_campaign_stats_debug OK
asterisk.vicidial_campaign_statuses OK
asterisk.vicidial_campaigns OK
asterisk.vicidial_campaigns_list_mix OK
asterisk.vicidial_carrier_log OK
asterisk.vicidial_carrier_log_archive OK
asterisk.vicidial_closer_log OK
asterisk.vicidial_closer_log_archive OK
asterisk.vicidial_comments OK
asterisk.vicidial_conf_templates OK
asterisk.vicidial_conferences OK
asterisk.vicidial_configuration OK
asterisk.vicidial_cpd_log OK
asterisk.vicidial_custom_cid OK
asterisk.vicidial_custom_leadloader_templates OK
asterisk.vicidial_daily_max_stats OK
asterisk.vicidial_daily_ra_stats OK
asterisk.vicidial_dial_log OK
asterisk.vicidial_dial_log_archive OK
asterisk.vicidial_did_agent_log OK
asterisk.vicidial_did_agent_log_archive OK
asterisk.vicidial_did_log OK
asterisk.vicidial_did_ra_extensions OK
asterisk.vicidial_dnc OK
asterisk.vicidial_drop_rate_groups OK
asterisk.vicidial_email_accounts OK
asterisk.vicidial_email_list OK
asterisk.vicidial_email_log OK
asterisk.vicidial_extension_groups OK
asterisk.vicidial_filter_phone_groups OK
asterisk.vicidial_filter_phone_numbers OK
asterisk.vicidial_grab_call_log OK
asterisk.vicidial_hopper
note : The storage engine for the table doesn't support check
asterisk.vicidial_inbound_dids OK
asterisk.vicidial_inbound_group_agents OK
asterisk.vicidial_inbound_groups OK
asterisk.vicidial_ivr OK
asterisk.vicidial_lead_filters OK
asterisk.vicidial_lead_recycle OK
asterisk.vicidial_lead_search_log OK
asterisk.vicidial_lead_search_log_archive OK
asterisk.vicidial_list OK
asterisk.vicidial_list_alt_phones OK
asterisk.vicidial_list_pins OK
asterisk.vicidial_list_update_log OK
asterisk.vicidial_lists OK
asterisk.vicidial_lists_custom OK
asterisk.vicidial_lists_fields OK
asterisk.vicidial_live_agents OK
asterisk.vicidial_live_inbound_agents OK
asterisk.vicidial_log OK
asterisk.vicidial_log_archive OK
asterisk.vicidial_log_extended OK
asterisk.vicidial_log_extended_archive OK
asterisk.vicidial_log_noanswer OK
asterisk.vicidial_log_noanswer_archive OK
asterisk.vicidial_manager OK
asterisk.vicidial_manual_dial_queue OK
asterisk.vicidial_monitor_calls OK
asterisk.vicidial_monitor_log OK
asterisk.vicidial_music_on_hold OK
asterisk.vicidial_music_on_hold_files OK
asterisk.vicidial_nanpa_filter_log OK
asterisk.vicidial_nanpa_prefix_codes OK
asterisk.vicidial_outbound_ivr_log OK
asterisk.vicidial_outbound_ivr_log_archive OK
asterisk.vicidial_override_ids OK
asterisk.vicidial_pause_codes OK
asterisk.vicidial_phone_codes OK
asterisk.vicidial_postal_codes OK
asterisk.vicidial_process_trigger_log OK
asterisk.vicidial_process_triggers OK
asterisk.vicidial_qc_agent_log OK
asterisk.vicidial_qc_codes OK
asterisk.vicidial_remote_agent_log OK
asterisk.vicidial_remote_agents OK
asterisk.vicidial_report_log OK
asterisk.vicidial_screen_labels OK
asterisk.vicidial_scripts OK
asterisk.vicidial_server_carriers OK
asterisk.vicidial_server_trunks OK
asterisk.vicidial_session_data OK
asterisk.vicidial_shifts OK
asterisk.vicidial_state_call_times OK
asterisk.vicidial_stations OK
asterisk.vicidial_status_categories OK
asterisk.vicidial_statuses OK
asterisk.vicidial_territories OK
asterisk.vicidial_timeclock_audit_log OK
asterisk.vicidial_timeclock_log OK
asterisk.vicidial_timeclock_status OK
asterisk.vicidial_tts_prompts OK
asterisk.vicidial_url_log OK
asterisk.vicidial_urls OK
asterisk.vicidial_user_closer_log OK
asterisk.vicidial_user_groups OK
asterisk.vicidial_user_log OK
asterisk.vicidial_user_territories OK
asterisk.vicidial_user_territory_log OK
asterisk.vicidial_users OK
asterisk.vicidial_voicemail OK
asterisk.vicidial_webservers OK
asterisk.vicidial_xfer_log OK
asterisk.vicidial_xfer_presets OK
asterisk.vicidial_xfer_stats OK
asterisk.vtiger_rank_data OK
asterisk.vtiger_rank_parameters OK
asterisk.vtiger_vicidial_roles OK
asterisk.web_client_sessions
note : The storage engine for the table doesn't support check


whereever i get "note : The storage engine for the table doesn't support check", i got to know that it is for table which has innodb schema.

Appreciate your support.

Re: Realtime main report is not working

PostPosted: Sat Oct 08, 2016 7:50 am
by dukemuzaffar
Can someone please help on this?

Re: Realtime main report is not working

PostPosted: Sun Oct 09, 2016 9:22 pm
by dukemuzaffar
Any help please

Re: Realtime main report is not working

PostPosted: Tue Oct 18, 2016 9:46 pm
by dukemuzaffar
allowed_campaigns column value was null in `vicidial_user_groups` for ADMIN group.



I have update the entry with –ALL-- .

Issue resolved.

Re: Realtime main report is not working

PostPosted: Wed Oct 19, 2016 10:56 pm
by ambiorixg12
Thanks for sharing with us your solution, I noticed that this issue happen if for some reason you uncheck the option Allowed Campaigns: from all no just an specific campaign then you cant revert back the changes through the vicidial admin section, you will need to edit the table to revert the changes

UPDATE `vicidial_user_groups` SET `allowed_campaigns`='-ALL-CAMPAIGNS-' WHERE `user_group` ='ADMIN'

Re: Realtime main report is not working

PostPosted: Tue Oct 25, 2016 12:57 am
by williamconley
Note to all: Do Not Modify The Admin Users Group.

Create a new group. Put anyone who should have any limitation in that new group, modify that new group. But never modify the admin one.

8-)

Re: Realtime main report is not working

PostPosted: Tue Oct 25, 2016 10:58 pm
by dukemuzaffar
It means it's a bug. If it is reproduced, why don't the development team fix it ;)

Re: Realtime main report is not working

PostPosted: Tue Oct 25, 2016 11:39 pm
by williamconley
dukemuzaffar wrote:It means it's a bug. If it is reproduced, why don't the development team fix it ;)

We could also say that the ability to change the password should be disabled? (After all, there are a lot of users who change their password and then can't log in.)

It's not a bug if you modify your own group permissions to exclude something you want to be able to see.

You want "User Group" security modified to disallow modifying your own User Group, sponsor the change OR make the change and submit a DIFF to the Issue Tracker for inclusion. We'll all thank you. 8-)

That's how this works. You're using about $1.5Million worth of software, paid for by other users who wanted the software to do something ... and paid for it to be how they wanted it or made the change and submitted the DIFFs.

So was that the sound of you volunteering to work out the DIFF? I'd be impressed at 25 posts ... Srsly :)