Hi Guys,
I'm just stuck in with something with uri table.
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
to alias `From` user. This increase db load .
Is there way that we can turn off realm checking in check_from () when
modparam("uri_db", "use_uri_table", 1) ?
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 ?
If I don't have both entires as below , If the Customer uses IP or DNS the
check_from check_to fail :(
+----+----------+---------------+----------+---------------------+
| id | username | domain | uri_user | last_modified |
+----+----------+---------------+----------+---------------------+
| 1 | 1001 | 192.168.102.5 | 1001 | 2012-01-09 17:21:42 |
| 4 | 1001 | voip.somewhere.com | 1001 | 2012-01-09 17:36:32 |
+----+----------+---------------+----------+---------------------+
I tried using replace_all(re,txt) but it didn't work.
any suggestions would be appreciated
Regards,
Pasan
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users