VERY cool, Daniel! Thank you!
/O
On 19 Apr 2015, at 21:37, Daniel-Constantin Mierla miconda@gmail.com wrote:
+4.6. xavp_params_explode(sparams, xname)
- Convert a parameters string in xavp atributes.
- The first parameter has to be a string in the format of SIP header
- parameters (name1=value1;...;nameN=valueN). The second parameter is the
- name of the root xavp to hold the pairs (nameX,valueX).
- The values are stored as string type.
- Function can be used from ANY ROUTE.
- Example 1.9. xavp_params_explode usage
+... +xavp_params_explode("a=b;c=d;e=d", "x"); +# results in: +# $xavp(x=>a) = "b"; +# $xavp(x=>c) = "d"; +# $xavp(x=>e) = "f";