[sr-dev] git:master:2b53f673: pv: new function xavp_params_explode(p, x)

Daniel-Constantin Mierla miconda at gmail.com
Sun Apr 19 21:53:58 CEST 2015



On 19/04/15 21:40, Alex Balashov wrote:
> Daniel,
>
> Is there any interest in a more general split-by-delimiter function that can return an array of AVPs or XAVPs, along the lines of Perl's split() or PHP's explode()?
If the substrate is that you think of implementing such function(s),
then yes, there is interest ;-). One of the clear facts is that they can
simplify the config when needing to de-serialize values from headers or
database. There are cases when some transformations are helping, but
could be at the expense of extra config complexity.
Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com




More information about the sr-dev mailing list