I have been working on a small mod to allow calling ticket phone numbers through skype.

When clicking on the phone number it will launch skype and dial the number using the callto: URI scheme. However because users will enter there number in there local format ie: for a UK user they would enter 02081446320. this number will not be accepted by skype. It requires the number to be in international format ie: +4402081446320. They way this mod accomplishes this problem is by using the users ip address stored in the ticket to geolocate the ip address to the country and then look the international phone code for that country.
Replace line 79approx with the following code
<?php
$ip =$ticket->getIP();
$ch = curl_init();
$timeout = 5; // set to zero for no timeout
curl_setopt ($ch, CURLOPT_URL, 'http://anomisurf.com/privacy/ipservice/?phone=on&ip='.$ip);
curl_setopt ($ch, CURLOPT_USERAGENT, 'AnomiSurf IPservice');
curl_setopt ($ch, CURLOPT_REFERER, 'OSTicket Skype');
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$displaycc = curl_exec($ch);
curl_close($ch);
// display results
//print $displaycc;
?>
<td><a href="callto:+<?php print $displaycc; ?><?=Format:($ticket->getPhoneNumber())?>" title="Call via Skype"><img src="../images/SkypeBlue_16x16.png" style="padding-right;vertical-align;" alt="Call via Skype"><?=Format:($ticket->getPhoneNumber())?></a>
The image should be stored in osticket image dir
http://meamod.com/images/SkypeBlue_16x16.png