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 _______________________________________________ Devel mailing list [email protected] http://lists.kamailio.org/cgi-bin/mailman/listinfo/devel
