Ticket #4406 (new Feature Requests)

Opened 3 years ago

Last modified 4 months ago

Record SIP source IP address in CDR

Reported by: jroper Assigned to: tonyclewis
Priority: minor Milestone: Undetermined
Component: Core Version: 2.8-branch
Keywords: Cc:
Confirmation: Unreviewed Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

In cases of fraud it is useful to know where the call came from in terms of IP address.

There is a spare field, as yet unused, of 255 chars long called userfield, where the dial plan can write anything you set into that field.

A useful addition maybe to add the SIP source IP address against each CDR to help tracking of calls, although they will not necessarily be shown on the UI, they will be available in the database.

A piece of dial-plan, as below should be able to achieve this:-

exten => _x.,n,Set(CDR(userfield)=${SIPCHANINFO(recvip)})

Joe

Change History

07/07/10 10:32:53 changed by p_lindheimer

  • milestone changed from 2.9 to Cut Line.

the issue here is that the userfield is used by some people for other purposes such as recording the incoming DID.

Also, the IP address is available in the log files which is probably adequate for this purpose especially given that the IP address will usually not be of much help in many fraud cases as they are often dynamic.

06/17/11 04:37:07 changed by mickecarlsson

  • milestone changed from Cut Line to 2.10.

Related to #5123

08/30/11 16:21:23 changed by mickecarlsson

Related to #1426

09/17/11 20:57:16 changed by mbrevda

  • owner changed from p_lindheimer to mickecarlsson.
  • milestone changed from 2.10 to Undetermined.

01/17/13 04:32:43 changed by mickecarlsson

  • owner changed from mickecarlsson to tonyclewis.