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.

1.11 is end of life and I would seriously recommend that you upgrade.

You should instruct your Agent that is entering the ticket to not use their own email address when opening a ticket for someone else. They should probably create a fake user account with the correct phone number and a unique non-working email address.

    Hi ntozier
    Thanks for the reply.
    Yes i am going to upgrade very soon.

    By the way i have got my problem solution.
    Now i was acceccing ticket details form custom mobile field in class.ticket.php file by $this->getAnswer('mobile') function

    Thanks a alot:

    Can you post a little bit more what you did in case someone else comes to the forums looking for a similar solution please?

    Write a Reply...