Solved

Asterisk Not Starting Correctly

Posted on 2011-09-14
9
381 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
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 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

The Zaptel people (www.zaptel.com) got kind of annoyed with the fact that they were getting bombarded with searches for the zaptel driver system for Asterisk (not to mention they own the trademark on zaptel). So, they kindly requested that Digium ch…
There are no good configuration guides for HP-H3C router to LYNC on the web. :( Big statement, but we havent been able to find one yet. We did find the following document useful, but the information was not enough to use H3C router for use as a L…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

895 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

15 Experts available now in Live!

Get 1:1 Help Now