<br>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?<br>
<br><br> if (uri=~"^sip:7777"){<br> xlog("L_NOTICE", "\n************** GOT CALL FOR IN-SITE ('$tu') ************\n");<br> strip(4);<br>
xlog("L_NOTICE", "\n************** Changing dialed number (Removing 7777) ('$tu') **************\n");<br><br><br> if (!lookup("location")) {<br>
sl_send_reply("404", "User Not Online! (In 7777 route)");<br> exit;<br> };<br> route(1);<br> }<br><br>
<br>thanks<br><br>d<br>