[sr-dev] new dialog module design: tm trigger for dialog management

Iñaki Baz Castillo ibc at aliax.net
Tue Apr 13 00:49:05 CEST 2010


2010/4/13 Iñaki Baz Castillo <ibc at aliax.net>:
> Unfortunatelly I'm trying to figure out this solution and now I don't like it:
>
> - Imagine there are two branches, both with 180.
> - Both share the same "dialog_id" field in "dialog_out" table.
> - Bob-1 replies 200. The second entry remains 3 seconds before being deleted.
> - But before these 3 seconds Bob-2 also replies 200.
> - Such 200 would match the second "dialog_out" entry, but then, how to
> change its dialog_id field?? In the example it must change from
> "1111a" to "1111b".
>
> Any suggestion for it? I leave it as TODO in the wiki for now.

Idea:

dflags just can be set in onreply_route (since just the responses
create a dialog). So the dialog dflags should be set for 1XX responses
and also for a 2XX response (again). This is more a workaround
however.


-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-dev mailing list