[asterisk-dev] realtime, rtcachefriends/rtupdate, qualify and hints interaction
Ron Arts
ron.arts at netland.nl
Wed Mar 10 07:01:10 CST 2010
Hi,
I am planning on writing a patch to refresh the realtime cache
after a sip reload, but maybe I'm doing the wrong thing here.
I'm using realtime for sippeers and sipregs, and hints.
rtcachefriends and rtupdate are enabled. asterisk 1.6.2.
Every time someone does a reload, the sip show peers table
is entirely empty, as soon as a phone registers that phone shows up
again. But during the time it's not in the cache, qualifying
doesn't happen.
Also subscribing to hints does not work from that phone, because
asterisk throws a forbidden (policy) error as soon as the SUBSCRIBE
arrives, supposedly because it can't find a registration.
I don't want to set all phones to reregister every minute, because that
would generate too much traffic with over a thousands registrations.
Now. What I'd like to do is:
1. ensure that a SUBSCRIBE message from a phone fills the realtime
cache, so the subscribe succeeds
2. somehow ensure that after a sip reload the entire cache is refreshed
so that qualifying keeps happening.
Is this stupid for some reason? Did I miss something?
Thanks,
Ron
--
Netland Internet Services BV
bedrijfsmatige internetoplossingen
http://www.netland.nl Science Park 140 1098 XG Amsterdam
info: 020-5628282 servicedesk: 020-5628282 fax: 020-5628281
KvK Amsterdam 33253286
Op dit bericht is de volgende disclaimer van toepassing:
http://www.netland.nl/maildisclaimer
More information about the asterisk-dev
mailing list