Hi all
I have found another solution:
Don't use: setflag(FLT_DLG);
call dlg_manage() on every message entering request_route before trying to set dlg_vars.
On a 422 reply I now get two CDR, but that is OK as long as I have correct dlg_vars on the second almost identical call (endpoint immediately re-sending the invite with smaller session timer) which is then connected and which I need for billing.
Mit freundlichen Grüssen
-Benoît Panizzon-