Customer's IP address in the ticket

Moderator: crythias

Post Reply
wheelshot
Znuny expert
Posts: 188
Joined: 15 Dec 2014, 20:49
Znuny 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
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
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.
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
wheelshot
Znuny expert
Posts: 188
Joined: 15 Dec 2014, 20:49
Znuny 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