Danilo,
Can you ping the box?
Then make sure asterisk is listening on the correct ports, from the command line type:
Code:
netstat -nap | grep asterisk
The output will show you what processes are listening and on which port. You should see something like:
Code:
tcp 0 0 0.0.0.0:5060 0.0.0.0:* LISTEN 21431/asterisk
tcp 0 0 0.0.0.0:5061 0.0.0.0:* LISTEN 21431/asterisk
udp 0 0 0.0.0.0:5000 0.0.0.0:* 21431/asterisk
udp 0 0 0.0.0.0:2727 0.0.0.0:* 21431/asterisk
udp 0 0 0.0.0.0:4520 0.0.0.0:* 21431/asterisk
udp 0 0 0.0.0.0:5060 0.0.0.0:* 21431/asterisk
udp 0 0 0.0.0.0:4569 0.0.0.0:* 21431/asterisk
unix 2 [ ACC ] STREAM LISTENING 4808258 21431/asterisk /var/run/asterisk/asterisk.ctl
unix 3 [ ] STREAM CONNECTED 6458571 21431/asterisk
unix 3 [ ] STREAM CONNECTED 4808274 21431/asterisk
The important line is to make sure asterisk is listening on UDP port 5060.
Have you checked the SIP settings and tried enabling SIP debug to confirm that the traffic is getting to the asterisk box?
From the command line:
Code:
asterisk -rvvvvvvvvvv
then type:
Make sure the externip address is your EC2 public IP address.
then type:
Then restart your phone and see if you see any traffic registration traffic.