On Wed, 2008-05-21 at 15:36 -0300, Carlos Henrique Romano wrote:
> Hello,
> 
> Is it right to use the registration.xml file to get the peers
> currently registered?

Depends on what you're using them for ...

> I'm using this file as base for a listing of registered peers but sipx
> doesn't seems to update it when a peer is unregistered, does someone
> knows why is it that way or if there is another alternative to get
> these peers?

That file is updated approximately every 20 seconds.  In order to
interpret it correctly, you have to look at the expiration timestamp on
each registration - if the timestamp is in the past, then that
registration is not in effect (they are kept for some time to prevent
certain re-ordering problems).

-- 
Scott Lawrence  tel:+1.781.229.0533;ext=162 or sip:[EMAIL PROTECTED]
  sipXecs project coordinator - SIPfoundry http://www.sipfoundry.org/sipXecs
  CTO, Voice Solutions   - Bluesocket Inc. http://www.bluesocket.com/ 
                                           http://www.pingtel.com/

_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users

Reply via email to