I have installed the latest asterisk server release and using a really simple setup.
I only have 5 clients which can phone each other.
Asterisk is running on a server directly connectet to the internet.
The clients are NATed throught an dynamic ip.
The problem is that when the ip of the clients changes they never get unregistered.
Even with active qualifiying the client are still registered and they can not register again.
The IP is dead for 10 hours and still the status is shown as OK. The new IP hat no open port 5060 or other.
When i restart the server everything works fine again until the next day the ip changes.
I already trying to fix this for a month but it makes no sense. It drives me mad.
Name/username Host Dyn Forcerport ACL Port Status Description
66629/66629 22.214.171.124 D A 5060 OK (82 ms)
66648/66648 126.96.36.199 D a 21381 OK (168 ms)
66659/66659 188.8.131.52 D A 6070 OK (145 ms)
66669/66669 184.108.40.206 D A 5060 OK (79 ms)
66679 (Unspecified) D a 0 UNKNOWN
66689/66689 220.127.116.11 D A 5060 OK (79 ms)
maxexpiry=600 ; Maximum allowed time of incoming registrations (seconds)
minexpiry=60 ; Minimum length of registrations (default 60)
defaultexpiry=120 ; Default length of incoming/outgoing registration
submaxexpiry=600 ; Maximum allowed time of incoming subscriptions (seconds), default: maxexpiry
subminexpiry=60 ; Minimum length of subscriptions, default: minexpiry
qualifyfreq=60 ; Qualification: How often to check for the host to be up in seconds
; and reported in milliseconds with sip show settings.
; Set to low value if you use low timeout for NAT of UDP sessions
; Default: 60
qualifygap=100 ; Number of milliseconds between each group of peers being qualified
; Default: 100
qualifypeers=1 ; Number of peers in a group to be qualified at the same time
; Default: 1
keepalive=60 ; Interval at which keepalive packets should be sent to a peer
; Valid options are yes (60 seconds), no, or the number of seconds.
; Default: 0
nat = auto_force_rport,auto_comedia