Host undefined

------phona A-------kamailio---------asterisk-----

[code]serverjavier-desktopCLI> sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description Realtime
JavierTren/1000 152.74.21.12 D Yes Yes 5060 Unmonitored Cached RT
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 0 offline]
serverjavier-desktop
CLI> sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description Realtime
0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]

[/code]

in host appear sofphone’s ip, but spend time and host is undefinid, therefore asterisk dont could route
call…
plz help :smiley:

The registration expired and the peer didn’t renew it.

and how do for not experid? or how config the peer for renew registration?

Read the documentation for the peer. This is not something you can do from the Asterisk side.

the file sip.conf will can to help me?

;maxexpiry=3600 ; Maximum allowed time of incoming registrations (seconds)
;minexpiry=60 ; Minimum length of registrations (default 60)
;qualifyfreq=60 ; Qualification: How often to check for the host to be up in seconds

because the config of zoiper for example can’t to do any

[javier]
type=friend
host=dynamic

What version of ZOIPER are you using… If you are using an old version this could cause issue for renew the registation after the registration expiry time is reached. Check under advance setting of ZOIPER and try with the latest version

registration expiry have to do betwen 60 and 3600 miliseconds in the configurations’s zoiperm, so set registration expiry= 1000 but dont work, the only form to work is registration expiry= 0 and so send continuously message register… dont understand the value to set at the parameter