I've got this route, but openser is not finding the user, I get the call as 7777XXXXXXX. So i strip 4 digits and do a lookup, the user IS online but openser says it can't find him... Could it be that openser is not striping right?


               if (uri=~"^sip:7777"){
                    xlog("L_NOTICE", "\n************** GOT CALL FOR IN-SITE ('$tu') ************\n");
                    strip(4);
                    xlog("L_NOTICE", "\n************** Changing dialed number (Removing 7777) ('$tu') **************\n");


                    if (!lookup("location")) {
                         sl_send_reply("404", "User Not Online! (In 7777 route)");
                         exit;
                    };
                    route(1);
               }


thanks

d