Solved

Asterisk Not Starting Correctly

Posted on 2011-09-14
9
382 Views
Last Modified: 2013-11-12
I've just done new install - asterisk 1.8.xxx + Ubuntu 11.xxx, I'm trying to run the AMI so I can connect with a switchboard, here's my manager.conf:
[general]
enabled = yes
port = 5038
bindaddr = 127.0.0.1
[admin]
secret = xxxx
deny = 0.0.0.0/0.0.0.0
permit = 127.0.0.1/255.255.255.0
read = all
write = all
#include "manager.d/*.conf"
The switchboard can't connect, and when I run this line:
sudo netstat -lnp | grep 5038 nothing is listening. Where am I going wrong?
But when I run this l
0
Comment
Question by:Silas2
  • 4
  • 2
  • 2
  • +1
9 Comments
 
LVL 25

Assisted Solution

by:Ron Malmstead
Ron Malmstead earned 83 total points
ID: 36538495
Firewall?
0
 

Author Comment

by:Silas2
ID: 36539145
I'm pretty sure there is no firewall anywhere (its on a sort of DMZ, only asterisk box->ISP, nothing else)
0
 
LVL 25

Expert Comment

by:Ron Malmstead
ID: 36539173
No I meant Ubuntu firewall.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 20

Accepted Solution

by:
José Méndez earned 84 total points
ID: 36540082
Did you reset the server?
0
 
LVL 28

Assisted Solution

by:FishMonger
FishMonger earned 83 total points
ID: 36540288
Are you sure your setting of read and write are correct?  The wiki docs don't show that 'all' is a valid setting/value.

Try changing them to:
read = system,call,log,verbose,command,agent,user,originate
write = system,call,log,verbose,command,agent,user,originate
0
 
LVL 28

Expert Comment

by:FishMonger
ID: 36540992
Are making the AMI connection directly from the asterisk server, or from another system on your network?  If it's from another system, then your should/need to specify your network address instead of your loopback address.
0
 

Author Comment

by:Silas2
ID: 36542077
xuserx2000: Definately, IPtables blank, new install, and I didn't make any rules.
FishMonger: Swapped the 'all'' for the explicit values
re loopback. Its all one server, its really the simplest it could be, ISP->asterisk/ubuntu box->ISP, the AMI is being (or not being) accessed by fop2 resident on the asterisk box, so I guess that 127.0.0.1 is right, isn't it?
0
 

Author Comment

by:Silas2
ID: 36542102
+ willlywilburwonka, yes did a reboot (or three), still no:
sudo netstat -lnp | grep 5038
0
 

Author Comment

by:Silas2
ID: 36542142
Ah, I think I found it. Does that line, which was in before
#include "manager.d/*.conf"
the hash is not a comment, so it is maybe looking in that location for manager info overriding the stuff in this file? I took it out and is now listening on 5038.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

So you think no one can listen in on your VOIP conversations, eh? Well... if you haven't setup Secure Real Time Transport (SRTP), your voice communications can be hacked into by just about anyone! First, let's talk about the intended audience for…
As companies replace their old PBX phone systems with Unified IP Communications, many are finding out that legacy applications such as fax do not work well with VoIP. Fortunately, Cloud Faxing provides a cost-effective alternative that works over an…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question