<div class="gmail_quote">Hello friends,<div>I am trying to deeply integrate asterisk cdr with voipmonitor cdr. I can access the caller Call ID (fbasename field in voipmonitor cdr table) looking at the SIPCALLID variable in asterisk, but how can I access from within asterisk the Call ID of the second leg of the call (the one originating from asterisk to the destination peer)? is there a variable holding this value?</div>

<div><br></div><div>Thank you</div><div><br></div><div>Leandro</div></div>