Now to simulate this i have gone through all the mail chains or tutorials and anything which is available on net but till now not able to simulate the scenario successfully.
Here is the output of usr_preferences table.
i know know about usr_preferences table, but once you have got the forwarding uri from somewhere to an avp, you simply assign that to $ru and call t_relay().
-- juha