2009/7/14, Daniel-Constantin Mierla miconda@gmail.com:
If by called number you mean username in R-URI, then the value is taken from the contact address stored in location table, which was uploaded by 7000 at registration. You can try:
$rU = $oU;
after doing lookup("location"); and see if you get what you want.
Thank you for your reply Daniel! I have added $rU = $oU; after lookup("location");
It works fine from now, according to the log, invite goes out as 7002@xx.xx.xx.xx
Kind regards, Dmitri