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.