[Asterisk-Users] Store caller IP in CDR

Olle E. Johansson oej at edvina.net
Sat Mar 20 05:17:37 MST 2004


Fritz Müller wrote:

> How can I configure * to store the caller and called Party IP Address in 
> the CDR file.
Depends on the channel, not all channels are IP based.

Check the CDRuserfield - it's a free field in the CDR you set in the
dialplan or from a script.

Without knowing why you want this, I can't see an easy way to do this
in SIP, my playground. In SIP calls, the caller sometimes use one
private IP address and one public address, so you have to decide which
one you want.

Is it really the IP address you're after or the URI:s?

In chan_sip2, my playground, I've added some variables that track
call ID and the From: user. The To: User is already there.

/O



More information about the asterisk-users mailing list