[asterisk-users] Force sip peers to re register

Danny Nicholas danny at debsinc.com
Mon Mar 5 08:29:59 CST 2012


If you really want to be "big brother" just run this script when the
failover occurs:
for a in `asterisk -rx "sip show peers"|cut -f1 -d/` ;do asterisk -rx  "sip
nofify polycom-check-conf $a";done
This will cause each of your polycom sip peers to reset.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Guy Gold
Sent: Sunday, March 04, 2012 3:37 PM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] Force sip peers to re register

I second Eric's opinion, Polycom are like the Borg, (I hope I spelled it
right). The fact that you have 100's of units deployed should only help you
out,when it comes to Polycom. 

On Sun,Mar 04 03:24:PM, Eric Wieling wrote:
> You should be able to configure the Polycom phones to failover/failback
more quickly.  Check the Admin Guide.
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com 
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Alex 
> Balashov
> Sent: Sunday, March 04, 2012 2:52 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Cc: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Force sip peers to re register
> 
> No, only endpoints decide when to retry registration attempts.  If the
registration info is your only means of knowing how to reach those peers
from Asterisk, and that information is still valid at a given time, it
wouldn't make much sense to force them to reregister, would it? :-) And if
the information is invalid, you have no means of reaching them for the
purpose of executing such a remote trigger, even if it did exist.  
> 
> The only thing you can do is lower the  registration interval Asterisk
asks of the phones.
> 
> --
> 
> On Mar 4, 2012, at 2:15 PM, research at businesstz.com wrote:
> 
> > I have hundreds of sip endpoints (mostly polycom) which i would like 
> > to immediate request them to reregister when we failover/fallback to 
> > the standby server.
> > 
> > However it takes so long and i would like to know if there is a 
> > command to force all sip peers to attempt registration.
> > 
> > I have tried both 'service asterisk restart' and 'reload' in vain. 
> > IP phones can be accessed at that time but no registration happen.
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- 
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to
Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list