[sr-dev] git:master:573a5667: pv: new function xavp_slist_explode("slist", "sep", "mode", "xname")

Daniel-Constantin Mierla miconda at gmail.com
Wed Oct 14 16:17:09 CEST 2020


Welcome!

Note that I just pushed a new commit changing a bit the behaviour, now
storing tokens in an xavp sublist, to keep the root list smaller. Docs
were update as well.

Cheers,
Daniel

On 14.10.20 15:57, Alex Balashov wrote:
> Very useful! Saves a lot of effort in having to do this manually all over the place. Thank you!
>
>> Sent from mobile, with due apologies for brevity and errors.
>
>> On Oct 14, 2020, at 9:56 AM, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
>>
>> Module: kamailio
>> Branch: master
>> Commit: 573a56676ac11671468903a83efdfbbe6fb0dff0
>> URL: https://github.com/kamailio/kamailio/commit/573a56676ac11671468903a83efdfbbe6fb0dff0
>>
>> Author: Daniel-Constantin Mierla <miconda at gmail.com>
>> Committer: Daniel-Constantin Mierla <miconda at gmail.com>
>> Date: 2020-10-14T15:45:08+02:00
>>
>> pv: new function xavp_slist_explode("slist", "sep", "mode", "xname")
>>
>> - break a string in tokens by separators, storing them in xavp
>>
>> ---
>>
>> Modified: src/modules/pv/pv.c
>> Modified: src/modules/pv/pv_xavp.c
>> Modified: src/modules/pv/pv_xavp.h
>>
>> ---
>>
>> Diff:  https://github.com/kamailio/kamailio/commit/573a56676ac11671468903a83efdfbbe6fb0dff0.diff
>> Patch: https://github.com/kamailio/kamailio/commit/573a56676ac11671468903a83efdfbbe6fb0dff0.patch
>>
>>
>> _______________________________________________
>> Kamailio (SER) - Development Mailing List
>> sr-dev at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
> _______________________________________________
> Kamailio (SER) - Development Mailing List
> sr-dev at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla




More information about the sr-dev mailing list