On 08/01/2012 08:12 PM, Ananth Kollipara wrote:
Which module does dynamic routing?
Lots of modules do various kinds of dynamic routing: drouting, lcr, dialplan, etc.
But, they're rather formulaic. If you're after something custom, just do it yourself using your TimesTen DB, db_unixodbc, and the sqlops module, which allows custom SQL queries and interactions:
http://www.kamailio.org/docs/modules/3.3.x/modules_k/sqlops.html
And, sending 302 redirects with the desired Contact header is very easy:
append_to_reply("Contact: sip:...\r\n"); sl_send_reply("302", "Moved Temporarily");
-- Alex