Config file updating, but not being reloaded by asterisk

All installation and configuration problems and questions

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

Config file updating, but not being reloaded by asterisk

Postby shm267 » Thu Sep 03, 2009 9:51 am

When I make changes in the GUI, the changes are being regenerated in the configuration files, but for some reason, they are not being loaded into asterisk. I have to manually go to rasterisk and reload. What am I missing here?
shm267
 
Posts: 14
Joined: Wed Sep 02, 2009 2:24 pm

Postby mflorell » Fri Sep 04, 2009 12:55 pm

Asterisk version?

admin.php version and build?

How exactly did you install ViciDial?
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby shm267 » Fri Sep 04, 2009 1:47 pm

Asterisk version? 1.4.21.2

admin.php version and build? PHP 5.1.6/2.0.5-173 (Build 90320-0424)

How exactly did you install ViciDial? Per the install from scratch.

It was built on the CentOS 5.3 Final
shm267
 
Posts: 14
Joined: Wed Sep 02, 2009 2:24 pm

Postby mflorell » Fri Sep 04, 2009 2:05 pm

Are you using the start_asterisk_boot.pl script to start Asterisk?
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby shm267 » Fri Sep 04, 2009 2:42 pm

Nope, I am using the built in centOS service start scripts.
shm267
 
Posts: 14
Joined: Wed Sep 02, 2009 2:24 pm

Postby mflorell » Fri Sep 04, 2009 5:51 pm

Yet another reason not to use CentOS :)

For all of the features of ViciDial to work properly you need to use the start_asterisk_boot.pl script to start Asterisk.
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby shm267 » Fri Sep 04, 2009 7:10 pm

So am I to guess than rather sending the reload command through the manager interface, you are doing this via screen?
shm267
 
Posts: 14
Joined: Wed Sep 02, 2009 2:24 pm

Postby mflorell » Sat Sep 05, 2009 2:30 am

Exactly, the ONLY 100% reliable way to reload modules on a heavily loaded Asterisk instance is to connect to the original Asterisk process and issue the commands directly. It took us a while to figure this out and get it to work properly, but it has proven itself in very large multi-server ViciDial installations.
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gardo » Sat Sep 05, 2009 2:30 am

Instead of running Asterisk via the systems' startup services, append it this to your /etc/rc.local file:

### load timer source
modprobe zaptel
#modprobe wcfxo
modprobe ztdummy
ztcfg -vvvvvvvvvvvv

### sybsys local login
touch /var/lock/subsys/local

### sleep for 20 seconds before launching Asterisk
sleep 20

### start up asterisk
#/usr/share/astguiclient/start_asterisk_boot.pl


Modify it according to your system. Any other Linux distro using it's own built-in startup service scripts to fire Asterisk will miss-out on something. This is not CentOS specific.
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004


Return to Support

Who is online

Users browsing this forum: No registered users and 94 guests