[Asterisk-Users] force to expire a sip registration

Eric "ManxPower" Wieling eric at fnords.org
Wed Nov 9 10:37:52 MST 2005


Olle E. Johansson wrote:
> Jason Pyeron wrote:
> 
>>take for example a phantom SIP/400b from a previos phone config, without
>>restarting * how can I purge only 400b?
>>
>>testserver*CLI> sip show peers
>>Name/username              Host            Dyn Nat ACL Port     Status
>>400c/400c                  (Unspecified)    D          0        Unmonitored
>>400b/400b                  192.168.1.106    D          2051     Unmonitored
>>400/400                    192.168.1.106    D          2051     Unmonitored
>>302/302                    192.168.1.106    D          2051     Unmonitored
>>301/301                    192.168.1.106    D          2051     Unmonitored
>>333/333                    192.168.1.106    D          2051     Unmonitored
>>
>>
> 
> At this point you can not. It could easily be made into a CLI or manager
> command, but would be dangerous unless you know what you're doing.
> 
> But useful, regardless.

If SIP/400b is no longer configured in sip.conf then just do a "sip reload"



More information about the asterisk-users mailing list