Displaying 20 results from an estimated 26 matches for "astrundir".
2007 Oct 20
1
asterisk.conf and it's impact on CLI
...y SIP DID AGI stuff
worked, except running 'asterisk -r' doesn't. It tells me
' Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl
exist?)'
Basically, the difference between 'asterisk.conf' file is as follows:
v 1.2.9 (installed through trixbox)
astrundir => /var/run/asterisk
v 1.4.4
astrundir => /var/run
So in my new servers, if i keep it as '/var/run/asterisk, my DID phone will
work with stanaphone (in which i'm crapping in my pants if they'll exist
cause they never return emails). Though CLI won't work.
if i do '/var/...
2008 Aug 17
2
Running asterisk as non root user
...ess killedAsterisk ended with exit status 1Asterisk died with code 1.cat: /var/run/asterisk.pid: No such file or directoryAutomatically restarting Asterisk.
The suggestion to do the following didn't work...:
Edit the [directories] section of asterisk.conf and change
the line that reads astrundir => /var/run
TO:
astrundir => /var/run/asterisk
Then:
mkdir /var/run/asterisk
chown theuser /var/run/asterisk
Edit /etc/init.d/asterisk
And make sure there are no references to /var/run/asterisk.pid
you want /var/run/asterisk/asterisk.pid instead
Any help most welcome
-------------- nex...
2009 Jan 06
1
Problems getting 1.6 to run with user asterisk and group asterisk
...built SVN-trunk-r167180 and try to start it with:
asterisk -f -C /etc/asterisk/asterisk.conf
which results in:
Unable to open pid file '/var/run/asterisk.pid': Permission denied
Unable to bind socket to /var/run/asterisk.ctl: Permission denied
However, /etc/asterisk/asterisk.conf has:
astrundir => /var/run/asterisk
runuser = asterisk
rungroup = asterisk
The directory, user, and group exist. Permissions are fine. The only
way I can get it to run is to edit defaults.h and change:
#define DEFAULT_RUN_DIR "/var/run/asterisk"
#define DEFAULT_SOCKET "/var/run/aster...
2010 Mar 23
3
Which folder for sounds?
...e this
astetcdir => /etc/asterisk
astmoddir => /usr/lib64/asterisk/modules
astvarlibdir => /var/lib/asterisk
astdbdir => /var/lib/asterisk
astkeydir => /var/lib/asterisk
astdatadir => /var/lib/asterisk
astagidir => /var/lib/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run/asterisk
astlogdir => /var/log/asterisk
So in which folder are these sounds supposed to be?
But more importantly, who do we figure out where * is looking for
sounds? Some cli command would be really nice.
sean
2006 Apr 05
0
Re: Asterisk start/stop
change asterisk.conf:
mkdir /var/run/asterisk
chown it to your asterisk user.
change astrundir => /var/run to astrundir => /var/run/asterisk
My guess would be that you are running asterisk as a non-root user and that this user can not write to /var/run .
if so, the ctl and PID files are not created.
--
--
Steven
http://www.glimasoutheast.org
"Tom Castleman" <freep...
2007 Mar 04
1
running error: load_modules: No 'modules.conf' found - vesrion 1.4.1 from svn
...s of my asterisk.conf:
[directories]
astetcdir => /home/asterisk/asterisk/asterisk
astmoddir => /home/asterisk/asterisk/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astdatadir => /var/lib/asterisk
astagidir => /var/lib/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run/asterisk
astlogdir => /var/log/asterisk
Bests
Tomasz
2007 Jan 23
2
Can't find asterisk.ctl under CentOS installation
Hi Everyone,
I recently upgraded to Asterisk 1.4 using the RPMS at ATrpms.net on
CentOS 4.4, Asterisk starts up but when I start the console it reports
this error and drops out.
"Unable to connect to remote asterisk (does
/var/run/asterisk/asterisk.ctl exist)?"
I have checked to see that the file asterisk.ctl actually exists. Any
suggestions?
--
"I never look back darling, it
2014 Jul 20
1
Asterisk 12 fails to launch with option -C
...es
astetcdir => /etc/asterisk1
astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk1
astdbdir => /var/lib/asterisk1
astkeydir => /var/lib/asterisk1
astdatadir => /var/lib/asterisk1
astagidir => /var/lib/asterisk/agi-bin
astspooldir => /var/spool/asterisk1
astrundir => /temp/run/asterisk1
astlogdir => /var/log/asterisk1
astsbindir => /usr/sbin
All directories mentioned above do exist.
Should I open a bug or there is something I am missing?
2009 Apr 07
3
Logging Asterisk console
Hi all, in witch way can I put in a log file the asterisk console?
I have tried with some settings in file logger.conf but the log not
contain the same debug that I can see with "asterisk -rvvv".
I need it in debugging purpose for tracking some bug.
Thanks Enrico.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type:
2008 Oct 26
3
hammering imap vmail storage
I've configured asterisk 1.4 to use imap storage for voice-mail and
while I'm happy with it generally speaking it really seem to hammer the
IMAP server. It appear, from the IMAP server logs that it's polling
the imap server every *second* for mailbox updates for the users'
voice-mail folders.
Is it really necessary to do this once a second? Is this tunable
anywhere?
Thanx,
b.
2009 Feb 24
7
multiple asterisks in a server
Hi all,
Is it possible to install more than 1 asterisk in a single server?
If yes, what do I need to set and take care?
Rgds,
ango
2003 May 12
1
ISDN channels
...switchtype = national
signalling = pri_cpe
channel => 1-4
ocancel = yes
----asterisk.conf---
[directories]
astetcdir => /etc/asterisk
astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astagidir => /var/lib/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run
astlogdir => /var/log/asterisk
[pstn]
exten => 0,Dial(Zap/g1)
2007 Mar 04
1
running error, unable to load *.conf files: load_modules: No 'modules.conf' found - svn version 1.4.1
...s of my asterisk.conf:
[directories]
astetcdir => /home/asterisk/asterisk/asterisk
astmoddir => /home/asterisk/asterisk/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astdatadir => /var/lib/asterisk
astagidir => /var/lib/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run/asterisk
astlogdir => /var/log/asterisk
Thanks in advance!
Bests
Tomasz
2009 Apr 09
4
asterisk command line problem
Hi there,
I have been trying to solve this error message that I wrote below. Has
anyone faced with this problem before ?
Thanks for help
--------------------------------------------------------
[root at asterisk1 ~]# asterisk -rx "show channels"
Unable to connect to remote asterisk
(does /var/run/asterisk/asterisk.ctl exist?)
--------------------------------------------------------
2009 Apr 28
1
asterisk -C option not honored 100%
Hello,
I am trying to get a repeatable build setup for asterisk. Part of doing
so involves using the -C option to specify the master config file. The
problem is that asterisk reads the config file location that i specify,
however it still tries to read two other config files, namely:
* /etc/asterisk/extconfig.conf, and
* /etc/asterisk/logger.conf
I have specified in my config file that the
2009 Aug 24
1
problem on compiling asterisk-addons-1.6.2.0-rc1
.../init.d/asterisk
#/usr/sbin/update-rc.d asterisk defaults 99 99
#groupadd asterisk
#useradd asterisk -g asterisk
#vim /etc/init.d/asterisk
D?commenter :
AST_USER="asterisk"
AST_GROUP="asterisk"
#vim /etc/asterisk/asterisk.conf
Effacer le (!)
Changer: astrundir => /var/run/asterisk
#mkdir /var/run/asterisk
#chown asterisk /var/run/asterisk/
#chown asterisk /etc/asterisk -R
#chown asterisk /var/lib/asterisk -R
#chmod 777 /var/log/asterisk
#chown asterisk /usr/lib/asterisk/ -R
#chown asterisk /var/spool/asterisk/ -R
#chown asterisk /etc/dahdi -R
#chown...
2007 Nov 19
7
asterisk as non-root/best practices
Hi,
I have set up asterisk to run as non root, and allow admin users to log
in to the server as asterisk, which gives them privileges to edit
configs in the asterisk home directory.
As for connecting to the console with 'asterisk -r' - this by default
does not work as asterisk is owned stored in /usr/sbin/asterisk
I am reading that the best way to solve this is to use 'visudo' -
2004 Jul 21
0
Asterisk sees inbound call, but won't answer
...either answering inbound
or placing outbound calls.
Many thanks,
Greg
----------------------
asterisk.conf:
astetcdir => /etc/asterisk
astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astagidir => /var/lib/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run
astlogdir => /var/log/asterisk
----------------------
modules.conf [this one is tweaked based on what I wanted to play with and
using info from voip-info]:
[modules]
autoload=yes
noload => chan_agent.so
noload => chan_iax2.so
noload => chan_local.so
noload => chan_mgcp...
2018 Jan 11
0
Asterisk 13.19.0 Now Available
...and "destination
ip address" fields in HEP packets
(Reported by Max Norba)
* ASTERISK-27363 - res_http_websocket: Wrong LocalAddress (it
is equal to RemoteAddress)
(Reported by Vasilii Rogin)
* ASTERISK-27415 - asterisk.conf: Setting astctl without
setting astrundir is ineffective.
(Reported by Corey
Farrell)
* ASTERISK-27411 - pjsip: TCP connections may not be destroyed
(Reported by Joshua Colp)
* ASTERISK-27345 - res_pjsip_session: RTP instances leak on 488
responses.
(Reported by Corey Farrell)
* ASTERISK-27337 - chan_sip:...
2018 Jan 11
0
Asterisk 15.2.0 Now Available
...and "destination
ip address" fields in HEP packets
(Reported by Max Norba)
* ASTERISK-27363 - res_http_websocket: Wrong LocalAddress (it
is equal to RemoteAddress)
(Reported by Vasilii Rogin)
* ASTERISK-27415 - asterisk.conf: Setting astctl without
setting astrundir is ineffective.
(Reported by Corey
Farrell)
* ASTERISK-27411 - pjsip: TCP connections may not be destroyed
(Reported by Joshua Colp)
* ASTERISK-27345 - res_pjsip_session: RTP instances leak on 488
responses.
(Reported by Corey Farrell)
* ASTERISK-27337 - chan_sip:...