I edited the contact information in Manage -> Forms -> Contact Info, I added the Number for the room in a hotel where I implemented ostickets, so it would be easier for me to identify who was sending the tickets, but when i open the ticket in the "agent view" I only see "user / email / telephone" (the default ones) and not the Room Number that i added.
I have to modify the php code as well and the database or I missed something while creating the new form field?
(Sorry for my english, is not my first language)
Help with Ticket Form
You would have to view the User account to see information put there.
You could edit the core files to display the data in the ticket view. something similar to this:
https://github.com/osTicket/osTicket/pull/4392
Or alternatively you can have the User populate the room number each time they open a ticket by adding the field to Admin panel -> Manage -> Forms -> Ticket Details