[asterisk-users] Realtime SIP peers - reloading cached info

Atis Lezdins atis at iq-labs.net
Tue Feb 12 21:33:16 CST 2008


On 2/13/08, Rob Hillis <rob at hillis.dyndns.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Atis Lezdins wrote:
> | By RealTimeUpdate do you mean func_realtime? It shouldn't care, as
> | cache is not implemented in realtime level, but higher (chan_sip).
> |
> | Are you sure you need "sip show XXX load". If you "sip prune" peer
> | data, it should be re-loaded on next access.
> |
> | What i was suggesting - to dig into chan_sip and create dialplan
> | application SipPrune(peer) that would prune the peer directly, by
> | using corresponding function - sip_prune_peer() in chan_sip.c - that
> | way you will gain some extra performance, as there's no manager/cli
> | overhead.
> |
> | However if you're uncomfortable with C, the app_system shouldn't cause
> | any troubles :)
>
> RealTimeUpdate is more likely to correspond to app_realtime rather than
> func_realtime.

As to my knowledge - that is obsolete and being removed in 1.6,
func_realtime replaces it. That's why i wondered about name -  I just
never happened to use it :)

Regards,
Atis


-- 
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835



More information about the asterisk-users mailing list