I don't connect asterisk

I don’t connect asterisk with x-lite
i am newbie
and i read o’reilly media and stopped this problem
i dont solve my problem with my knowledge.

my system;
centOS 5.3 with asterisk 1.6.1.1

my sip.conf
[1000]
type=friend
username=1000
secret=pwdmaykut
host=dynamic
context=internal
callerid=maykut
mailbox=1000
dtmfmode=rfc2833
qualify=yes

[1001]
type=friend
username=1001
secret=pwdmaykut2
host=dynamic
context=internal
callerid=maykut2
mailbox=1001
dtmfmode=rfc2833
qualify=yes

extension.conf
[globals]
1000=SIP/1000
1001=SIP/1001

[general]
static=yes
writeprotect=no
autofallthrough=yes

[internal]
exten => 1000,1,Dial(SIP/1000)
exten => 1000,2,hangup
exten => 1001,1,Dial(SIP/1001)
exten => 1001,2,hangup

and my xlite

The configuration it’s correct, try to know if you are in the same Network like you pbx.
and do not forget, ‘reload’ from asterisk CLI> to make Apply effects to all changes.

Check you pbx server ip

Have you opened ports for asterisk in iptables?

firstly,
i turn off selinux and firewall

no problem with reload, changing configuration i reload system with;
sip reload
dialplan reload

  • i use vmware,
    i am not use physical computer

check your network with your VM.

yes
i check my network connection and
i find a problem with it

then i solved it
then problem solved.