Need help with a new install

Hello,

I had to reinstall my lab system due to equipment failure and am having issues getting my test device to register. The system is installed on a Centos 6.3 server running in ESXi 5.0. I am trying to register a 3CX softphone client that is on my iPhone. I had it working on the old system and don’t recall having any issues there. Being new to this I am still a little green on how to navigate in Linux and look up debuggin and log files.

Asterisk v1.8, IP is 192.168.1.140

asterisk.conf
directories
astetcdir => /etc/asterisk
astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astdbdir => /var/lib/asterisk
astkeydir => /var/lib/asterisk
astdatadir => /var/lib/asterisk
astagidir => /var/lib/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run/asterisk
astlogdir => /var/log/asterisk

[options]
runuser=root
rungroup=root

sip.conf
[general]
context=unauthenticated
allowguest=no
srvlookup=yes
udpbindaddr=0.0.0.0
tcpenable=no
port=5060

lab-phones
type=friend
context=LocalSets
host=dynamic
nat=yes
secret=1234
dtmfmode=auto
disallow=all
allow=ulaw
allow=alaw

3CXiphone

The client tries to register but times out. I can ping both ways. Not sure what/where to check for an issue. I am using the Oreilly “Asterisk:The definitive guide” to setup my system. The only thing I did different this time was I didn’t create a seperate user to run/administer asterisk with. I am running everything under root.

If the client times out, you have a firewall, or other routing problem, or Asterisk isn’t running.

About half the people on this forum have problems with new installation, so you subject is not useful to help people identify questions they can answer, or to allow people to find the question again, later. It turns out it is not even tru.

No firewall, all on the same subnet. Asterisk is running. I have verified network connectivity between the devices.

And for the record, I was given the impression this forum was here to help new people get started and figure out issues with setups and such. If this is not the correct forum for new users please advise. I had already checked all the basics is why I went here to see if there was something I was missing.

Again, if this the wrong forum please advise in a mature professional manner vs. taking jabs at someone who is looking for help.

The forum is for users to help each othe, generally in solving specific problems. My criticism was that you broke this rule: catb.org/esr/faqs/smart-ques … bespecific and also that it wasn’t even a new installation, but an upgrade.

As you seem to have eliminated the normal causes of timeouts, you will need to provide full SIP debugging:

logger.conf: enable full logging;

CLI: core set debug 5 and core set verbose 5

If that shows no incoming packets, you will need to do a packet capture on the Asterisk box (tcpdump or wireshark) and interpret it with wireshark.

If that shows no incoming packets, you definitely have a network or firewall problem.

Have you tried disabling SElinux?