Page 1 of 1
can't work the CLI
Posted:
Wed Apr 18, 2012 3:45 am
by noworldorder
I installed goautodial. I tried to get the asterisk output in the CLI by entering:
sudo asterisk -r
but I get
bash: asterisk: command not found
Re: can't work the CLI
Posted:
Wed Apr 18, 2012 1:35 pm
by root2
Just type
asterisk -r
Re: can't work the CLI
Posted:
Sun Apr 22, 2012 10:37 am
by GaD
I use rasterisk. Try it out...
Re: can't work the CLI
Posted:
Sun Apr 22, 2012 5:48 pm
by noworldorder
Thanks - I can use CLI now but if you really want to help me check out this thread:
http://vicidial.org/VICIDIALforum/viewtopic.php?f=7&t=25023I cannot get a network connection.
Re: can't work the CLI
Posted:
Fri May 04, 2012 5:29 pm
by noworldorder
I was able to get into asterisk using the following but now (even after reboot) it does not work; but my calls are going through:
chris@vicibox:/usr/sbin> cd /usr/sbin
chris@vicibox:/usr/sbin> rasterisk
Asterisk 1.4.39.2-vici, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
Re: can't work the CLI
Posted:
Sun May 06, 2012 4:07 pm
by williamconley
If asterisk isn't running, start it with
- Code: Select all
asterisk -vvvc
Find the reason it does not start, resolve that issue, then reboot the server so VICIDIAL can start asterisk properly.
Re: can't work the CLI
Posted:
Sun May 06, 2012 5:34 pm
by noworldorder
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Unable to open pid file '/var/run/asterisk.pid': Permission denied
Unable to bind socket to /var/run/asterisk.ctl: Address already in use
== Parsing '/etc/asterisk/logger.conf': Found
Logger Warning: Unable to open log file '/var/log/asterisk/messages': Permission denied
[May 6 15:33:06] ERROR[6167]: logger.c:616 init_logger: Unable to create event log: Permission denied
Re: can't work the CLI
Posted:
Sun May 06, 2012 7:47 pm
by noworldorder
never mind.... my stupid mistake...