<div dir="ltr"><br><div><div>Hello,</div><div><br></div><div>Something I've been wondering about meddling with sip uris with Kamailio: </div><div><br></div><div>I know it's possible to translate between a number prefix and a domain using PDT, but is this possible: Having a numeric or alphanumeric value stored in db, associated to a domain and appended to / removed from a number during processing a sip message? </div><div><br></div><div>For example <a href="mailto:112222333@mydomain.com">112222333@mydomain.com</a> --> <a href="mailto:333.5555@mydomain.com">333.5555@mydomain.com</a> where value 5555 and <a href="http://mydomain.com">mydomain.com</a> are associated to one another in db somewhere. In this example I could have a pdt with prefix 112222 and domain <a href="http://mydomain.com">mydomain.com</a>, but the value 5555 should be stored somewhere as well.</div><div><br></div><div>So one part is to find a db table suitable for storing a value and associating it with a domain, and the other part is to change the sip uris.</div><div><br></div><div>I'll appreciate any comments!</div><div><br></div><div>cheers,</div><div>Olli</div></div></div>