Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a CentOS machine that I have installed the most recent version of asterisk on (everything was installed from source along with all of the necessary dependancies that were inside of the repository server). Since this is an installation from source there were some things that didn't come with the installation (for instance the sound files but this was an easy fix). My problem here is the voicemail application. I put in the entry to retrieve messages in the dial plan and when I dial the number for the messages inbox the phone gets disconnected. But here is where it gets weird. When I go inside of the asterisk CLI it starts working. I used the "asterisk -cvv" command because the "asterisk -r" gives me the this error
Code:
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
I was told that this is happening because Asterisk wasn't started as a service. I have no idea what that means because the service is working. I know that it is because I am able to make calls to the other phones on the network but not leave or retrieve voicemail. I started asterisk with this command
Code:
/etc/init.d/asterisk start
How do I start asterisk "as a service" because I have no idea how or what it means because all of the google searches that I have been conducting are turning up nothing.
No since it doesn't start as a service it doesn't log anything as far as I know the computer thinks it hasn't started. I have the voicemail working for the time being after running this command
Code:
/usr/sbin/safe_asterisk
I have to run it every time I restart asterisk (I guess because I'm not starting it as a service, I did try the service command like you said but it still didn't work.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.