No subject


Tue Apr 21 11:07:35 CEST 2009


dialog-matching can also be done using rfc dialog-matching instead of
the did parameter in record-route (modparam("dialog",
"dlg_match_mode", 2)). This is what I am trying to use, I don't want
to use the record-route header at all.



2009/5/27 Alex Balashov <abalashov at evaristesys.com>:
> 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 fla=
g
> for the purpose of indicating to Kamailio that the dialog the current INV=
ITE
> 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 dia=
log
> module.
>
> =A0 modparam("dialog", "dlg_flag", 4)
>
> =A0 route {
> =A0 =A0 =A0 ...
>
> =A0 =A0 =A0 # Process initial INVITE.
>
> =A0 =A0 =A0 if(is_method("INVITE")) {
> =A0 =A0 =A0 =A0 =A0...
>
> =A0 =A0 =A0 =A0 =A0setflag(4); =A0# Track this dialog.
>
> =A0 =A0 =A0 }
>
> =A0 }
>
>
>
> --
> Alex Balashov
> Evariste Systems
> Web =A0 =A0: http://www.evaristesys.com/
> Tel =A0 =A0: (+1) (678) 954-0670
> Direct : (+1) (678) 954-0671
> Mobile : (+1) (678) 237-1775
>



More information about the Users mailing list