Hello,

 

 

I’m trying to use xavu as described in Kamailio documentation:

 

https://www.kamailio.org/wiki/cookbooks/5.4.x/pseudovariables#xavu_id_-_xavus

 

$xavu(a=>b) = "xyz"; # <- two level naming supported

However, this does not seem to work. The second level is ignored.

When calling pv_xavu_print() it only shows the last element set, e.g.:

 

 

$xavu(cdru=>one) = "one" ;

$xavu(cdru=>two) = "two" ;

pv_xavu_print() ;

 

 

Result:

 

11(14989) INFO: {1 1 INVITE 7rc2rGgOYS56zDqN} <core> [core/xavp.c:592]: xavx_print_list_content():      *** (l:0 - 0x7f217c55eab8) XAVU name: cdru

11(14989) INFO: {1 1 INVITE 7rc2rGgOYS56zDqN} <core> [core/xavp.c:593]: xavx_print_list_content():      XAVU id: 1863997055

11(14989) INFO: {1 1 INVITE 7rc2rGgOYS56zDqN} <core> [core/xavp.c:594]: xavx_print_list_content():      XAVU value type: 2

11(14989) INFO: {1 1 INVITE 7rc2rGgOYS56zDqN} <core> [core/xavp.c:603]: xavx_print_list_content():      XAVU value (str): two

11(14989) INFO: {1 1 INVITE 7rc2rGgOYS56zDqN} <core> [core/xavp.c:629]: xavx_print_list_content():      *** (l:0 - 0x7f217c55eab8) end

11(14989) INFO: {1 1 INVITE 7rc2rGgOYS56zDqN} <core> [core/xavp.c:632]: xavx_print_list_content(): ----- end XAVU list: 0x7f217c55eab8 (level=0)

 

 

 

Am I missing something, or is this a bug ?

 

 

Regards,

Nicolas.

 

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.