how to Change Setting/Details Manually

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

how to Change Setting/Details Manually

Postby bryan.kewl » Thu Aug 18, 2011 5:22 pm

GoAutoDial 2.1CE
VICIDIAL VERSION: 2.4-325c
BUILD: 110430-1924

Is it possible to change/modify settings/details manually or using a custom script. For example, a custom script to change carrier details or changing user/phone details. I don't want to grant admin access to others, but I do want to give some users extra rights.

PS: I just checked that all the details are saved in database, so if there is a script which changes the values directly in the database, will these new details be applied automatically or we need to reload asterisk?
bryan.kewl
 
Posts: 52
Joined: Mon Jul 04, 2011 5:14 pm

Postby williamconley » Thu Aug 18, 2011 7:16 pm

if you change a carrier or a phone, you'll need to reload asterisk. this can be done easily by modifying the value in Servers to "rebuild .conf". The system checks this value every minute and applies changes if they have been made.
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!)

Postby bryan.kewl » Thu Aug 18, 2011 11:27 pm

so i should write a script which will update the appropriate tables and thats all. The server will reload itself within 2 minutes.

Can I use this approach to add users/carriers/campaigns/groups etc or any other stuff in database?
bryan.kewl
 
Posts: 52
Joined: Mon Jul 04, 2011 5:14 pm

Postby williamconley » Fri Aug 19, 2011 12:09 am

yep. just remember to tell it to reload the .conf when you are done. within 60 seconds (at the :00) it will reload if that value tells it to. not necessary for campaigns or groups or users. just carriers and phones.
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!)

Postby bryan.kewl » Fri Aug 19, 2011 1:13 pm

thanks, but how to tell it to reload? I know how to reload from asterisk CLI, but is there anyway to reload using script or some db-change?
bryan.kewl
 
Posts: 52
Joined: Mon Jul 04, 2011 5:14 pm

Postby williamconley » Sat Aug 20, 2011 9:37 am

by modifying the value in Servers to "rebuild .conf".
Admin->Servers ... there is a setting there to tell it to rebuild the .conf files (one setting is for "permission", but one is actually "rebuild NOW please" and resets to No after the files are rebuilt).
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 ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 30 guests