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

Iñaki Baz Castillo ibc at aliax.net
Fri Mar 20 12:04:53 CET 2009


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.



-- 
Iñaki Baz Castillo




More information about the sr-users mailing list