title: Kamailio routing from DID to user
body: <p>I am working in scenario where External DID is mapped for a specific internet User account in Kamailio, which is stored in a MySQL table. I am able to receive Invite from DID provider and able to find the local User from DB through Kamailio DBOPS module. </p>
  
  <p>We have external DIDs for each local User account.</p>
  
  <p>Does this thing shall work as I want </p>
  
  <pre><code>$ru = "sip:" + $dbr(ra=&gt;[0,0]) + "@" + $td  ;
  </code></pre>
  
  <p>Please help.</p>