Max Rank Increase

All installation and configuration problems and questions

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

Max Rank Increase

Postby mjohn425 » Thu May 21, 2020 6:38 pm

Hi guys,

I have a client looking to do a per agent ranking system (they insisted), and need to increase the number of ranks above the current. The rank field is set as an unsigned tinyint(1) in the vicidial_inbound_group_agents table. I'm looking to change this and modify the code in the admin.php as appropriate to allow a larger selection. Just wanted to know at a glance if anyone knows if the value is modified/error checked in any agi scripts or perl scripts when routing the call eg (if len(rank) > 1 -> do unexpected).

Cheers,
Marty
OS: VICIBox 9.0.1 OpenSuse 15.1 | VERSION: 2.14-742a BUILD: 200327-1715 | Asterisk: 13.21.1-vici | SVN: 3205 DB Schema: 1588
Linux: 4.12.14-lp151.28.44-default | MYSQL: Ver 15.1 Distrib 10.2.31-MariaDB | Perl: v5.26.1 | php: v7.2.5
mjohn425
 
Posts: 51
Joined: Tue Jan 21, 2020 1:20 am

Re: Max Rank Increase

Postby mflorell » Thu May 21, 2020 7:35 pm

Make sure you alter the rank field in the vicidial_campaign_agents table as well.

As for issues, I'm not really sure, I wrote that code many years ago, you'll just have to test it with the debug logging on.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Max Rank Increase

Postby mjohn425 » Thu May 21, 2020 7:39 pm

Cheers, thanks for the tip.

Yep, I thought that might be the case haha thanks anyway.
OS: VICIBox 9.0.1 OpenSuse 15.1 | VERSION: 2.14-742a BUILD: 200327-1715 | Asterisk: 13.21.1-vici | SVN: 3205 DB Schema: 1588
Linux: 4.12.14-lp151.28.44-default | MYSQL: Ver 15.1 Distrib 10.2.31-MariaDB | Perl: v5.26.1 | php: v7.2.5
mjohn425
 
Posts: 51
Joined: Tue Jan 21, 2020 1:20 am


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 113 guests