[Kamailio-Users] [dialog module] set_dlg_profile() not working?

Daniel-Constantin Mierla miconda at gmail.com
Tue Mar 24 09:55:20 CET 2009


Hello,

do you get any particular error in the syslog?

Can you try using dlg_mange() instead of setting the FLAG_DIALOG?
http://kamailio.org/docs/modules/1.5.x/dialog.html#id2531667

Cheers,
Daniel

On 03/20/2009 01:04 PM, Iñaki Baz Castillo wrote:
> Hi, perhaps I miss something but I don't get set_dlg_profile() working:
>
> ----------------
> modparam("dialog", "dlg_flag", FLAG_DIALOG)
> modparam("dialog", "dlg_match_mode", 1)
> modparam("dialog", "db_mode", 1)
> modparam("dialog", "profiles_no_value", "inbound ; outbound")
>
>
> if is_method("INVITE") {
>   setflag(FLAG_DIALOG);
>   set_dlg_profile("outbound");
>   ...
> ----------------
>
>
> But when I run "kamctl fifo  profile_list_dlgs outbound" I see nothing (the 
> dialog does appear listed in "kamctl fifo dlg_list").
>
> I've also added into the loose_route section:
>   if (is_in_profile("outbound")) {
>     xlog("L_CRIT", "*** this request belongs to an outbound call\n");
>   }
>
> This should appear when the ACK-200 arrives, also in any re-INVITE or BYE, but 
> it doesn't ¿?
>
> Do I miss something? Thanks.
>
>
>
>   

-- 
Daniel-Constantin Mierla
SIP Router Masterclass - Kamailio (OpenSER) Training
http://www.asipto.com/index.php/sip-router-masterclass/




More information about the Users mailing list