Add New Fields To Contacts?

Any and all non-support discussions

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

Add New Fields To Contacts?

Postby inspire888 » Tue Apr 27, 2021 11:46 pm

Hi All,

Is it possible to add new fields to contacts?

Email is missing and I'd like to add a few more if possible?

I tried adding an email address to another field however it simply pulls the @ sign out.

Thanks
Vicibox 9.0.2 from .iso | Vicidial VERSION: 2.14-756a BUILD: 200609-2257 | Asterisk v.13.29.2-vici | No Digium/Sangoma Hardware | No Extra Software After Installation | 4gb RAM
inspire888
 
Posts: 30
Joined: Sun Feb 07, 2021 5:08 pm

Re: Add New Fields To Contacts?

Postby mflorell » Wed Apr 28, 2021 8:43 am

That's not currently a feature in VICIdial, although I'm sure it could be added. You should add an Issue Tracker "feature request" ticket for this, and consider sponsoring development of the feature.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Add New Fields To Contacts?

Postby inspire888 » Wed Apr 28, 2021 6:03 pm

I don't mind changing some PHP code for a quick customization.

Is it stored in admin.php?
Vicibox 9.0.2 from .iso | Vicidial VERSION: 2.14-756a BUILD: 200609-2257 | Asterisk v.13.29.2-vici | No Digium/Sangoma Hardware | No Extra Software After Installation | 4gb RAM
inspire888
 
Posts: 30
Joined: Sun Feb 07, 2021 5:08 pm

Re: Add New Fields To Contacts?

Postby inspire888 » Wed Apr 28, 2021 6:12 pm

Just found it in admin.php and changed the field label and type.

How can I stop if from stripping the @ sign?

Thanks
Vicibox 9.0.2 from .iso | Vicidial VERSION: 2.14-756a BUILD: 200609-2257 | Asterisk v.13.29.2-vici | No Digium/Sangoma Hardware | No Extra Software After Installation | 4gb RAM
inspire888
 
Posts: 30
Joined: Sun Feb 07, 2021 5:08 pm

Re: Add New Fields To Contacts?

Postby inspire888 » Wed Apr 28, 2021 7:36 pm

Solved it.

Just added a @ to one of the variables in preg_replace.
Vicibox 9.0.2 from .iso | Vicidial VERSION: 2.14-756a BUILD: 200609-2257 | Asterisk v.13.29.2-vici | No Digium/Sangoma Hardware | No Extra Software After Installation | 4gb RAM
inspire888
 
Posts: 30
Joined: Sun Feb 07, 2021 5:08 pm

Re: Add New Fields To Contacts?

Postby carpenox » Fri Apr 30, 2021 12:29 am

nice, good postback
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: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 44 guests

cron