[asterisk-dev] IAX2 very CPU hungry
Derek Smithies
derek at indranet.co.nz
Fri Nov 24 19:17:31 MST 2006
On Fri, 24 Nov 2006, Tim Panton wrote:
>
> IAX's repeated registrations every 30 seconds are know to be expensive.
> Current thinking is to re-register much less often, but to use ping packets
> to 'qualify' the link, which is more like SIP's standard method.
Why are the registrations expensive ?
Does that suggest a bug in asterisk in handling registrations?
Can this code be made more efficient?
Actually - there is a denial of service attack. I will adjust the iax2 to
send a registration every second, not every 30 seconds.
A couple of calls doing that will make the server quite busy.
Derek.
--
Derek Smithies Ph.D.
IndraNet Technologies Ltd.
Email: derek at indranet.co.nz
ph +64 3 365 6485
Web: http://www.indranet-technologies.com/
More information about the asterisk-dev
mailing list