<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div>I apologize for asking unit questions today and decided to just present the big picture and address what I am trying to get @ holistically.</div><div><br></div><div>I want to implement a custom LCR only solution on kamailio. INVITE in 300 out. Nothing else. I expect awesome cps stats that makes we lean towards kamailio rather than throwing up a home grown SIP server and worrying about performance.  </div><div><br></div><div>I have the guts of the LCR logic down pat, but todays its manual. In my process I do the following :</div><div><ol><li>Check LRN of the requested user. I use dig doing a ENUM call.  </li><li>Use the requesting user and LRN of requested user to mediate call type. Local or Interstate using LRN check via ENUM call (above) and LCAD data lookup. I use sql query. </li><li>Mediate call type Intrastate or International if not <span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px;">Local or Interstate using LERG lookup. SQL query too. </span></span></li><li>dip into database with requesting user and call type and get N lists by costs ascending. SQL query. </li><li>Construct Contact info in db or kamailio. </li><li>Send 300 reply will contact having the various routes. </li></ol> I can automate 2 through 6 using Kamailio. Basically xquery with supplied data and deal with the Contact header with data received. 404 or default route if no data received.<br></div><div><br></div><div>I cannot handle the ENUM in kamailio or mysql. The provider does not provide SIP redirect. </div><div><br></div><div>What are my options, besides changing LRN providers?</div><div><br></div><div>KD </div><div> </div></div></body></html>