Cant register extension when type=user

hi folks
I’m confused about asterisk types .

i had in sip.conf file :
[102]
deny=0.0.0.0/0.0.0.0
secret=123456
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
trustrpid=yes
sendrpid=no
type=user
nat=yes
port=5060
qualify=yes
qualifyfreq=60
transport=udp
avpf=no
icesupport=no
encryption=no

and i have zoiper soft phone … now when the type is friend or peer the soft phone can register and do calls .
but if type was user , the server return error “wrong pwd”

I’m here want to ask .

shouldnt when i use the type=user that the phone get registered and work and only receive calls only ???

isn’t type=user for incoming calls only ?

also i have Q .
is there a difference between 'incoming call"
and soft phone want to register ?

what is the difference between them ?
how can i differentiate that ?

cheers

Will completely prevent use.

hi david , even when i removed that line
deny=0.0.0.0/0.0.0.0

and reloaded sip …ims till having same result .

[2016-12-21 14:11:11] NOTICE[32285]: chan_sip.c:28434 handle_request_register: Registration from ‘sip:102@10.40.50.250;transport=UDP’ failed for ‘10.40.50.252:49174’ - Wrong password

can you answer me again on my questions above plz ?

The peer doesn’t appear to be providing an address of record (which is in the To header on registers)!

Please provide the SIP debugging.

        ast_log(LOG_NOTICE, "Registration from '%s' failed for '%s' - %s\n",
            sip_get_header(req, "To"), ast_sockaddr_stringify(addr),
            reason);

(Note, when quoting anything from SIP on this forum, you need to use un-formatted text, otherwise everything in <> gets lost. However, I think it is still in the raw HTML and there is no To header content there, either.)