Hi Brett,
Brent Thomson wrote: > I've got the dialog module loaded and the dlg_flag configured: > > modparam("dialog", "dlg_flag", 4) > > > In my routing logic, I set flag 4 and call create_dialog(). Setting the flag OR calling create_dialog() is enough for having the dialog created - no need to them both. > I then use > store_dlg_value("foo", "bar") to set a dialog value and > set_dlg_flag("10") to set a dialog flag. On subsequent messages within > the same dialog, I try calling create_dialog() again which returns > false, as expected. dialog creation works only for initial requests, not for sequential one. > I can't, however, access any of the dialog vals or > flags that I set on previous messages. Am I missing something? > > > INVITE > setflag(4) > create_dialog() # returns true > store_dlg_value("foo", "bar") > set_dlg_flag("10") > > > CANCEL > create_dialog() # returns false > fetch_dlg_value("foo", "$avp(i:2)") # returns empty > is_dlg_flag_set("10") # returns false > hmm... I see your point. actually the CANCEL is not matched against the dialog at all at this point, this is why you do not get the dialog info there. But I think it should be there, so please open a bug report on the tracker and I will take care of it. Regards, Bogdan > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users