[asterisk-dev] chan_sip - performance,
and OPTIONS poking for 1000s of peers
Steve Langstaff
steve.langstaff at citel.com
Mon Nov 27 02:53:56 MST 2006
> -----Original Message-----
> From: asterisk-dev-bounces at lists.digium.com
> [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of
> Ryan Mitchell
> int to2 = DEFAULT_FREQ_OK + thread_safe_rand() % 8000 - 40000;
> peer->pokeexpire = ast_sched_add(sched, to2, sip_poke_peer_s, peer);
Shouldn't that be 4000 (so you vary +/- 4000 from the DEFAULT_FREQ_OK),
rather than 40000?
More information about the asterisk-dev
mailing list