On Mon, Aug 31, 2009 at 11:14 AM, Daniel-Constantin Mierla <
miconda(a)gmail.com> wrote:
Hello,
On 30.08.2009 11:39 Uhr, liran tal wrote:
Hey list,
Due to technical reasons we are running openser1.0.1 on a tiny embedded
system.
this is quite old version. The devel guide was written for 1.4.x. It is
recommended that you upgrade. IIRC, PV framewark for cfg file was introduced
in 1.1.x. In 1.0 you have to work with avps.
Indeed. Going through the available devel guide which is provided at
Kamailio's
website, it mentions the use of the pv_export
structure, which by a quick search through the 1.0.1 code-base it isn't
found.
I am willing to work with avps if you could provide a working example, as
the examples I tried from the modules documentation
do not work, the config file doesn't reject them but as soon as the daemon
is running it exists due to an error in avpops assginment
or something (I don't recall the exact error).
Is it even possible to do something like my_module_func("$tU") so that my
module gets the value of the tU PV as an argument?
Doing that, resulted in a the literal $tU being passed to my function.
I tried kamailio's 1.5.2 cross-compilation for my embedded target machine
but the binary alone of opensips resulted in 3.2mb of size,
while openser's1.0.1 version was something more realistic, along the lines
of 900kb.
Regards,
Liran.