Dynamic peer IP change

Hello everyone,

Recently I’ve updated asterisk from 1.6 to 11.4 version. There is a small change in it’s behavior that drives me crazy. Let’s say I have a sip phone registered on extension 6000 at my asterisk. Let’s say I change the sip phone configuration to make it register at another extension (e.g. 5999). However when I reload the sip phone and execute “sip show peers” the extension 6000 is still in “ok” state.

Name/username Host ... Status 6000/6000 10.0.0.102 OK (21 ms)

Shouldn’t its status change to UNREACHEABLE and then to UNKNOWN?

Unless the phone explicitly unregisters, before the address change, you will have to wait for the qualify or register to time out.