Displaying 20 results from an estimated 200 matches similar to: "Running asterisk as non root user"
2007 Oct 20
1
asterisk.conf and it's impact on CLI
I was previous using Asterisk 1.2.9.1 and decided to get some real servers
outside of my house. It was time for Asterisk 1.4.4.
I figured since all the conf files were in /etc/asterisk form the old box,
i'd just copy tha directory over to the new server. My SIP DID AGI stuff
worked, except running 'asterisk -r' doesn't. It tells me
' Unable to connect to remote asterisk (does
2009 Jan 06
1
Problems getting 1.6 to run with user asterisk and group asterisk
I've 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,
2007 Mar 04
1
running error: load_modules: No 'modules.conf' found - vesrion 1.4.1 from svn
Hi,
I have just installed the fresh svn version of asterisk and when I run it I get the following errors:
[Mar 4 14:19:27] WARNING[24527]: loader.c:728 load_modules: No 'modules.conf' found, no modules will be loaded.
[Mar 4 14:19:27] NOTICE[24527]: manager.c:2681 init_manager: Unable to open management configuration manager.conf. Call management disabled.
[Mar 4 14:19:27] NOTICE[24527]:
2010 Mar 23
3
Which folder for sounds?
1.6.2:
-- Executing [s at incoming-pstn-line:4] VoiceMail("DAHDI/4-1",
"100 at default,u") in new stack
-- <DAHDI/4-1> Playing
'/var/spool/asterisk/voicemail/default/100/unavail.gsm' (language 'en')
[Mar 22 17:15:46] WARNING[31145]: file.c:650 ast_openstream_full: File
vm-intro does not exist in any format
[Mar 22 17:15:46] WARNING[31145]:
2014 Jul 20
1
Asterisk 12 fails to launch with option -C
I am trying to launch Asterisk on a different directory with the parameter 'C
asterisk -vvvvvvvvvvvvvvvvvvgc -C /etc/asterisk1/asterisk.conf
Parsing '/etc/asterisk1/extconfig.conf': Found
Resetting translation matrix
UUID system initiated
Parsing /etc/asterisk1/asterisk.conf
== Parsing '/etc/asterisk1/asterisk.conf': Found
Not changing threadpool size since new size 0 is
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"
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
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.
2008 Dec 11
5
Linux Software to monitor quality of bandwidth for carrying voip traffic - suggestions please?
Hi,
Would like to run the software to monitor the quality of the bandwidth.
Suggestions welcome?
Thank you.
Shaun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081211/85bd0069/attachment.htm
2008 Nov 19
2
VoiceMail - audio problem
Please help...
The 1st voicemail message after a reload has audio to the caller. All subsequent calls have no audio to the caller even though the same voicemail application is being called?
Asterisk Version 1.4.21.2
Executing [0872200189 at In:2] VoiceMail("SIP/voip-1fd034e0", "910|u") in new stack
-- <SIP/voip-1fd034e0> Playing 'vm-theperson' (language
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
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 Mar 04
2
Required:Asterisk Beep tone while call connects
Hi,
There is a long call setup time untill the call connects. How can I play a beep tone say every 4 seconds to the caller untill the call connects?
Tx.
Shaun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090304/38e17d3e/attachment.htm
2003 May 12
1
ISDN channels
Hi friends,
I'm testing a E400P with PRI signaling. When I start asterisk (-vvc), i get the fowlling messages in /var/log/asterisk/message:
May 12 12:42:06 WARNING[1024]: File chan_iax2.c, Line 4931 (set_config): Ignoring port for now
May 12 12:42:06 WARNING[1024]: File chan_zap.c, Line 6525 (load_module): Ignoring ocancel
And 'show channels' returns no channels. Can anyone help
2007 Mar 04
1
running error, unable to load *.conf files: load_modules: No 'modules.conf' found - svn version 1.4.1
Hi All!
I have just installed the fresh svn version of asterisk and when I run
it I get the following errors:
[Mar 4 14:19:27] WARNING[24527]: loader.c:728 load_modules: No
'modules.conf' found, no modules will be loaded.
[Mar 4 14:19:27] NOTICE[24527]: manager.c:2681 init_manager: Unable to
open management configuration manager.conf. Call management disabled.
[Mar 4 14:19:27]
2008 Dec 01
2
Inbound calls from Asterisk to Asterisk with SIP "Forbidden" from '"asterisk"
Please help.
Asterisk 1: Sip.conf
[VoipDirect777821]
type=friend
host=dfvvd.dyndns.org
username=VoipDirect777821
secret=xxxxxxxxxxxx
accountcode=5260477782
amaflags=billing
context=Incoming
disallow=all
allow=g729
;allow=alaw
;allow=ulaw
trunk=no
qualify=yes
qualifysmoothing=yes
nat=no
canreinvite=yes
dtmfmode=rfc2833
;directrtpsetup=no
t38pt_udptl = yes
Asterisk 2 sip.conf
GNU nano 1.3.12
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' -
2009 Aug 24
1
problem on compiling asterisk-addons-1.6.2.0-rc1
hello,
I tried to compil asterisk-addons-1.6.2.0-rc1,
and I have that error:
[CC] res_config_mysql.c -> res_config_mysql.o
res_config_mysql.c:1367: error: unknown field ?update2_func? specified in
initializer
res_config_mysql.c: In function ?parse_config?:
res_config_mysql.c:1432: error: ?CONFIG_STATUS_FILEMISSING? undeclared
(first use in this function)
res_config_mysql.c:1432: error: