asterisk.conf: astrundir

arbitrageur

New Member
Joined
Jan 17, 2008
Messages
5
Reaction score
0
Hello everybody, first post here. My PBXiaf installation (1.1) is running in vmware fusion on a macbook pro and I have run the update-scripts and update-fixes recently. I'm using Polycom phones (550/330) a linksys SPA-3102, and a SIP trunk through Voicepulse (using their trixbox module to install it).

I noticed that my out of box installation would not allow me to 'asterisk -r' from the commandline, and the cause was that the astrundir setting in asterisk.conf was not pointing to /var/run/asterisk (where the permissions are correct for the process to create the ctl file).

This also impacted the ability to view debug output through the FreePBX web interface, and probably hung up some other things too.

After updating '/etc/asterisk/asterisk.conf' with 'astrundir => /var/run/asterisk' things seem to be working well.

I also updated the astrundir variable in '/etc/asterisk/extensions_additional.conf', although that may be redundant.

I don't know which original package introduced this (freepbx, asterisk, pbxiaf installation, or something else) but it may be a problem other people are having after an install. If not, then I wonder why my install turned out this way.

Thanks,
-Greg
 
Where was it pointing?

Neither the update-scripts or update-fixes modifies the asterisk.conf file AT ALL. I have just confirmed this with the updated PIAF machine I keep around as a reference. It always contains all of the latest patches and updates from PIAF and FPBX. (Except for FPBX beta) Also contains the latest Digium source etc.

The files and variables you named are pointing to the correct folder. So I suspect it did not come from the PIAF stuff.
 
astrundir was pointing to /var/run which is owned by root...

I figured something like this would have been noticed before and that the problem is likely localized to me - now I'm trying to track down what made the change. Most likely culprit may be the voicepulse connect module I installed (its intended for trixbox, but I figured that's based on freepbx too).

I apologize for stating this was straight OOB - I installed the VP module before getting into any nitty gritty requiring debug. Just now I also realize I installed the trix version of the module instead of the freepbx2.2 module (on the grounds that freepbx2.3 was a better match).

I searched /var/www/html/admin/modules/voicepulse for any reference to astrun and did not find any (other than the file backups - both with the /var/run destination??).

Only other installs I have done are vsftpd, dhcpd, t*f*t*p...
 

Members online

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top