@nicoonline - my hints were about adding debugging messages in the code, catch the traffic sip traffic to try to reproduce, ... when the line listed above is executed, the r-uri is no longer available, so it has to be figured out what changes it before.