Unable to place call using SIP

Hi,
I’m trying to configure asterisk using O`Reilly’s book.
I had configured sip.conf like this:
[general]
[1000]
type=friend
context=phones
Host=dynamic

[2000]
type=friend
context=phones
Host=dynamic

and configured extensions.conf like this:
[globals]

[general]

[default]
exten => s,1,Verbose(1|Unrouted call handler)
exten => s,n,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(tt-weasels)
exten => s,n,Hangup()

[incoming_calls]

[internal]
exten => 500,1,Verbose(1|Echo test application)
exten => 500,n,Echo()
exten => 500,n,Hangup()
exten => 1000,1,Verbose(1|Extension 1000)
exten => 1000,n,Dial(SIP/1000,30)
exten => 1000,n,Hangup()
exten => 2000,1,Verbose(1|Extension 2000)
exten => 2000,n,Dial(SIP/2000,30)
exten => 2000,n,Hangup()

[phones]
include => internal

I use X-Lite softphones and both of them were able to register themselves to asterisk. ( I had to uncheck “register with domains and receve incoming call” , to register them on the server )

when I run
*CLI>sip show peers

the result is this and I don’t know what to do:
Name/username Host Dyn Nat ACL Port Status
2000 (Unspecified) D 0 Unmonitored
1000 (Unspecified) D 0 Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 2 offline]

I can’t make call and I don’t know what to do. :frowning:

thanks for your help

You haven’t registered. In fact it seems like you have turned off registration in X-Lite.

I’d expect to have a secret configured, but I can’t say that that is strictly necessary.

thanks, I will check it. :smiley: