Help

All installation and configuration problems and questions

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

Help

Postby Leckbush » Thu Jul 26, 2018 2:09 pm

Hi guys, Is it possible to make the "Real Time Screen" of a campaign accessible by our client, just that interface is we want them to access for them to monitor their campaign. They we're suggesting installing FOP2 but when that happens FOP2 will always shows active calls because every sip is on a conference.






Version:2.12b0.5 Build:160517-1927 (2016) | Vicibox: v.7.0.3-160505 | ASterisk 11.22.0 | Single Server
Server 1: ViciBox v.8.1.2 181002 | Single Machine | VERSION: 2.14-580c BUILD: 190406-1615| Asterisk 13.21.1-vici
i7-4790K - 16GB DDR3 - 1TB HDD
Leckbush
 
Posts: 126
Joined: Sat May 12, 2018 6:35 pm
Location: Philippines

Re: Help

Postby blackbird2306 » Thu Jul 26, 2018 2:56 pm

You need to make changes in "realtime_report.php" if you want to grant your client only access to the Real Time Main Report without login into admin web section, but there is a almost similar solution to restrict a user only to view a certain report:
1. Create a new user group for your client and check only the right campaign as "Allowed Campaigns". Then select there only "Real-Time Main Report" as "Allowed Reports". Further restrict all other options there as you want.
2. Add a new user and change the user group of this user to the one that has just been created. View reports is the only setting, which should be enabled ("1") all other settings should be disabled ("0").

But think of it that your client perhaps will be able to see some more information by mistake, although he won't be able to edit or open it in detail. E.g. he could read the name of your scripts, if you set the ADMIN GROUP of this script to ALL.
Last edited by blackbird2306 on Thu Jul 26, 2018 3:13 pm, edited 1 time in total.
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
blackbird2306
 
Posts: 409
Joined: Mon Jun 23, 2014 5:31 pm

Re: Help

Postby williamconley » Thu Jul 26, 2018 3:08 pm

Leckbush wrote:Hi guys, Is it possible to make the "Real Time Screen" of a campaign accessible by our client, just that interface is we want them to access for them to monitor their campaign. They we're suggesting installing FOP2 but when that happens FOP2 will always shows active calls because every sip is on a conference.






Version:2.12b0.5 Build:160517-1927 (2016) | Vicibox: v.7.0.3-160505 | ASterisk 11.22.0 | Single Server

Look at the Vicidial Manager's Manual under "Reports only user". Yes, you can micromanage which reports are available to the user and restrict them to just the Real Time. It begins with User Level 7 if I recall correctly. And of course their User Group will determine which campaigns they are allowed to see.
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: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Help

Postby blackbird2306 » Thu Jul 26, 2018 3:34 pm

Yes, just set the user level to 7 (nothing else) .
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
blackbird2306
 
Posts: 409
Joined: Mon Jun 23, 2014 5:31 pm

Re: Help

Postby Leckbush » Thu Jul 26, 2018 5:08 pm

Hi can thanks for the answers. Can I call this "realtime_report.php" via api set to view of a specific campaign?



Version:2.12b0.5 Build:160517-1927 (2016) | Vicibox: v.7.0.3-160505 | ASterisk 11.22.0 | Single Server
Server 1: ViciBox v.8.1.2 181002 | Single Machine | VERSION: 2.14-580c BUILD: 190406-1615| Asterisk 13.21.1-vici
i7-4790K - 16GB DDR3 - 1TB HDD
Leckbush
 
Posts: 126
Joined: Sat May 12, 2018 6:35 pm
Location: Philippines

Re: Help

Postby blackbird2306 » Thu Jul 26, 2018 5:11 pm

Leckbush wrote:Can I call this "realtime_report.php" via api set to view of a specific campaign?

What do you mean exactly? I don't understand this question?
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
blackbird2306
 
Posts: 409
Joined: Mon Jun 23, 2014 5:31 pm

Re: Help

Postby Leckbush » Thu Jul 26, 2018 5:19 pm

Hi

I think I managed to achieved what I need to do. I create a user with level 7 and set only view report to 1, others are 0. I created a user group for that user to and check only the campaign the user only can access for reports and also i select the "realtime main report" only on allowed reports. And voila... works I expected. Thanks

What do I need now is if there is a possible api for this to integrate to our website, so our client will go to our website and login there and redirect to the permitted user account I creat for him.


Version:2.12b0.5 Build:160517-1927 (2016) | Vicibox: v.7.0.3-160505 | ASterisk 11.22.0 | Single Server
Server 1: ViciBox v.8.1.2 181002 | Single Machine | VERSION: 2.14-580c BUILD: 190406-1615| Asterisk 13.21.1-vici
i7-4790K - 16GB DDR3 - 1TB HDD
Leckbush
 
Posts: 126
Joined: Sat May 12, 2018 6:35 pm
Location: Philippines

Re: Help

Postby blackbird2306 » Thu Jul 26, 2018 5:38 pm

I still did not understand what you mean. You can create a hyperlink on your website, which points to the realtime report. It is also possible to login directly through the link:

http://user:password@server-ip/vicidial/realtime_report.php
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
blackbird2306
 
Posts: 409
Joined: Mon Jun 23, 2014 5:31 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 92 guests