[Kamailio-Devel] Usage of mod_fix.c
Daniel-Constantin Mierla
miconda at gmail.com
Tue Jan 6 23:34:32 CET 2009
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.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com
More information about the Devel
mailing list