[OpenSER-Devel] Should fixup functons be moved co core?

Henning Westerholt henning.westerholt at 1und1.de
Mon Apr 21 11:31:08 CEST 2008


On Saturday 19 April 2008, Peter Lemenkov wrote:
> Just wondering why every module developer needs to create its own
> realization of fixup functions for variables transforming?
>
> IMHO we need generic fixup functions sitting in the core of openser.
> Modules should deal with variables values rather than with their
> symbolic names.
>
> Maybe I'm missing some but at the glance view looks like there is a
> lot of duplicated work concerned with pseudo-variables in many
> modules.

Hi Peter,

you're right with regards to the duplicated code. The generic fixup functions 
were only recently introduced, so that every module created before that has 
implemented their own set of functions. Any help in conversion to this 'new' 
infrastructure is of course appreciated. :-)

Cheers,

Henning



More information about the Devel mailing list