<pre><code>(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}
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/301#issuecomment-134565668">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZVSnKtTU-ny1lVyLCaEQz2n1HGouks5orFJ4gaJpZM4Fxkx6.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/301#issuecomment-134565668"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>