[SR-Users] set_dlg_profile not working?

Ricardo Martinez rmartinez at redvoiss.net
Wed Jan 12 15:45:54 CET 2011


Timo.
I'm asking, because in a previous test with Kamailio 1.5 I never used
dlg_manage() and I was sure it was working that time.
So.. anyway.. I used dlg_manage() before the
"set_dlg_profile("gws","$rd")" and now it is working ok.

If I wanted to do the same but with the flags, how can this be done?

Thanks
Ricardo.-

-----Mensaje original-----
De: sr-users-bounces at lists.sip-router.org
[mailto:sr-users-bounces at lists.sip-router.org] En nombre de Timo Reimann
Enviado el: miércoles, 12 de enero de 2011 11:11
Para: Ricardo Martinez
CC: sr-users at lists.sip-router.org
Asunto: Re: [SR-Users] set_dlg_profile not working?

Hi Ricardo,


On 12.01.2011 13:38, Ricardo Martinez wrote:
> I'm using the kamailio versión 3.1.0.
>
> The profile gws is a "profile with_values"
>
> # ---- dialog params ------
> modparam("dialog", "dlg_flag", 4)
> modparam("dialog", "profiles_with_value", "gws")
>
>
> I'm not using the last two parameters that you mention.  Could you guide
> me on how to use them?

dlg_manage() allows you to track the dialog currently being processed,
i.e., on-demand dialog tacking. However, since you have already defined
flag 4 as dialog flag, you don't need dlg_manage(): It's supposed to
happen automatically for all calls.

This requires enabling the configured flag (4 in your case) though. Have
you done so prior to assigning the call to the profile?


Cheers,

--Timo

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



More information about the sr-users mailing list