X-lite (Registration error.405.Method Not Allowed

i just installed the latest version of Asterisk(1.6.2.6).Now after all configuration is done i am trying to connect X-lite.it is not registering.All it gives me is Registration error 405.Method Not Allowed.
Anyone knows what the problem might be.

Klakus

[quote=“klakus”]i just installed the latest version of Asterisk(1.6.2.6).Now after all configuration is done i am trying to connect X-lite.it is not registering.All it gives me is Registration error 405.Method Not Allowed.
Anyone knows what the problem might be.[/quote]
May be, the problem is you forgot to post your configurations here.

sorry for that blip @ Mazilo.here is the configuration in sip.conf

[color=#008000][general]
context=default
srvlookup=yes

[user1]
type=friend
secret=welcome
qualify=yes
nat=yes
host=dynamic
canreinvite=no
context=internal[/color]

and this is the one for extensions.conf

[color=#008000][internal]
exten => 100,1,Dial(SIP/user1)
exten => 611,1,Echo( )[/color]

hope it helps

I think it also can be helpful if you post the CLI output here when you try to register X-lite with Asterisk.

@nypon.when i start x-lite there is no output at the CLI>.I don’t know why.

What configuration have you done in X-Lite?

[color=#00BF00]user details

Display name - user1
User name -user1
Password - welcome
Authorization user name - user1
Domain - 192.168.1.101 (which is the IP address of my PBX)

Proxy - 192.168.1.101:5060
Dialing Plan - #1\a\a.T;match=1;prestrip=2;
NB>Register with domain and receive incoming calls is selected[/color]

Try removing the Proxy settings and be sure you add a rule for your iptables or stop the service with /et/init.d/iptables stop and try to register again the xlite

Yes, I say the same as navaismo.

Remove the proxy settings and try to use “send output via: domain” instead.
I got home now and looked at my settings and that is what I have and it works for me!

i have disabled the firewall and removed the proxy settings.still the same registration error.don’t seem to know
what am doing wrong.

Can you try adding the line username for the user, like this:

[user1]
type=friend
secret=welcome
qualify=yes
nat=yes
username=user1
host=dynamic
canreinvite=no
context=internal

hey guys.sorry 4 the delay.after i stopped the iptables service and removed the proxy settings.i decided to restart the whole system again.Well after startup X-lite was able to connect to my server.I think the problem had to do with either the iptables or the proxy.av not eliminated one yet.Thanks very much to you all for all the help.am most grateful,now i can get my system working