I have installed Asterisk 1.4 for Centos 5, using this config but the CLI doest show me anything when the Xlite try to register adn the Xlite never register, am I doing something wrong?, extenions.conf is empty:
SIP.conf
[general]
context=sip
allowguest=yes
realm=10.0.0.5 ; <-- Asterisk/Centos IP
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
domain=10.0.0.5 ; <-- Asterisk/Centos IP
[authentication]
[2221]
type=friend
username=2221 ; <-- user name
secret=password
context=default
host=dynamic
disallow=all
allow=all
Like said, it is worth checking the firewall first. Usually if a device wants to register it should show up at the asterisk CLI.
if your firewall is ok, Check your X-Lite configuration for the correct settings.
If X-Lite is set up correctly, check your sip.conf.
I see you noted your user in the context “Default” yet you placed him beneath “authentication” this might cause errors too. also check if you have a NAT, to set nat=yes to the user. it might also be best to add:
qualify=yes ;seems this checks wether the host is still available
insecure=very ;dunno why, but online was this noted XD
canreinvite=yes ;allows redial’s
to your users configuration.
also, remove the disallow=all (no point in disallowing what you will allow one line later)