I have made a simple method to Misc class to trigger SMS notification to support staff when new ticket is created.

What makes the method ugly is the scheduling, since we have global support service and the SMS needs to be triggered only to the person on duty that time.

Now I'm checking time of day and based on that allow the sending to numbers based on the international prefixes. The numbers are from the mobile phone field of staff table.

Would be nice to have this kind of feature implemented in the osTicket as native. Group info could then include the scheduling information, like group X will receive the messages 09 - 17 and the group Y 17 - 09 etc... And maybe even some special tag for the weekends.

For sending the messages I use Kannel OS SMS Gateway. You can connect mobile phone to that and it will take care of the message sending to mobile phone. The Kannel provides HTTP API so I just open socket and include the destination number, message etc in HTTP GET parameters.

5 months later

Source Code

You said you had created the mod... Is there anyway you can include your source code? That is a feature i am truly interested in having.

a month later

I have made a simple method to Misc class to trigger SMS notification to support staff when new ticket is created.

....

Hello henkka,

can you share your mod? search also a possibility to send SMS ...

thanks

Jenny

a year later

May i know which cell phone you are using?:

8 months later

Hi henkka, I'm trying to send SMS to assignee but so far I'm not able to get the specific phone number from the assigned to staff. Would you please share me with this issue that you could overcome? Thanks you in advance.

Write a Reply...