> >?You mean terminating a user agent's Registration ahead of its > >scheduled ?expiry? ?If so, the only non-hacker way to > achieve this is > >for that user ?agent to terminate its own registration by > sending a REGISTER with expiry=0. > > Yes, that's what I mean. So I guess it can be done, but the > user needs to know how to do this with the client they are > using then. If a fixed phone, then I guess SOL.
Some phone models will actually deregister when being orderly powered down (reset the phone from phone menus as opposed to yanking power). There is another possibility. If you run a modestly sized system (less than 50) on reasonably powered h/w ( 2GHz dual-core with 2GB of RAM) and have an adventurous mind, you can fiddle with the /etc/sipxpbx/sipxregistrar/registrar-config.vm file. In it, you'll find these two settings SIP_REGISTRAR_MAX_EXPIRES_NORMAL : SIP_REGISTRAR_MIN_EXPIRES_NORMAL : These define the random interval (in seconds) for the registration expiries. I've been running a 70 user system on a Dell optiplex 755 with 2GB of RAM with the following with almost no impact. SIP_REGISTRAR_MAX_EXPIRES_NORMAL : 300 SIP_REGISTRAR_MIN_EXPIRES_NORMAL : 180 This will concentrate the expiries between 3 and 5 minutes. That reduces the time one has to wait for registrations to time out. If you end up experimenting with those, I suggest you do it off hours and monitor the CPU as this does increase the load on your box. Also, I wouldn't advise going any longer than 90 seconds (or specify a MAX that is smaller than the MIN :) ). Use carefully. _______________________________________________ sipx-users mailing list sipx-users@list.sipfoundry.org List Archive: http://list.sipfoundry.org/archive/sipx-users Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users sipXecs IP PBX -- http://www.sipfoundry.org/