Sip trunk troubles

Hi all, I’m an Asterisk newbye.
I already installed on my Ubuntu 12.04.1 LTS laptop Asterisk 1.8.10.1 from precompiled packages
I’m trying to setup a sip trunk with a number I bought from a voip provider.
I’m receiving calls but what I see on my CLI is:

[Oct 19 12:49:58] WARNING[1206]: netsock2.c:178 ast_sockaddr_split_hostport: Port disallowed in sip.messagenet.it:5061
[Oct 19 12:49:58] WARNING[1206]: netsock2.c:178 ast_sockaddr_split_hostport: Port disallowed in sip.messagenet.it:5061
[Oct 19 12:49:58] NOTICE[1206]: chan_sip.c:13134 sip_reg_timeout: – Registration for '5xxxxx@sip.messagenet.it’ timed out, trying again (Attempt #66)
[Oct 19 12:49:58] NOTICE[1206]: chan_sip.c:20593 handle_response_register: Failed to authenticate on REGISTER to '5xxxxx@sip.messagenet.it’ (Tries 1)

and during calling

[Oct 19 12:52:19] NOTICE[1206]: chan_sip.c:20593 handle_response_register: Failed to authenticate on REGISTER to '5xxxxxx@sip.messagenet.it’ (Tries 1)
== Using SIP RTP CoS mark 5

if I run
mikbook*CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status
5xxxxx/5xxxxxx 212.xx.xx.xx N 5061 Unmonitored
messagenet/5xxxxxx@sip.me 212.xx.xx.xx N 5061 OK (209 ms)
sip.messagenet.it/5xxxxxxx 212.xx.xx.xx N 5061 OK (1609 ms)
3 sip peers [Monitored: 2 online, 0 offline Unmonitored: 1 online, 0 offline]

and if I run
mikbook*CLI> sip show registry
Host dnsmgr Username Refresh State Reg.Time
sip.messagenet.it:5061 N 5xxxxxx 120 Request Sent
sip.messagenet.it:5061 N 5xxxxxx 105 Registered Sat, 20 Oct 2012 16:41:48
2 SIP registrations.

My sip.conf

[general]
bindport=5060
context=incoming
udpbindaddr=0.0.0.0
tcpenable=no
tcpbindaddr=0.0.0.0
disallow=all
allow=ulaw
language=it
dtmfmode=info
rtptimeout=60
rtpholdtimeout=300

;messagenet
register => 5xxxx:mypassword@sip.messagenet.it:5061/mynumber

[messagenet]
type=peer
defaultuser=5xxxxx@sip.messagenet.it
fromuser=5xxxxx
secret=mypassword
host=sip.messagenet.it
fromdomain=sip.messagenet.it
outboundproxy=sip.messagenet.it
realm=sip.messagenet.it
port=5061
regseconds=60
insecure=port,invite
context=incoming
qualify=yes
nat=yes
srvlookup=yes
canreinvite=no
directmedia=no
disallow=all
allow=alaw
;allow=g726
;allow=ilbc
;allow=gsm
;allow=ulaw

; outgoing calls
[sip.messagenet.it]
type = peer
auth = md5
username = 5xxxxxx
fromuser = 5xxxxxx
secret = mypassword
host = sip.messagenet.it
port = 5061
qualify = yes
insecure = very

My simple extensions.conf :

[incoming]
exten => mynumber,1,Answer()
exten => mynumber,2,Background(./en/queue-callswaiting.gsm)
exten => mynumber,3,Hangup()

Thank you in advance to anyone who will help me.

You have made the device name the same as the domain name. Devices have their port number specified in the device entry, not after the device name. The name has been parsed as a device, not a literal domain name.

I don’t know if this has caused the failure to get a response. Gettting a SIP trace showing exactly what register was sent where might clarify that.