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

Leif Madsen leif.madsen at asteriskdocs.org
Tue Nov 28 08:08:26 MST 2006


On Monday 27 November 2006 11:29, Johansson Olle E wrote:
> 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?

Hehehe... I think because I requested (begged, pleaded, cried?) for this 
function a few months ago :)

Leif.


More information about the asterisk-dev mailing list