[SR-Users] Printing xavp

Ovidiu Sas osas at voipembedded.com
Mon Jan 20 23:07:32 CET 2020

What's the best way to print the entire content of an xavp?
The xavp_params_implode() doesn't print the entire stack of an xavp,
only the top layer:

The following code produces "c=d;e=f;"
    $xavp(x=>e) = "f";
    $xavp(x[0]=>c) = "d";
    $xavp(x[1]=>e) = "z";
    $xavp(x[1]=>c) = "y";
    xavp_params_implode("x", "$var(out)");

Is there a way to print everything inside $xavp(x)?


More information about the sr-users mailing list