[SR-Users] How to do request URI rewrites using database tables?
Ben WIlliams
benwilliams at joobworld.com
Thu Feb 16 01:21:20 CET 2012
Hi, can someone please recommend the most appropriate modules to
rewrite R-URIs based on a database lookup table? I've read the
documentation for lcr and carrierroute but not sure if they can do
this.
In most cases it will be a simple R-URI rewrite but I also need to
rewrite based on From user.
ie
R-URI match From match new R-URI
=========== ========== =========
*97 at example.com 6[0-9]@example.com *97 at 10.0.0.1
*97 at example.com 7[0-9]@example.com *97 at 10.0.0.2
6[0-9]@example.com match any rewrite domain to 10.0.0.1
abc at example.com match any def at example.com
Thanks
Ben
More information about the sr-users
mailing list