On 6/6/11 5:23 PM, Iñaki Baz Castillo wrote:
2011/6/6 Iñaki Baz Castillo<i...@aliax.net>:
Thanks Daniel, please let me one question more: does the mtree module
allow setting two different tables (with maybe also different columns
names)? The function mt_match(mtree, pv, mode) seems to allow, as
first argument, the "model/table" to use, but I see no way of defining
different models, is it?
Ok, it seems that using "mtree" parameter does the job (but columns
must have same name in all the tables):

   modparam("mtree", "mtree", "name=mytable;dbtable=routes;type=0;")
yes columns names are configurable per module -- maybe in the future will be per mtree.

Meanwhile maybe you can use mysql views to get to the column names expected by mtree.

Cheers,
Daniel

--
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to