Hello, if you are looking to print the content to syslog for troubleshooting, then there is pv_xapv_print().
Cheers, Daniel On 20.01.20 23:07, Ovidiu Sas wrote: > 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)? > > Thanks, > Ovidiu > > _______________________________________________ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - March 9-11, 2020, Berlin - www.asipto.com Kamailio World Conference - April 27-29, 2020, in Berlin -- www.kamailioworld.com _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users