El Monday 19 November 2007 15:37:19 Daniel escribió:
Hi all, I have a question: in this scenario
route(1) { ..... ...... lookup ("location"); cpl_run_script("incoming", "force_stateful"); .... ... }
is the location (R-URI address), re-writed by the "lookup" function, part of the CPL locations set ? Or CPL doesn't care about this and it see the locations set empty?
cpl_run_script("incoming") means that it will look for the URI of the RURI, so if you do a "lookup" before it will try to look for a entry in "cpl" table with username - domain = rU - IP_contact, that probably if now what you want.
You can test it by monitorizing DB's queries.