can't work the CLI

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

can't work the CLI

Postby noworldorder » Wed Apr 18, 2012 3:45 am

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
http://www.scrubmydata.com Your First Scrub is FREE
Vicibox 4.0 | VERSION: 2.6-375a BUILD: 120831-1523
Realtek RTL8111/8168B PCI Dual Core 2 GB Ram
no other software read the manual
GRATEFUL FOR VICIDIAL!
noworldorder
 
Posts: 391
Joined: Sat Mar 06, 2010 3:56 pm

Re: can't work the CLI

Postby root2 » Wed Apr 18, 2012 1:35 pm

Just type

asterisk -r

:)
AMD Phenom(tm) 9600B Quad-Core Processor
4 gig ddr2
500gig hd
Goautodial 2.1
Vicidial SVN 2.4-309a BUILD: 110430-1642
Asterisk 1.4.39.1-vici
Dahdi 2.4.1
CentOS 5.6
root2
 
Posts: 20
Joined: Fri Aug 19, 2011 6:46 am

Re: can't work the CLI

Postby GaD » Sun Apr 22, 2012 10:37 am

I use rasterisk. Try it out...
GaD
 
Posts: 195
Joined: Fri Jul 08, 2011 3:56 pm

Re: can't work the CLI

Postby noworldorder » Sun Apr 22, 2012 5:48 pm

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=25023

I cannot get a network connection.
http://www.scrubmydata.com Your First Scrub is FREE
Vicibox 4.0 | VERSION: 2.6-375a BUILD: 120831-1523
Realtek RTL8111/8168B PCI Dual Core 2 GB Ram
no other software read the manual
GRATEFUL FOR VICIDIAL!
noworldorder
 
Posts: 391
Joined: Sat Mar 06, 2010 3:56 pm

Re: can't work the CLI

Postby noworldorder » Fri May 04, 2012 5:29 pm

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?)
http://www.scrubmydata.com Your First Scrub is FREE
Vicibox 4.0 | VERSION: 2.6-375a BUILD: 120831-1523
Realtek RTL8111/8168B PCI Dual Core 2 GB Ram
no other software read the manual
GRATEFUL FOR VICIDIAL!
noworldorder
 
Posts: 391
Joined: Sat Mar 06, 2010 3:56 pm

Re: can't work the CLI

Postby williamconley » Sun May 06, 2012 4:07 pm

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: can't work the CLI

Postby noworldorder » Sun May 06, 2012 5:34 pm

== 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
http://www.scrubmydata.com Your First Scrub is FREE
Vicibox 4.0 | VERSION: 2.6-375a BUILD: 120831-1523
Realtek RTL8111/8168B PCI Dual Core 2 GB Ram
no other software read the manual
GRATEFUL FOR VICIDIAL!
noworldorder
 
Posts: 391
Joined: Sat Mar 06, 2010 3:56 pm

Re: can't work the CLI

Postby noworldorder » Sun May 06, 2012 7:47 pm

:oops: never mind.... my stupid mistake... :oops:
http://www.scrubmydata.com Your First Scrub is FREE
Vicibox 4.0 | VERSION: 2.6-375a BUILD: 120831-1523
Realtek RTL8111/8168B PCI Dual Core 2 GB Ram
no other software read the manual
GRATEFUL FOR VICIDIAL!
noworldorder
 
Posts: 391
Joined: Sat Mar 06, 2010 3:56 pm


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 45 guests