ERROR[3042]: netsock2.c:305 ast_sockaddr_resolve: getaddrinf

Excuse my English.

I use Asterisk version 13.3.2

I have a SIP user, when you try to register I get the following error:

ERROR[3042]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("", “(null)”, …): Name or service not known
WARNING[3042]: chan_sip.c:16282 parse_register_contact: Invalid hostport ''
WARNING[3042]: chan_sip.c:17181 register_verify: Failed to parse contact info

This is my user settings sip:
[ballestero]
username=ballestero
type=friend
md5secret=689d5d63742933b2045612e8773d082c
context=default
qualify=yes
host=dynamic
language=es
insecure=invite
disallow=all
allow=ulaw
allow=alaw

This same configuration in asterisk 1.18.13.1 works well.
Truth and look at various forums and can not find the solution.
Check my dns and are ok.

Can you think of something which may come this problem?

It’s complaining about the contents of the incoming REGISTER request. Without seeing that it is difficult to say why it is doing that.