osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now
Insert action when new ticket created.
Any help with this would be very much appreciated.
Can anyone please give me the file and line number where new tickets are created? Note: I am assuming that there is a single point where new tickets are created (instantiated) from either web form or created by staff?
The reason is that I would like to send an SMS message to the $phone with the ticket number - this is accomplished by calling another php script using $phone as an input parameter e.g. include 'sendSMS.php';
Case 1 (user creates ticket via web form): You have created a new ticket # 123.
Case2 (staff member creates ticket for customer): A new ticket # 123 has been created for you.
I just need to know where to insert ---> include 'sendSMS.php';
A big thank you to anyone that can help. I will gladly post my finished code for others.