No matching peer found

I installed asterisk just yesturday.
Server is in Canada, i’m at home, behind NAT in sunny Spain.
I have some voip software on my PC, as well as nokia N95 8GB.
I can make call from my nokia on truphone, gizmoproject.
But i can’t register it on asterisk, each time i connect.
[Jan 27 17:35:26] NOTICE[47438]: chan_sip.c:15051 handle_request_register: Registration from ‘sip:mangust@66.196.39.253’ failed for ‘89.130.214.165’ - No matching peer found

I am so happy all this night! I also trying to connect via software phone from my pc with same result. I studied asterisk documentation, big pdf file. Well, as i can.
i put into sip.conf:
[general]

[1000]
type=friend
context=phones
host=dynamic

But ‘No matching peer found’… i don’t understand actually what is peer, and what it should match. I was thinking that strings in sip.conf is ok. But was wrong. Feel myself very stupid.

Telephone:
Menu->tools->settings->connections-SIP settings->Test (my connection):
Profile name: Test
Service profile: IETF
Default access point:
Public username: sip:mangust@66.196.39.253
Use compression: no
Registration: then needed
Use security: no

Menu->tools->settings->connections-SIP settings->Test->Proxy server:
proxy server address: sip:66.196.39.253
realm: 66.196.39.253
username: none
password: none
allow loose routing: Yes
Transport type: UDP
Port: 5060

Menu->tools->settings->connections-SIP settings->Test->Registration server:
registration server address: sip:66.196.39.253
realm: 66.196.39.253
username: none
password: none
allow loose routing: Yes
Transport type: UDP
Port: 5060

oh my got!
was confused by this text from documentation:


Even though we have named this SIP device 1000, and we are probably going to assign
it that extension number, you should note that we could have named it whatever we
wanted. Names such as mysipset, john, 0004f201ab0c are all valid, popular, and may
suit your needs better.# What we are doing is assigning a unique identifier to a device,
which will form part of the credentials when a call is placed using the SIP channel.


[1000] name of peer?

public name in my nokia should be sip:1000@anyword… i was able to register.