Any1 have useful settings containers?

Any and all non-support discussions

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

Any1 have useful settings containers?

Postby carpenox » Sun Sep 20, 2020 1:36 pm

I was curious if anyone had some useful settings containers they use that they wouldnt mind sharing?
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Any1 have useful settings containers?

Postby mflorell » Mon Sep 21, 2020 8:21 am

I've got about 60 of them on my dev box, there are dozens of uses for Settings Containers, what kind are you looking for?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Any1 have useful settings containers?

Postby carpenox » Mon Sep 21, 2020 8:39 am

Didnt have anything particular in mind, never used them before so I am just trying to figure out what type of usefulness I can get out of them.
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Any1 have useful settings containers?

Postby dreedy » Fri Jan 15, 2021 3:45 pm

Would you have anything like a rep set a dispo or appt and the setting container sends out a txt message to the appt person cell phone for a reminder?
1- mysql/apache Server (ViciBox 11) Dell R640
1- Dialer (Vicibox 11) Dell R620
1- Web (Vicibox 11) Dell R620
1- Archive Server Drobo 810n

Asterisk 16.30.0-vici | VERSION: 2.14-924a | BUILD: 240716-1453 | svn 3856|dbschema 1717
dreedy
 
Posts: 182
Joined: Tue Nov 24, 2015 10:16 pm

Re: Any1 have useful settings containers?

Postby carpenox » Fri Jan 15, 2021 3:47 pm

dreedy

; sending email address
email_from => vicidial@local.server

; subject of the email
email_subject => Scheduled callback alert for --A--agent_name--B--

email_body_begin =>
This is a reminder that you have a scheduled callback right now for the following lead:

Name: --A--first_name--B-- --A--last_name--B--
Phone: --A--phone_number--B--
Alt. phone: --A--alt_phone--B--
Email: --A--email--B--
CB Comments: --A--callback_comments--B--
Lead Comments: --A--comments--B--

Please don't respond to this, fool.

email_body_end
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Any1 have useful settings containers?

Postby carpenox » Fri Jan 15, 2021 3:48 pm

matt, i was curious what type of container would be used for the launcher? any examples you could share?
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Any1 have useful settings containers?

Postby mflorell » Fri Jan 15, 2021 4:06 pm

What exactly is "the launcher"?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Any1 have useful settings containers?

Postby carpenox » Fri Jan 15, 2021 4:23 pm

vicidial/admin_launch_trigger.php
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Any1 have useful settings containers?

Postby mflorell » Fri Jan 15, 2021 10:12 pm

That script was designed as a generic framework we built for a customer for a set of custom client perl scripts 3 years ago so that the client could launch them on their own through a web page. There really is no function for them within the VICIdial codebase currently.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Any1 have useful settings containers?

Postby carpenox » Sat Jan 16, 2021 7:32 pm

ah ok, gotcha. thank you sir
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Any1 have useful settings containers?

Postby williamconley » Mon Jan 18, 2021 5:29 pm

We use them primarily for new feature requests to avoid trying to create a "preference" when a new feature is added. This way the settings container allows visible feature configuration that's upgrade-proof. Instead of altering admin->servers or the campaign settings screen (or any other module), we put a settings container in place that will survive upgrade yet allow the client to specify said "preference".

We used to create a whole new table for this, but settings containers allow this without any custom tables. Handy.

Some clients insist on modifying the existing page (lists, campaigns, users, etc), but not all of them.
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: Any1 have useful settings containers?

Postby carpenox » Mon Jan 18, 2021 5:37 pm

Bill

damn that sounds useful, you mind sharing an example?
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Any1 have useful settings containers?

Postby williamconley » Mon Jan 18, 2021 6:11 pm

Usage isn't complex enough to have an example. It's just a Key=>Value pair. The container ID is the Key, the Value is in the Entry, which could be a single item, multiple items, or even several more key=value pairs (although that's kinda dangerous as clients tend to screw that up, whereas ONE key->value pair per entry has proven safer over time).

We also generally put a ticket # or other identifier in the Container Notes field for reference in case someone says "um ... whazzis?"
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 General Discussion

Who is online

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