[asterisk-dev] Re: chan_sip - performance, and OPTIONS poking for 1000s of peers

Johansson Olle E olle at voop.com
Mon Nov 27 09:29:09 MST 2006


27 nov 2006 kl. 16.39 skrev Eric ManxPower Wieling:

> Ryan Mitchell wrote:
>> Good point, thanks.  rand() w/o locking is fine, I was just
>> copying-and-pasting w/o thinking.
>>> Would this code get run for each OPTION packet sent? If so,  
>>> perhaps a
>>> less expensive random function could be found. Or maybe
>>> thread_safe_rand is already cheap enough, it just seems overkill for
>>> something with such a low requirement for randomness quality.
>
> Whatever is done it would be VERY nice to have qualify smoothing in  
> SIP similar to the way it is done in IAX2.

Why do I suddenly think of a canadian with red jacket and a funny  
hat, Leif?

/O ;-)


More information about the asterisk-dev mailing list