Solved

Asterisk Not Starting Correctly

Posted on 2011-09-14
9
380 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 M
Ron M 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 M
ID: 36539173
No I meant Ubuntu firewall.
0
 
LVL 20

Accepted Solution

by:
José Méndez earned 84 total points
ID: 36540082
Did you reset the server?
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Ever wanted to query Cisco Call Manager CDR records from MS SQL Server? Here's how! CUCM can be configured to upload a CDR file to a given FTP server every minute. This article will show you how to set this up, schedule the import of this data an…
I recently purchased a Bluetooth headset called the Music Jogger (model BSH10). The control buttons on it look like this: One of my goals is to use it as the microphone and speakers for Skype calls. In that respect, it works well. However, I …
This video discusses moving either the default database or any database to a new volume.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now