``` (gdb) p *cell->vars $5 = {key = {s = 0x7f3b3c43e7c8 "answer_time", len = 11}, value = { s = 0x7f3b3c553ea0 "1440488615.120", len = 14}, vflags = 0, next = 0x7f3b3c35c678} (gdb) set $p=cell->vars->next (gdb) while ($p != 0)
p *$p set $p=$p->next end
$6 = {key = {s = 0x7f3b3c4064f0 "calling_number", len = 14}, value = { s = 0x7f3b3c5950e0 "0312341234mber", len = 10}, vflags = 0, next = 0x7f3b3c8e09e8} $7 = {key = {s = 0x7f3b3c7f4be8 "destination", len = 11}, value = { s = 0x7f3b3c2d0710 "09011112222086", len = 11}, vflags = 0, next = 0x7f3b3c22fc80} $8 = {key = {s = 0x7f3b3c407cc0 "caller_username", len = 15}, value = { s = 0x7f3b3c2e5f68 "user1\002", len = 5}, vflags = 0, next = 0x7f3b3c1fd168} $9 = {key = {s = 0x7f3b3c1be160 "caller_domain", len = 13}, value = { s = 0x7f3b3c1baf28 "test1.comon", len = 9}, vflags = 0, next = 0x7f3b3c4984f8} $10 = {key = {s = 0x7f3b3c4ddd70 "start_time", len = 10}, value = { s = 0x7f3b3c331790 "1440488616", len = 10}, vflags = 0, next = 0x0} ```
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/301#issuecomment-134565668