Grizzlyware Josh Posted July 8, 2010 Share Posted July 8, 2010 Hey, Thought this might be useful for some people... As I host on my own, no staff apart from the datacenter, I need to know if someone has a site / issue right away, server issues are dealt with via SMS too (WHM) but this simple hook might be useful for some people Code for the file "/includes/hooks/send247sms.php" <?php function send247sms($args) { // Set the department ID for the server/website critical tickets $criticaldept = 7; // Set your mobile number $adminnumber = "447792707123"; if($args['deptid'] == $criticaldept) mail($adminnumber."@txtlocal.co.uk", "sender=bdigital", "A server/website critical ticket has been opened."); } add_hook("TicketOpen", 1,"send247sms", ""); ?> Just create a new department which tickets need to be an existing customer and set up a pipe for somethign like 247tech@domain.com. Making it work... head toward http://txtlocal.co.uk and create an account. You get 10 free texts to test it and it's only a fiver for 100 which is more than enough for small hosts... You can configure it to use cURL but for ease of explanation, use email to SMS. You will NEED to set up the allowed email address to send texts from... this mean add your sites username @ your server if cPanel and using suPHP. Hope this helps somebody! Joshhh 0 Quote Link to comment Share on other sites More sharing options...
getup Posted July 8, 2010 Share Posted July 8, 2010 Good idea, we use the same in our Kayako installation. The everlasting problem is though, that a customer can decide if his or her ticket is critical. Even though we don't face any issues, it's a possible problem when your customer base grows. 0 Quote Link to comment Share on other sites More sharing options...
Grizzlyware Josh Posted July 8, 2010 Author Share Posted July 8, 2010 It's never been used yet, but it's there just in case And true, everything is 'critical' to the customer... I'm small enough not to have this problem but I'd love to be big enough to face it! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.