Customer's IP address in the ticket

Moderator: crythias

Post Reply
wheelshot
OTRS expert
Posts: 188
Joined: 15 Dec 2014, 20:49
OTRS Version?: 4.0.24
Location: QC, Canada

Customer's IP address in the ticket

Post by wheelshot »

Hi,

Im pretty sure this would require custom code but im asking anyway. Anyone did find a way to get the IP Address of the web customers to store it in a ticket? Did you do it by config, with an additionnal module or with some custom code on the template dtl?

Thanks for your help :)

root
Moderator
Posts: 2328
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
Contact:

Re: Customer's IP address in the ticket

Post by root »

I never tried it but when you have access to the environment the should a variable (REMOTE_ADDR) available in the web server env.
OTRS 5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Do you need professional services for the ((OTRS)) Community Edition? Check out https://www.znuny.com/

wheelshot
OTRS expert
Posts: 188
Joined: 15 Dec 2014, 20:49
OTRS Version?: 4.0.24
Location: QC, Canada

Re: Customer's IP address in the ticket

Post by wheelshot »

root wrote:I never tried it but when you have access to the environment the should a variable (REMOTE_ADDR) available in the web server env.
Thanks, i'll ask our dev team to have a look at it. With this info, we'll be able to track where that ticket was created (inside our wall in dept X, outside of campus, etc.).

Post Reply