Call_control depends on pv, but it's not documented in the README
0(70806) ERROR: <core> [pvapi.c:790]: pv_parse_spec2(): error searching pvar "avp" 0(70806) ERROR: <core> [pvapi.c:994]: pv_parse_spec2(): wrong char [s/115] in [$avp(s:can_uri)] at [5 (5)] 0(70806) : call_control [call_control.c:1076]: mod_init(): invalid AVP specification for canonical_uri_avp: `$avp(s:can_uri)' 0(70806) ERROR: <core> [sr_module.c:945]: init_mod(): Error while initializing module call_control
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/36
We had several discussions in the past about use of variables from other modules and somehow it cannot be solved generally. Maybe this module works with avps only, but others accept any kind of variable that can be from all over.
Being documentation, feel free to add whatever you consider it will help, but I don't think there has to be a bug report -- think that some module parameter accepts r/w variables such as avp, sht, memcache, redis, a.s.o., listing all of them will be confusing and I am sure in the future there will be new writable variables from other modules.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/36#issuecomment-70427792
On 18 Jan 2015, at 22:48, Daniel-Constantin Mierla notifications@github.com wrote:
We had several discussions in the past about use of variables from other modules and somehow it cannot be solved generally. Maybe this module works with avps only, but others accept any kind of variable that can be from all over.
Being documentation, feel free to add whatever you consider it will help, but I don't think there has to be a bug report -- think that some module parameter accepts r/w variables such as avp, sht, memcache, redis, a.s.o., listing all of them will be confusing and I am sure in the future there will be new writable variables from other modules.
Accepting all kind of variables is one thing.
Not being able to load a module without another module I think needs to be documented.
/O
That can be a matter of what a modparam is set to -- I don't think listing all modules exporting pvs is any worth to have in a readme.
Anyhow, as said, feel free to add to documentation what you feel it will help. But filling bugs on the tracker for this kind of dependencies is not the way to go, also given that adding the note in xml docs is probably faster than adding to the bug tracker.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/36#issuecomment-70454271
Closed #36.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/36#event-220804345