Obtain SIP From and To Tag for CDR

Home » Asterisk Users » Obtain SIP From and To Tag for CDR
Asterisk Users No Comments

List,

I’m trying to obtain the Call ID, From tag and To tag of the SIP calls from
Asterisk, to store them on a CDR and be able to conciliate with another CDR
system ( opensips )

I have been able to obtain the SIP Call ID CDR(sip_callid)=${SIPCALLID}

I was wondering if there’s any way to obtain the From and to tag.

Asterisk 1.6.2.9 and 1.8.5rc1

Thanks,