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@gmail.com wrote:
Module: kamailio Branch: master Commit: 573a56676ac11671468903a83efdfbbe6fb0dff0 URL: https://github.com/kamailio/kamailio/commit/573a56676ac11671468903a83efdfbbe...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@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/573a56676ac11671468903a83efdfbbe... Patch: https://github.com/kamailio/kamailio/commit/573a56676ac11671468903a83efdfbbe...
Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev