[Remove adressbook export whihc was not used Adrian Georgescu **20090927090139] hunk ./library/sip_settings.php 2510 - if (preg_match("/(unidata|snom|eyebeam|csco)/i",$user_agent,$m)) { - $_ua=strtolower($m[1]); - print "url&tab=phonebook&export=1&userAgent=$_ua target=export>"; - printf("",$this->SipUAImagesPath,$UAImage); - print ""; - } else { - printf ("",$this->SipUAImagesPath,$UAImage); - } + printf ("",$this->SipUAImagesPath,$UAImage); hunk ./library/sip_settings.php 2526 + hunk ./library/sip_settings.php 2528 - print " ($publicContact)"; + print " ($publicContact) "; + } + + if ($publicContact) { + //$_els=explode(":",$publicContact); + $_els=explode(":",$contact); + require_once "GeoIP.php"; + $geoip = Net_GeoIP::getInstance("geoip.dat"); + printf ("%s",$geoip->lookupCountryName($_els[0])); hunk ./library/sip_settings.php 2538 +