- Edited
Hello friends,
Below is my osticket setup information
We have setup an osticket for an institution where customer can create ticket by calling to customer care. When customer call to our toll free no then our representative create the ticket on behalf of them by entering customer email, name and mobile no.
Evry user is a guest user including our representative.
Problem occurs when customer who does not have email id, call to our toll free no then our representative enter their own email id as email is mandatory while creating a ticket and name, mobile no details entered are of customer.
So, after clicking on create ticket button sms gets send on our representative mobile instead of customer mobile no even though our representative entered customer mobile no while creating ticket. This is because our representative was already registered as guest user and osticket refer his registered mobile no for sending sms.
Due to this issue our customer does not received complaint acknowledgement by sms.
So, we have disable phone no field from contact details and add mobile no field with variable name "mobile" in ticket details form.
We have written our sms sending code in class.ticket.php file. Currently we are sending sms by getting phone number by $this->getPhoneNumber().
Now we wish to send sms on mobile field from ticket details form.
Anyone please guide me how can i fetch value of mobile field from ticket details form in class.ticket.php file.
Thanks in advance.