[OpenSER-Users] Dialog table "state" value

Stanisław Pitucha stanis at gradwell.net
Sun Jun 8 22:47:38 CEST 2008


----- "David Villasmil" <david.villasmil.work at gmail.com> napisał:
> Although I've looked and looked for any info on the different values
> of the "state" column of the dialog table, I can't find it anywhere,
> What does it mean?

>From branches/1.3/modules/dialog/dlg_hash.h:
#define DLG_STATE_UNCONFIRMED  1
#define DLG_STATE_EARLY        2
#define DLG_STATE_CONFIRMED_NA 3
#define DLG_STATE_CONFIRMED    4
#define DLG_STATE_DELETED      5

Unconfirmed means that only INVITE was sent.
Early - after any 1XX response
Confirmed_na - after 2XX
Confirmed - after ACK response
after errors (or BYE) state switches to deleted.

At least that's what I understood from source and observing database...

Stan




More information about the Users mailing list