I do wonder if this [relatively new] setting is relevant:
http://kamailio.org/docs/modules/4.1.x/modules/dialog.html#idp1930160
We don't have it set.
Since the default value of this is '1', it makes me wonder if, in the olden days, when one used a flag, it was inconsequential to mess with profile affinity prior to t_relay(), and now it is consequential because the callbacks are run immediately?
On 03/11/2014 01:44 PM, Alex Balashov wrote:
We appear to have fixed this problem by calling dlg_manage() before doing any set_dlg_profile() manipulations.
The documentation is not clear on whether dlg_manage() needs to be called first before doing this. But it makes me wonder: if dlg_manage() is prerequisite, then why would the profile manipulation work at all beforehand?