i'm thinking of extending domain module to support domain attributes.
the idea is that domain_reload would also load domain's attributes to
memory, where they can be accessed fast without db operations. when
is_domain_local(domain) is called, attributes of the domain would get
automatically loaded into avps.
if people consider this worth implementing, the next question is, where
in the db domain attributes would be stored. it might be possible to
use avpops usr_preferences table, but it contains fields uuid and
username that are not relevant for domain attributes. perhaps a special
uuid and/or username value could be used to denote that the record
defines a domain attribute? if not, a new table would need to be
created, which might be cleaner anyway.
any comments or better ideas on this?
-- juha
Hi!
Today I moved osp module into "modules". Now it does not compile any
more because it links against rr and auth module, but there is no rr
auth in "modules" yet. Should I just change it to include rr and auth
from "modules_k" or should I move it back to "modules_k" directory?
regards
Klaus
Module: sip-router
Branch: master
Commit: d738d2a722446d1606a420da16d381f3fd93d8cb
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d738d2a…
Author: Klaus Darilion <klaus.mailinglists(a)pernau.at>
Committer: Klaus Darilion <klaus.mailinglists(a)pernau.at>
Date: Fri Jul 3 15:06:53 2009 +0200
Merge branch 'master' of ssh://git.sip-router.org/sip-router
* 'master' of ssh://git.sip-router.org/sip-router:
mangler(s): fixed missing var. definitions
test: fix test 13, avp name for domain
core: add openser database URL for compatibility, used with OPENSER_MOD_INTERFACE
test: fix ctl and dbctl script path after import
---
Hello,
i am thinking of updating the prototype from:
int run_top_route(struct action* a, sip_msg_t* msg)
to:
int run_top_route(struct action* a, sip_msg_t* msg, struct run_act_ctx *h)
to be able to access to action context from calling function (useful to
check run_flags for example when calling event_route). If h is null,
then local declared context is to used, like now.
I will update all invocations, if there is nothing against.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com/
Hi!
ERROR: load_module: could not open module
</usr/local/lib/ser/modules_s/mangler.so>:
/usr/local/lib/ser/modules_s/mangler.so: undefined symbol: ipExpression
0(27260) : <core> [cfg.y:3017]: parse error in config file, line 103,
column 12-33: failed to load module
mangler uses an external global variable
sdp_mangler.h:extern regex_t *ipExpression;
which is nowhere defined.
regards
Klaus