<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt"><div><span class="tab"></span>Hi Guys,</div><div><br></div><div><br></div><div>I'm just stuck in with something with uri table. <br></div><div><br></div><div><br></div><div>I have different DNS entries and people use server IP as well therefore I have to have duplicate entries in uri table if I need</div><div>to alias `From` user. This increase db load . <br></div><div><br></div><div>Is there way that we can turn off realm checking in check_from () when modparam("uri_db", "use_uri_table", 1) ?</div><div><br></div><div>Or else is there a way I can replace realm part of a Digest Header to a common string so that I can have single entry in uri table ?<br></div><div><br></div><div>If I don't have both entires as below , If the Customer uses IP or DNS the check_from check_to fail
 :(</div><div><br></div>+----+----------+---------------+----------+---------------------+<br><div>| id | username | domain&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | uri_user | last_modified&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>+----+----------+---------------+----------+---------------------+<br>|&nbsp; 1 | 1001&nbsp;&nbsp;&nbsp;&nbsp; | 192.168.102.5 | 1001 &nbsp;&nbsp;&nbsp; | 2012-01-09 17:21:42 |<br>|&nbsp; 4 | 1001&nbsp;&nbsp;&nbsp;&nbsp; | voip.somewhere.com | 1001&nbsp;&nbsp;&nbsp;&nbsp; | 2012-01-09 17:36:32 |<br>+----+----------+---------------+----------+---------------------+<br></div><div><br>
</div>
<div>I tried using replace_all(re,txt) but it didn't work.</div><div><br></div><div><br></div><div>any suggestions would be appreciated</div><div><br></div><div><br></div><div><br></div><div>Regards,</div><div>Pasan<br>
</div>
</div></body></html>