[Kamailio-Devel] Usage of mod_fix.c

Iñaki Baz Castillo ibc at aliax.net
Tue Jan 6 23:45:28 CET 2009


El Martes, 6 de Enero de 2009, Daniel-Constantin Mierla escribió:
> On 01/07/09 00:30, Daniel-Constantin Mierla wrote:
> > Hello,
> >
> > On 01/06/09 23:49, Iñaki Baz Castillo wrote:
> >> Hi, which function of mod_fix.c is required for a scritpting function
> >> with just one argument that could be a string, AVP or pseudo-variable?
> >
> > there is one for static string (simply text) and dynamic string (text
> > and pseudo-variables - this can be a single pseudo-variable as well):
> >
> > fixup_spve_null(...)
>
> and you can use fixup_get_svalue(...) to get the value of the parameter
> as string at runtime ... you can check append_to_reply() from textops
> module for an example of usage.

Ok, thanks a lot.


-- 
Iñaki Baz Castillo



More information about the Devel mailing list