[asterisk-dev] dialog matching

Johansson Olle E oej at edvina.net
Sun Dec 23 09:22:01 CST 2007


23 dec 2007 kl. 13.11 skrev Raj Jain:

> Olle,
>
> I think we're in agreement on what goes into computing the hash key  
> (Call-Id only) and how the collision is resolved.
>
> > Before you have an established INVITE dialog, there can be several
> > things happening and matching is a bit more loose. You can get
> > multiple 180 ringing from different devices and still not bother  
> with
> > creating multiple dialogs. You lock in when you get a 200 OK and
> > establish the dialog. If you get multiple 200 OK, you establish
> > several dialogs and kill the ones you don't want to keep.
>
> You will need to create multiple EARLY dialogs as you get multiple  
> 1XXs with different To tags. You need that state information for  
> supporting UPDATE and PRACK during early dialogs.
Well, the question here is if you really need to implement it that way  
when you have no support for PRACK and UPDATE. But I do agree that  
it's the right way forward.

/O



More information about the asterisk-dev mailing list