[sr-dev] new dialog module design: 'rejected' state

Iñaki Baz Castillo ibc at aliax.net
Wed Mar 24 14:04:25 CET 2010


2010/3/24 Timo Reimann <timo.reimann at 1und1.de>:
> Iñaki Baz Castillo wrote:
>> 2010/3/23 Timo Reimann <timo.reimann at 1und1.de>:
>>> Heya,
>>>
>>> what's the "rejected" state good for? Why is it needed now when it
>>> wasn't before?
>>
>> In the current Dailog module design, when a dialog ends (BYE) or is
>> rejected (any [3456]XX response for the INVITE) it remains in memory
>> for 3-4 seconds (due to some TM timeout).
>>
>> So consider "rejected" and "terminated" as "ireal" states since when a
>> dialog gets such states it could be inmediately removed from the list.
>
> What do you mean by "ireal"?

According to dialog specification a dialog ends when a BYE is received
(and its 200) or the initial INVITE rejected.
Anyway TM mantains the terminated transaction for a while (3-4
seconds) and the dialog associated also remains in memory (this is the
current behavior).


> So is there no difference in the handling of the two states, i.e., both
> will be deleted at the same time? If so, why are two states maintained?

Yes, it's just "informative". Note that in order to compute the status
of the dialog_in entry is required to inspect all the status of the
dialog_out entries (including those in "terminated" or "rejected"
state). After it, they can be removed of course.

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



More information about the sr-dev mailing list