[Kamailio-Users] ACKed dialog remains in state 3 instead of 4

Alex Balashov abalashov at evaristesys.com
Wed May 27 16:38:41 CEST 2009


Catalina,

Unless I am missing something, dlg_manage() does not allow you to avoid 
setting Record-Route; how else will the endpoints know to send 
sequential messages through the proxy once the dialog is established?

The purpose of dlg_manage() is to provide an alternative to setting a 
flag for the purpose of indicating to Kamailio that the dialog the 
current INVITE seeks to establish should be statefully tracked and 
exposed to additional user-defined dialog module functionality 
(profiles, statistics, etc.) and other module functionality relying on 
internal API callbacks from the dialog module.

    modparam("dialog", "dlg_flag", 4)

    route {
        ...

        # Process initial INVITE.

        if(is_method("INVITE")) {
           ...

           setflag(4);  # Track this dialog.

        }

    }



-- 
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (678) 237-1775




More information about the sr-users mailing list