[Asterisk-Users] Realtime / SIP Peers etc
Douglas Garstang
dgarstang at oneeighty.com
Wed Mar 22 08:59:08 MST 2006
> -----Original Message-----
> From: Olle E Johansson [mailto:oej at edvina.net]
> Sent: Wednesday, March 22, 2006 8:41 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] Realtime / SIP Peers etc
>
>
>
> 22 mar 2006 kl. 15.02 skrev Andrew Kohlsmith:
>
> > On Wednesday 22 March 2006 08:34, Olle E Johansson wrote:
> >>> 4. WHY then does a reload clear this list? Doesn't this list come
> >>> from the astdb file?
> >>
> >> I explained this in the bug tracker.
> >>
> >> Reload clears everything but registered static peers, these are re-
> >> configured from astdb.
> >> We do not support this for realtime peers.
> >
> > I have to agree with Douglas here -- why make the distinction? I
> > don't
> > understand it. Peers are peers, whether they come from a
> flat file
> > or from a
> > DB. If a reload is performed, it should clear the entire
> > registered list, or
> > none of it.
>
> That would mean that we would have to go through each entry in the
> realtime database at load time (or reload) and reconfigure the peers.
> Is that something you want your asterisk to do? Considering this can
> be 10.000 peers.
>
> >
> > Your explanation in the bugtracker didn't make sense as to
> why one is
> > considered static or "more permanent" than the other. Peers are
> > (or rather
> > should be) peers, no matter where they come from. Is this
> the plan
> > with your
> > sip3 work?
> >
> Static peers are static peers and dynamic peers are dynamic,
> regardless of
> storage.
>
> This is the way the dynamic peers work. They're not meant to occupy
> memory.
> If you need the properties of a static peer - why don't configure
> them that way?
I'm not sure I'm talking about the same thing, but if this is true, it may clear a few things up.
Firstly, from what I've been told my Kevin Fleming on this list, and by calling Digium directly, support for multiple Asterisk systems accessing the same MySQL database for sip user/peer information, does not exist. Digium told me they where aware of it, and it would probably take a single person the better part of a year to fix.
Given that, I wanted to use realtime to load and cache the peer information, and that's it. If Asterisk has to refer to the database each time a peer registers, it just plain doesn't work!
>
> /O
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> 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