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 -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Partner & Sr. Manager 7 West 24th Street #100 - - +1 (443) 269-1555 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited.
I have 4 Aastra 480i CT IP SIP Phone Some time if I have to restart Asterisk the Phones don't register in. It takes a long time for them to register like about 3 hours. If I restart the phones they register in. Is there a way to change the time in witch the phones register in with the server? -Jason
Olle E. Johansson
2005-Nov-09 10:19 UTC
[Asterisk-Users] force to expire a sip registration
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. /O
Jason Pyeron wrote:> On Wed, 9 Nov 2005, Eric "ManxPower" Wieling wrote: > >> 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 >> >> >> If SIP/400b is no longer configured in sip.conf then just do a "sip >> reload" > > > ahh, but it is, thats the delima, will patch for "sip advmanip ..."I.E. remove it, reload Asterisk, re add it, reload again. -- Cheers, Matt Riddell _______________________________________________ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://freevoip.gedameurope.com (Free Asterisk Voip Community) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
On Thu, 10 Nov 2005, Matt Riddell wrote:>>>> Jason Pyeron wrote: >>>> >>>>> without >>>>> restarting * how can I purge only 400b? > > I.E. remove it, reload Asterisk, re add it, reload again.That really falls under not restarting Asterisk, but thanks. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Partner & Sr. Manager 7 West 24th Street #100 - - +1 (443) 269-1555 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited.
Eric "ManxPower" Wieling
2005-Nov-09 17:20 UTC
[Asterisk-Users] force to expire a sip registration
Jason Pyeron wrote:> On Thu, 10 Nov 2005, Matt Riddell wrote: > >>>>> Jason Pyeron wrote: >>>>> >>>>>> without >>>>>> restarting * how can I purge only 400b? >> >> >> I.E. remove it, reload Asterisk, re add it, reload again. > > > That really falls under not restarting Asterisk, but thanks. >Um, a reload is not a restart. A restart terminates active calls, a reload does not.