Well, it only worked once... Now I am having the problem of infinite loop when routing the first INVITE of a new dialog. As if the dialog of an already hung up call is reused for new calls... I am investigating and will update this ticket with any new finding.