[asterisk-dev] The New CDR system

zoachien at securax.org zoachien at securax.org
Fri Mar 30 15:25:37 MST 2007

In addition to my last post, is asterisk capable of handling an IAX2 
packet if the previous one was not processed yet ? (Lets say the XML 
packet would cause some delay because it needs processing like storing 
on the receiving asterisk's database server, would this block the other 
packets from coming in ? - i think the current IAX2 realtime patch with 
some multithreading is not done very well yet in that aspect yet - i've 
heard replies that it still causes issues.)


Russell Bryant wrote:
> Steve Edwards wrote:
>> However, you are mixing "very-real-time" traffic with 
>> "not-quite-so-real-time" traffic. A database query that takes another 
>> 500msec is usually not a show stopper.
> Um, I don't think so.  I never made any reference to how long the 
> logging itself takes.
>> Also, IAX is UDP and database connections are (usually?) TCP. How do 
>> you see resolving this?
> Well, I don't see this as an issue at all.  IAX is just the transport 
> for the event.  Once the event makes it to the remote server, it would 
> be handled just as if the event had originated on the local machine.
> As far as the concert about reliability goes, the events would be sent 
> as IAX2 full frames, so the reliability is built-in to the protocol 
> itself.  IAX2 handles retransmissions and all that good stuff on full 
> frames, but not on media frames (mini-frames and meta-frames).

More information about the asterisk-dev mailing list