summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/java/com/android/internal/telephony/IccSmsInterfaceManagerProxy.java6
-rw-r--r--src/java/com/android/internal/telephony/Operators.java1509
-rw-r--r--src/java/com/android/internal/telephony/RIL.java6
-rw-r--r--src/java/com/android/internal/telephony/SamsungQualcommRIL.java48
4 files changed, 1549 insertions, 20 deletions
diff --git a/src/java/com/android/internal/telephony/IccSmsInterfaceManagerProxy.java b/src/java/com/android/internal/telephony/IccSmsInterfaceManagerProxy.java
index 6d824ba..ed1ed3c 100644
--- a/src/java/com/android/internal/telephony/IccSmsInterfaceManagerProxy.java
+++ b/src/java/com/android/internal/telephony/IccSmsInterfaceManagerProxy.java
@@ -174,8 +174,10 @@ public class IccSmsInterfaceManagerProxy extends ISms.Stub {
mContext.enforceCallingPermission(
android.Manifest.permission.SEND_SMS,
"Sending SMS message");
- broadcastOutgoingSms(destAddr, scAddr, true, new ArrayList<String>(parts),
- new ArrayList<PendingIntent>(sentIntents), new ArrayList<PendingIntent>(deliveryIntents));
+ broadcastOutgoingSms(destAddr, scAddr, true,
+ parts != null ? new ArrayList<String>(parts) : null,
+ sentIntents != null ? new ArrayList<PendingIntent>(sentIntents) : null,
+ deliveryIntents != null ? new ArrayList<PendingIntent>(deliveryIntents) : null);
}
public boolean enableCellBroadcast(int messageIdentifier) throws android.os.RemoteException {
diff --git a/src/java/com/android/internal/telephony/Operators.java b/src/java/com/android/internal/telephony/Operators.java
new file mode 100644
index 0000000..d1add53
--- /dev/null
+++ b/src/java/com/android/internal/telephony/Operators.java
@@ -0,0 +1,1509 @@
+/*
+ * Copyright (C) 2013 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.android.internal.telephony;
+
+public class Operators{
+ public static String operatorReplace(String response){
+ if (response.equals("41201"))response="AWCC"; /*Afghanistan*/
+ else if (response.equals("41240"))response="Areeba"; /*Afghanistan*/
+ else if (response.equals("41250"))response="Etisalat"; /*Afghanistan*/
+ else if (response.equals("41220"))response="Roshan"; /*Afghanistan*/
+ else if (response.equals("27601"))response="AMC"; /*Albania*/
+ else if (response.equals("27603"))response="Eagle Mobile"; /*Albania*/
+ else if (response.equals("27604"))response="Plus Communication"; /*Albania*/
+ else if (response.equals("27602"))response="Vodafone"; /*Albania*/
+ else if (response.equals("60302"))response="Djezzy"; /*Algeria*/
+ else if (response.equals("60301"))response="Mobilis"; /*Algeria*/
+ else if (response.equals("60303"))response="Nedjma"; /*Algeria*/
+ else if (response.equals("54411"))response="Bluesky"; /*American Samoa*/
+ else if (response.equals("21303"))response="Mobiland"; /*Andorra*/
+ else if (response.equals("63104"))response="MOVICEL"; /*Angola*/
+ else if (response.equals("63102"))response="UNITEL"; /*Angola*/
+ else if (response.equals("365840"))response="Cable & Wireless"; /*Anguilla (United Kingdom)*/
+ else if (response.equals("365010"))response="Weblinks Limited"; /*Anguilla (United Kingdom)*/
+ else if (response.equals("344030"))response="APUA"; /*Antigua and Barbuda*/
+ else if (response.equals("344920"))response="bmobile"; /*Antigua and Barbuda*/
+ else if (response.equals("344930"))response="Digicel"; /*Antigua and Barbuda*/
+ else if (response.equals("722310"))response="Claro"; /*Argentina*/
+ else if (response.equals("722320"))response="Claro"; /*Argentina*/
+ else if (response.equals("722330"))response="Claro"; /*Argentina*/
+ else if (response.equals("722350"))response="Hutchinson (PORT HABLE)"; /*Argentina*/
+ else if (response.equals("722010"))response="Movistar"; /*Argentina*/
+ else if (response.equals("722070"))response="Movistar"; /*Argentina*/
+ else if (response.equals("722020"))response="Nextel"; /*Argentina*/
+ else if (response.equals("72234"))response="Personal"; /*Argentina*/
+ else if (response.equals("722341"))response="Telecom Personal SA"; /*Argentina*/
+ else if (response.equals("72236"))response="Telecom Personal SA"; /*Argentina*/
+ else if (response.equals("28301"))response="Beeline"; /*Armenia*/
+ else if (response.equals("28310"))response="Orange"; /*Armenia*/
+ else if (response.equals("28305"))response="VivaCell-MTS"; /*Armenia*/
+ else if (response.equals("36302"))response="Digicel"; /*Aruba (Netherlands)*/
+ else if (response.equals("36320"))response="Digicell"; /*Aruba (Netherlands)*/
+ else if (response.equals("36301"))response="SETAR"; /*Aruba (Netherlands)*/
+ else if (response.equals("50506"))response="3"; /*Australia*/
+ else if (response.equals("50512"))response="3"; /*Australia*/
+ else if (response.equals("50515"))response="3GIS"; /*Australia*/
+ else if (response.equals("50514"))response="AAPT"; /*Australia*/
+ else if (response.equals("50524"))response="Advanced Communications Technologies"; /*Australia*/
+ else if (response.equals("50509"))response="Airnet"; /*Australia*/
+ else if (response.equals("50538"))response="Crazy John's"; /*Australia*/
+ else if (response.equals("50504"))response="Department of Defence"; /*Australia*/
+ else if (response.equals("50588"))response="Localstar"; /*Australia*/
+ else if (response.equals("50510"))response="Norfolk Telecom"; /*Australia*/
+ else if (response.equals("50508"))response="One. Tel"; /*Australia*/
+ else if (response.equals("50599"))response="One. Tel"; /*Australia*/
+ else if (response.equals("50502"))response="OPTUS / Virgin Mobile"; /*Australia*/
+ else if (response.equals("50505"))response="Ozitel"; /*Australia*/
+ else if (response.equals("50513"))response="Railcorp"; /*Australia*/
+ else if (response.equals("50521"))response="SOUL"; /*Australia*/
+ else if (response.equals("50501"))response="Telstra"; /*Australia*/
+ else if (response.equals("50511"))response="Telstra"; /*Australia*/
+ else if (response.equals("50571"))response="Telstra"; /*Australia*/
+ else if (response.equals("50572"))response="Telstra"; /*Australia*/
+ else if (response.equals("50516"))response="Victorian Rail Track"; /*Australia*/
+ else if (response.equals("50503"))response="Vodafone"; /*Australia*/
+ else if (response.equals("50507"))response="Vodafone"; /*Australia*/
+ else if (response.equals("50590"))response="YES OPTUS"; /*Australia*/
+ else if (response.equals("23210"))response="3"; /*Austria*/
+ else if (response.equals("23214"))response="3"; /*Austria*/
+ else if (response.equals("23201"))response="A1"; /*Austria*/
+ else if (response.equals("23209"))response="A1"; /*Austria*/
+ else if (response.equals("23215"))response="Barablu"; /*Austria*/
+ else if (response.equals("23211"))response="bob"; /*Austria*/
+ else if (response.equals("23291"))response="GSM-R A"; /*Austria*/
+ else if (response.equals("23205"))response="Orange"; /*Austria*/
+ else if (response.equals("23203"))response="T-Mobile"; /*Austria*/
+ else if (response.equals("23207"))response="T-Mobile"; /*Austria*/
+ else if (response.equals("23212"))response="yesss"; /*Austria*/
+ else if (response.equals("40001"))response="Azercell"; /*Azerbaijan*/
+ else if (response.equals("40002"))response="Bakcell"; /*Azerbaijan*/
+ else if (response.equals("40003"))response="FONEX"; /*Azerbaijan*/
+ else if (response.equals("40004"))response="Nar Mobile"; /*Azerbaijan*/
+ else if (response.equals("364390"))response="BaTelCo"; /*Bahamas*/
+ else if (response.equals("42601"))response="Batelco"; /*Bahrain*/
+ else if (response.equals("42602"))response="MTC-VFBH"; /*Bahrain*/
+ else if (response.equals("42604"))response="VIVA"; /*Bahrain*/
+ else if (response.equals("47002"))response="Aktel"; /*Bangladesh*/
+ else if (response.equals("47003"))response="Banglalink"; /*Bangladesh*/
+ else if (response.equals("47005"))response="Citycell"; /*Bangladesh*/
+ else if (response.equals("47006"))response="Citycell"; /*Bangladesh*/
+ else if (response.equals("47001"))response="Grameenphone"; /*Bangladesh*/
+ else if (response.equals("47004"))response="TeleTalk"; /*Bangladesh*/
+ else if (response.equals("47007"))response="Warid"; /*Bangladesh*/
+ else if (response.equals("342600"))response="bmobile"; /*Barbados*/
+ else if (response.equals("342750"))response="Digicel"; /*Barbados*/
+ else if (response.equals("342820"))response="Sunbeach Communications"; /*Barbados*/
+ else if (response.equals("257501"))response="BelCel JV"; /*Belarus*/
+ else if (response.equals("25703"))response="DIALLOG"; /*Belarus*/
+ else if (response.equals("25704"))response="life:)"; /*Belarus*/
+ else if (response.equals("25702"))response="MTS"; /*Belarus*/
+ else if (response.equals("25701"))response="Velcom"; /*Belarus*/
+ else if (response.equals("20620"))response="BASE"; /*Belgium*/
+ else if (response.equals("20610"))response="Mobistar"; /*Belgium*/
+ else if (response.equals("20601"))response="Proximus"; /*Belgium*/
+ else if (response.equals("20605"))response="Telenet"; /*Belgium*/
+ else if (response.equals("70267"))response="Belize Telemedia"; /*Belize*/
+ else if (response.equals("70268"))response="International Telecommunications Ltd."; /*Belize*/
+ else if (response.equals("70299"))response="Smart"; /*Belize*/
+ else if (response.equals("61603"))response="Areeba"; /*Benin*/
+ else if (response.equals("61600"))response="BBCOM"; /*Benin*/
+ else if (response.equals("61604"))response="BBCOM"; /*Benin*/
+ else if (response.equals("61605"))response="Glo"; /*Benin*/
+ else if (response.equals("61601"))response="Libercom"; /*Benin*/
+ else if (response.equals("61602"))response="Telecel"; /*Benin*/
+ else if (response.equals("31038"))response="Digicel"; /*Bermudas*/
+ else if (response.equals("35001"))response="Digicel Bermuda"; /*Bermudas*/
+ else if (response.equals("35002"))response="Mobility"; /*Bermudas*/
+ else if (response.equals("40211"))response="B-Mobile"; /*Bhutan*/
+ else if (response.equals("40277"))response="TashiCell"; /*Bhutan*/
+ else if (response.equals("73602"))response="Entel"; /*Bolivia*/
+ else if (response.equals("73601"))response="Nuevatel"; /*Bolivia*/
+ else if (response.equals("73603"))response="Tigo"; /*Bolivia*/
+ else if (response.equals("21890"))response="BH Mobile"; /*Bosnia and Herzegovina*/
+ else if (response.equals("21803"))response="ERONET"; /*Bosnia and Herzegovina*/
+ else if (response.equals("21805"))response="m:tel"; /*Bosnia and Herzegovina*/
+ else if (response.equals("65204"))response="BTC Mobile"; /*Botswana*/
+ else if (response.equals("65201"))response="Mascom"; /*Botswana*/
+ else if (response.equals("65202"))response="Orange"; /*Botswana*/
+ else if (response.equals("72437"))response="aiou"; /*Brazil*/
+ else if (response.equals("72424"))response="Amazonia Celular"; /*Brazil*/
+ else if (response.equals("72416"))response="Brasil Telecom"; /*Brazil*/
+ else if (response.equals("72405"))response="Claro"; /*Brazil*/
+ else if (response.equals("72432"))response="CTBC Cellular"; /*Brazil*/
+ else if (response.equals("72433"))response="CTBC Cellular"; /*Brazil*/
+ else if (response.equals("72434"))response="CTBC Cellular"; /*Brazil*/
+ else if (response.equals("72407"))response="CTBC Celular"; /*Brazil*/
+ else if (response.equals("72400"))response="Nextel"; /*Brazil*/
+ else if (response.equals("72439"))response="Nextel"; /*Brazil*/
+ else if (response.equals("72415"))response="Sercomtel"; /*Brazil*/
+ else if (response.equals("72402"))response="TIM"; /*Brazil*/
+ else if (response.equals("72403"))response="TIM"; /*Brazil*/
+ else if (response.equals("72404"))response="TIM"; /*Brazil*/
+ else if (response.equals("72408"))response="TIM"; /*Brazil*/
+ else if (response.equals("72431"))response="TNL PCS"; /*Brazil*/
+ else if (response.equals("72406"))response="Vivo"; /*Brazil*/
+ else if (response.equals("72410"))response="Vivo"; /*Brazil*/
+ else if (response.equals("72411"))response="Vivo"; /*Brazil*/
+ else if (response.equals("72423"))response="Vivo"; /*Brazil*/
+ else if (response.equals("348170"))response="Cable & Wireless"; /*British Virgin Islands (United Kingdom)*/
+ else if (response.equals("348570"))response="Caribbean Cellular Telephone"; /*British Virgin Islands (United Kingdom)*/
+ else if (response.equals("348770"))response="Digicel"; /*British Virgin Islands (United Kingdom)*/
+ else if (response.equals("52802"))response="B-Mobile"; /*Brunei*/
+ else if (response.equals("52811"))response="DTSCom"; /*Brunei*/
+ else if (response.equals("52801"))response="Jabatan Telekom"; /*Brunei*/
+ else if (response.equals("28405"))response="GLOBUL"; /*Bulgaria*/
+ else if (response.equals("28401"))response="M-Tel"; /*Bulgaria*/
+ else if (response.equals("28404"))response="Undisclosed"; /*Bulgaria*/
+ else if (response.equals("28403"))response="Vivatel"; /*Bulgaria*/
+ else if (response.equals("61301"))response="Onatel"; /*Burkina Faso*/
+ else if (response.equals("61303"))response="Telecel Faso"; /*Burkina Faso*/
+ else if (response.equals("61302"))response="Zain"; /*Burkina Faso*/
+ else if (response.equals("64202"))response="Africell"; /*Burundi*/
+ else if (response.equals("64208"))response="HiTs Telecom"; /*Burundi*/
+ else if (response.equals("64207"))response="Smart Mobile"; /*Burundi*/
+ else if (response.equals("64201"))response="Spacetel"; /*Burundi*/
+ else if (response.equals("64203"))response="Telecel"; /*Burundi*/
+ else if (response.equals("64282"))response="U-COM Burundi"; /*Burundi*/
+ else if (response.equals("45609"))response="Beeline"; /*Cambodia*/
+ else if (response.equals("45618"))response="Camshin / Shinawatra"; /*Cambodia*/
+ else if (response.equals("45611"))response="Excell"; /*Cambodia*/
+ else if (response.equals("45602"))response="hello"; /*Cambodia*/
+ else if (response.equals("45608"))response="Metfone"; /*Cambodia*/
+ else if (response.equals("45601"))response="Mobitel"; /*Cambodia*/
+ else if (response.equals("45604"))response="qb"; /*Cambodia*/
+ else if (response.equals("45603"))response="S Telecom"; /*Cambodia*/
+ else if (response.equals("45606"))response="Smart Mobile"; /*Cambodia*/
+ else if (response.equals("45605"))response="Star-Cell"; /*Cambodia*/
+ else if (response.equals("62401"))response="MTN Cameroon"; /*Cameroon*/
+ else if (response.equals("62402"))response="Orange"; /*Cameroon*/
+ else if (response.equals("302290"))response="Airtel Wireless"; /*Canada*/
+ else if (response.equals("302652"))response="BC Tel Mobility"; /*Canada*/
+ else if (response.equals("302610"))response="Bell"; /*Canada*/
+ else if (response.equals("302640"))response="Bell"; /*Canada*/
+ else if (response.equals("302880"))response="Bell / Telus / SaskTel"; /*Canada*/
+ else if (response.equals("302651"))response="Bell Mobility"; /*Canada*/
+ else if (response.equals("302380"))response="DMTS"; /*Canada*/
+ else if (response.equals("302370"))response="Fido"; /*Canada*/
+ else if (response.equals("302350"))response="FIRST"; /*Canada*/
+ else if (response.equals("302710"))response="Globalstar"; /*Canada*/
+ else if (response.equals("302620"))response="ICE Wireless"; /*Canada*/
+ else if (response.equals("302701"))response="MB Tel Mobility"; /*Canada*/
+ else if (response.equals("302320"))response="Mobilicity"; /*Canada*/
+ else if (response.equals("302702"))response="MT&T Mobility"; /*Canada*/
+ else if (response.equals("302660"))response="MTS"; /*Canada*/
+ else if (response.equals("302655"))response="MTS Mobility"; /*Canada*/
+ else if (response.equals("302703"))response="New Tel Mobility"; /*Canada*/
+ else if (response.equals("302720"))response="Rogers Wireless"; /*Canada*/
+ else if (response.equals("302654"))response="Sask Tel Mobility"; /*Canada*/
+ else if (response.equals("302680"))response="SaskTel"; /*Canada*/
+ else if (response.equals("302780"))response="SaskTel"; /*Canada*/
+ else if (response.equals("302656"))response="Tbay Mobility"; /*Canada*/
+ else if (response.equals("302220"))response="Telus"; /*Canada*/
+ else if (response.equals("302221"))response="Telus"; /*Canada*/
+ else if (response.equals("302657"))response="Telus (Quebec) Mobility"; /*Canada*/
+ else if (response.equals("302360"))response="Telus Mobility"; /*Canada*/
+ else if (response.equals("302361"))response="Telus Mobility"; /*Canada*/
+ else if (response.equals("302653"))response="Telus Mobility"; /*Canada*/
+ else if (response.equals("302500"))response="Videotron"; /*Canada*/
+ else if (response.equals("302510"))response="Videotron"; /*Canada*/
+ else if (response.equals("302490"))response="WIND Mobile"; /*Canada*/
+ else if (response.equals("62501"))response="CVMOVEL"; /*Cape Verde*/
+ else if (response.equals("62502"))response="T+"; /*Cape Verde*/
+ else if (response.equals("346140"))response="Cable & Wireless"; /*Cayman Islands (United Kingdom)*/
+ else if (response.equals("346050"))response="Digicel"; /*Cayman Islands (United Kingdom)*/
+ else if (response.equals("62301"))response="CTP"; /*Central African Republic*/
+ else if (response.equals("62304"))response="Nationlink"; /*Central African Republic*/
+ else if (response.equals("62303"))response="Orange"; /*Central African Republic*/
+ else if (response.equals("62302"))response="TC"; /*Central African Republic*/
+ else if (response.equals("73003"))response="Claro"; /*Chile*/
+ else if (response.equals("73001"))response="Entel"; /*Chile*/
+ else if (response.equals("73010"))response="Entel"; /*Chile*/
+ else if (response.equals("73002"))response="movistar"; /*Chile*/
+ else if (response.equals("73004"))response="Nextel"; /*Chile*/
+ else if (response.equals("73008"))response="VTR MOvil"; /*Chile*/
+ else if (response.equals("73099"))response="Will"; /*Chile*/
+ else if (response.equals("46006"))response="(unknown)"; /*China*/
+ else if (response.equals("46000"))response="China Mobile"; /*China*/
+ else if (response.equals("46002"))response="China Mobile"; /*China*/
+ else if (response.equals("46007"))response="China Mobile"; /*China*/
+ else if (response.equals("46003"))response="China Telecom"; /*China*/
+ else if (response.equals("46005"))response="China Telecom"; /*China*/
+ else if (response.equals("46020"))response="China Tietong"; /*China*/
+ else if (response.equals("46001"))response="China Unicom"; /*China*/
+ else if (response.equals("732001"))response="Colombia Telecomunicaciones S.A. - Telecom"; /*Colombia*/
+ else if (response.equals("732101"))response="Comcel"; /*Colombia*/
+ else if (response.equals("732002"))response="Edatel"; /*Colombia*/
+ else if (response.equals("732102"))response="movistar"; /*Colombia*/
+ else if (response.equals("732123"))response="movistar"; /*Colombia*/
+ else if (response.equals("732103"))response="Tigo"; /*Colombia*/
+ else if (response.equals("732111"))response="Tigo"; /*Colombia*/
+ else if (response.equals("65401"))response="HURI - SNPT"; /*Comoros*/
+ else if (response.equals("54801"))response="Telecom Cook"; /*Cook Islands*/
+ else if (response.equals("71201"))response="ICE"; /*Costa Rica*/
+ else if (response.equals("71202"))response="ICE"; /*Costa Rica*/
+ else if (response.equals("71203"))response="ICE"; /*Costa Rica*/
+ else if (response.equals("71204"))response="movistar"; /*Costa Rica*/
+ else if (response.equals("61201"))response="Cora de Comstar"; /*Cote d'Ivoire*/
+ else if (response.equals("61204"))response="KoZ"; /*Cote d'Ivoire*/
+ else if (response.equals("61202"))response="Moov"; /*Cote d'Ivoire*/
+ else if (response.equals("61205"))response="MTN"; /*Cote d'Ivoire*/
+ else if (response.equals("61203"))response="Orange"; /*Cote d'Ivoire*/
+ else if (response.equals("61206"))response="ORICEL"; /*Cote d'Ivoire*/
+ else if (response.equals("21901"))response="T-Mobile"; /*Croatia*/
+ else if (response.equals("21902"))response="Tele2"; /*Croatia*/
+ else if (response.equals("21910"))response="VIPnet"; /*Croatia*/
+ else if (response.equals("36801"))response="ETECSA"; /*Cuba*/
+ else if (response.equals("28001"))response="Cytamobile-Vodafone"; /*Cyprus*/
+ else if (response.equals("28010"))response="MTN"; /*Cyprus*/
+ else if (response.equals("62204"))response="Salam"; /*Czad*/
+ else if (response.equals("62202"))response="TAWALI"; /*Czad*/
+ else if (response.equals("62203"))response="TIGO - Millicom"; /*Czad*/
+ else if (response.equals("62201"))response="Zain"; /*Czad*/
+ else if (response.equals("23002"))response="EUROTEL PRAHA"; /*Czech Republic*/
+ else if (response.equals("23003"))response="OSKAR"; /*Czech Republic*/
+ else if (response.equals("23006"))response="OSNO TELECOMUNICATION, s.r.o."; /*Czech Republic*/
+ else if (response.equals("23098"))response="SeDC s.o."; /*Czech Republic*/
+ else if (response.equals("23001"))response="T-Mobile"; /*Czech Republic*/
+ else if (response.equals("23005"))response="TRAVEL TELEKOMMUNIKATION, s.r.o."; /*Czech Republic*/
+ else if (response.equals("23004"))response="U:fon"; /*Czech Republic*/
+ else if (response.equals("23099"))response="Vodafone Czech Republic a.s., R&D Centre at FEE, CTU"; /*Czech Republic*/
+ else if (response.equals("63086"))response="CCT"; /*Democratic Republic of Congo*/
+ else if (response.equals("63004"))response="Cellco"; /*Democratic Republic of Congo*/
+ else if (response.equals("63010"))response="Libertis Telecom"; /*Democratic Republic of Congo*/
+ else if (response.equals("63089"))response="SAIT Telecom"; /*Democratic Republic of Congo*/
+ else if (response.equals("63005"))response="Supercell"; /*Democratic Republic of Congo*/
+ else if (response.equals("63001"))response="Vodacom"; /*Democratic Republic of Congo*/
+ else if (response.equals("63002"))response="Zain"; /*Democratic Republic of Congo*/
+ else if (response.equals("23806"))response="3"; /*Denmark*/
+ else if (response.equals("23805"))response="ApS KBUS"; /*Denmark*/
+ else if (response.equals("23807"))response="Barablu Mobile Ltd."; /*Denmark*/
+ else if (response.equals("23809"))response="Dansk Beredskabskommunikation A/S"; /*Denmark*/
+ else if (response.equals("23811"))response="Dansk Beredskabskommunikation A/S"; /*Denmark*/
+ else if (response.equals("23840"))response="Ericsson Danmark A/S"; /*Denmark*/
+ else if (response.equals("23812"))response="Lycamobile Denmark Ltd"; /*Denmark*/
+ else if (response.equals("23803"))response="MIGway A/S"; /*Denmark*/
+ else if (response.equals("23877"))response="Sonofon"; /*Denmark*/
+ else if (response.equals("23801"))response="TDC"; /*Denmark*/
+ else if (response.equals("23810"))response="TDC"; /*Denmark*/
+ else if (response.equals("23802"))response="Telenor"; /*Denmark*/
+ else if (response.equals("23820"))response="Telia"; /*Denmark*/
+ else if (response.equals("23830"))response="Telia"; /*Denmark*/
+ else if (response.equals("63801"))response="Evatis"; /*Djibouti*/
+ else if (response.equals("366110"))response="Cable & Wireless"; /*Dominica*/
+ else if (response.equals("366020"))response="Digicel"; /*Dominica*/
+ else if (response.equals("37002"))response="Claro"; /*Dominican Republic*/
+ else if (response.equals("37001"))response="Orange"; /*Dominican Republic*/
+ else if (response.equals("37003"))response="Tricom S.A."; /*Dominican Republic*/
+ else if (response.equals("37004"))response="ViVa"; /*Dominican Republic*/
+ else if (response.equals("51402"))response="Timor Telecom"; /*East Timor*/
+ else if (response.equals("74002"))response="Alegro"; /*Ecuador*/
+ else if (response.equals("74000"))response="Movistar"; /*Ecuador*/
+ else if (response.equals("74001"))response="Porta"; /*Ecuador*/
+ else if (response.equals("60203"))response="Etisalat"; /*Egypt*/
+ else if (response.equals("60201"))response="Mobinil"; /*Egypt*/
+ else if (response.equals("60202"))response="Vodafone"; /*Egypt*/
+ else if (response.equals("70610"))response="Claro"; /*El Salvador*/
+ else if (response.equals("70611"))response="Claro"; /*El Salvador*/
+ else if (response.equals("70601"))response="CTE Telecom Personal"; /*El Salvador*/
+ else if (response.equals("70602"))response="digicel"; /*El Salvador*/
+ else if (response.equals("70604"))response="movistar"; /*El Salvador*/
+ else if (response.equals("70603"))response="Telemovil EL Salvador"; /*El Salvador*/
+ else if (response.equals("62703"))response="Hits GQ"; /*Equatorial Guinea*/
+ else if (response.equals("62701"))response="Orange GQ"; /*Equatorial Guinea*/
+ else if (response.equals("65701"))response="Eritel"; /*Eritrea*/
+ else if (response.equals("24805"))response="AS Bravocom Mobiil"; /*Estonia*/
+ else if (response.equals("24802"))response="Elisa"; /*Estonia*/
+ else if (response.equals("24801"))response="EMT"; /*Estonia*/
+ else if (response.equals("24804"))response="OY Top Connect"; /*Estonia*/
+ else if (response.equals("24806"))response="OY ViaTel"; /*Estonia*/
+ else if (response.equals("24803"))response="Tele 2"; /*Estonia*/
+ else if (response.equals("63601"))response="ETMTN"; /*Ethiopia*/
+ else if (response.equals("28801"))response="Faroese Telecom"; /*Faroe Islands (Denmark)*/
+ else if (response.equals("28802"))response="Vodafone"; /*Faroe Islands (Denmark)*/
+ else if (response.equals("54202"))response="Digicel"; /*Fiji*/
+ else if (response.equals("54201"))response="Vodafone"; /*Fiji*/
+ else if (response.equals("24414"))response="AMT"; /*Finland*/
+ else if (response.equals("24403"))response="DNA"; /*Finland*/
+ else if (response.equals("24412"))response="DNA"; /*Finland*/
+ else if (response.equals("24405"))response="Elisa"; /*Finland*/
+ else if (response.equals("24407"))response="Nokia"; /*Finland*/
+ else if (response.equals("24415"))response="SAMK"; /*Finland*/
+ else if (response.equals("24421"))response="Saunalahti"; /*Finland*/
+ else if (response.equals("24429"))response="Scnl Truphone"; /*Finland*/
+ else if (response.equals("24491"))response="Sonera"; /*Finland*/
+ else if (response.equals("24410"))response="TDC Oy"; /*Finland*/
+ else if (response.equals("24408"))response="Unknown"; /*Finland*/
+ else if (response.equals("24411"))response="VIRVE"; /*Finland*/
+ else if (response.equals("20820"))response="Bouygues"; /*France*/
+ else if (response.equals("20821"))response="Bouygues"; /*France*/
+ else if (response.equals("20888"))response="Bouygues"; /*France*/
+ else if (response.equals("20801"))response="France Telecom Mobile"; /*France*/
+ else if (response.equals("20814"))response="Free Mobile"; /*France*/
+ else if (response.equals("20815"))response="Free Mobile"; /*France*/
+ else if (response.equals("20805"))response="Globalstar Europe"; /*France*/
+ else if (response.equals("20806"))response="Globalstar Europe"; /*France*/
+ else if (response.equals("20807"))response="Globalstar Europe"; /*France*/
+ else if (response.equals("20800"))response="Orange"; /*France*/
+ else if (response.equals("20802"))response="Orange"; /*France*/
+ else if (response.equals("20810"))response="SFR"; /*France*/
+ else if (response.equals("20811"))response="SFR"; /*France*/
+ else if (response.equals("20813"))response="SFR"; /*France*/
+ else if (response.equals("20822"))response="Transatel Mobile"; /*France*/
+ else if (response.equals("54720"))response="VINI"; /*French Polynesia (France)*/
+ else if (response.equals("62804"))response="Azur"; /*Gabon*/
+ else if (response.equals("62801"))response="Libertis"; /*Gabon*/
+ else if (response.equals("62802"))response="Moov (Telecel) Gabon S.A."; /*Gabon*/
+ else if (response.equals("62803"))response="Zain"; /*Gabon*/
+ else if (response.equals("60702"))response="Africel"; /*Gambia*/
+ else if (response.equals("60703"))response="Comium"; /*Gambia*/
+ else if (response.equals("60701"))response="Gamcel"; /*Gambia*/
+ else if (response.equals("60704"))response="QCell"; /*Gambia*/
+ else if (response.equals("28988"))response="A-Mobile"; /*Georgia*/
+ else if (response.equals("28967"))response="Aquafon"; /*Georgia*/
+ else if (response.equals("28204"))response="Beeline"; /*Georgia*/
+ else if (response.equals("28201"))response="Geocell"; /*Georgia*/
+ else if (response.equals("28203"))response="Iberiatel"; /*Georgia*/
+ else if (response.equals("28202"))response="Magti"; /*Georgia*/
+ else if (response.equals("28205"))response="Silknet"; /*Georgia*/
+ else if (response.equals("26242"))response="27C3"; /*Germany*/
+ else if (response.equals("26215"))response="Airdata"; /*Germany*/
+ else if (response.equals("26210"))response="Arcor AG & Co"; /*Germany*/
+ else if (response.equals("26260"))response="DB Telematik"; /*Germany*/
+ else if (response.equals("262901"))response="Debitel"; /*Germany*/
+ else if (response.equals("26212"))response="Dolphin Telecom"; /*Germany*/
+ else if (response.equals("26203"))response="E-Plus"; /*Germany*/
+ else if (response.equals("26205"))response="E-Plus"; /*Germany*/
+ else if (response.equals("26277"))response="E-Plus"; /*Germany*/
+ else if (response.equals("26214"))response="Group 3G UMTS"; /*Germany*/
+ else if (response.equals("26243"))response="LYCA"; /*Germany*/
+ else if (response.equals("26213"))response="Mobilcom Multimedia"; /*Germany*/
+ else if (response.equals("26292"))response="Nash Technologies"; /*Germany*/
+ else if (response.equals("26207"))response="O2"; /*Germany*/
+ else if (response.equals("26208"))response="O2"; /*Germany*/
+ else if (response.equals("26211"))response="O2"; /*Germany*/
+ else if (response.equals("26276"))response="Siemens AG"; /*Germany*/
+ else if (response.equals("26201"))response="T-Mobile"; /*Germany*/
+ else if (response.equals("26206"))response="T-Mobile"; /*Germany*/
+ else if (response.equals("26216"))response="vistream"; /*Germany*/
+ else if (response.equals("26202"))response="Vodafone"; /*Germany*/
+ else if (response.equals("26204"))response="Vodafone"; /*Germany*/
+ else if (response.equals("26209"))response="Vodafone"; /*Germany*/
+ else if (response.equals("62006"))response="Airtel"; /*Ghana*/
+ else if (response.equals("62002"))response="Ghana Telecom Mobile"; /*Ghana*/
+ else if (response.equals("62004"))response="Kasapa / Hutchison Telecom"; /*Ghana*/
+ else if (response.equals("62001"))response="MTN"; /*Ghana*/
+ else if (response.equals("62003"))response="tiGO"; /*Ghana*/
+ else if (response.equals("26606"))response="CTS Mobile"; /*Gibraltar (United Kingdom)*/
+ else if (response.equals("26601"))response="GibTel"; /*Gibraltar (United Kingdom)*/
+ else if (response.equals("20201"))response="Cosmote"; /*Greece*/
+ else if (response.equals("20205"))response="Vodafone"; /*Greece*/
+ else if (response.equals("20209"))response="Wind"; /*Greece*/
+ else if (response.equals("20210"))response="Wind"; /*Greece*/
+ else if (response.equals("29001"))response="TELE Greenland A/S"; /*Greenland (Denmark)*/
+ else if (response.equals("352110"))response="Cable & Wireless"; /*Grenada*/
+ else if (response.equals("352030"))response="Digicel"; /*Grenada*/
+ else if (response.equals("34020"))response="Digicel"; /*Guadeloupe (France)*/
+ else if (response.equals("34008"))response="MIO GSM"; /*Guadeloupe (France)*/
+ else if (response.equals("34001"))response="Orange"; /*Guadeloupe (France)*/
+ else if (response.equals("34002"))response="Outremer"; /*Guadeloupe (France)*/
+ else if (response.equals("34003"))response="Telcell"; /*Guadeloupe (France)*/
+ else if (response.equals("310033"))response="Guam Telephone Authority"; /*Guam (United States)*/
+ else if (response.equals("310370"))response="Guamcell"; /*Guam (United States)*/
+ else if (response.equals("310470"))response="Guamcell"; /*Guam (United States)*/
+ else if (response.equals("311250"))response="i CAN_GSM"; /*Guam (United States)*/
+ else if (response.equals("310032"))response="IT&E Wireless"; /*Guam (United States)*/
+ else if (response.equals("310140"))response="mPulse"; /*Guam (United States)*/
+ else if (response.equals("70401"))response="Claro"; /*Guatemala*/
+ else if (response.equals("70402"))response="Comcel / Tigo"; /*Guatemala*/
+ else if (response.equals("70403"))response="movistar"; /*Guatemala*/
+ else if (response.equals("73801"))response="Digicel"; /*Guiana*/
+ else if (response.equals("73802"))response="GT&T Cellink Plus"; /*Guiana*/
+ else if (response.equals("61105"))response="Cellcom"; /*Guinea*/
+ else if (response.equals("61102"))response="Lagui"; /*Guinea*/
+ else if (response.equals("61104"))response="MTN"; /*Guinea*/
+ else if (response.equals("61101"))response="Spacetel"; /*Guinea*/
+ else if (response.equals("61103"))response="Telecel Guinee"; /*Guinea*/
+ else if (response.equals("63202"))response="Areeba"; /*Guinea-Bissau*/
+ else if (response.equals("63203"))response="Orange"; /*Guinea-Bissau*/
+ else if (response.equals("372010"))response="Comcel / Voila"; /*Haiti*/
+ else if (response.equals("37202"))response="Digicel"; /*Haiti*/
+ else if (response.equals("37203"))response="NATCOM"; /*Haiti*/
+ else if (response.equals("20414"))response="6Gmobile"; /*Holland (Netherlands)*/
+ else if (response.equals("20423"))response="ASPIDER Solutions Nederland B.V."; /*Holland (Netherlands)*/
+ else if (response.equals("20427"))response="Breezz Nederland B.V."; /*Holland (Netherlands)*/
+ else if (response.equals("20425"))response="CapX B.V."; /*Holland (Netherlands)*/
+ else if (response.equals("20407"))response="eleena (MVNE)"; /*Holland (Netherlands)*/
+ else if (response.equals("20405"))response="Elephant Talk Communications Premium Rate Services"; /*Holland (Netherlands)*/
+ else if (response.equals("20417"))response="Intercity Mobile Communications B.V."; /*Holland (Netherlands)*/
+ else if (response.equals("20408"))response="KPN"; /*Holland (Netherlands)*/
+ else if (response.equals("20410"))response="KPN"; /*Holland (Netherlands)*/
+ else if (response.equals("20469"))response="KPN Mobile The Netherlands B.V."; /*Holland (Netherlands)*/
+ else if (response.equals("20409"))response="Lycamobile"; /*Holland (Netherlands)*/
+ else if (response.equals("20422"))response="Ministerie van Defensie"; /*Holland (Netherlands)*/
+ else if (response.equals("20419"))response="Mixe Communication Solutions B.V."; /*Holland (Netherlands)*/
+ else if (response.equals("20406"))response="Mundio Mobile (Netherlands) Ltd"; /*Holland (Netherlands)*/
+ else if (response.equals("20421"))response="NS Railinfrabeheer B.V."; /*Holland (Netherlands)*/
+ else if (response.equals("20420"))response="Orange Nederland"; /*Holland (Netherlands)*/
+ else if (response.equals("20424"))response="Private Mobility Nederland B.V."; /*Holland (Netherlands)*/
+ else if (response.equals("20467"))response="RadioAccess B.V."; /*Holland (Netherlands)*/
+ else if (response.equals("20426"))response="SpeakUp B.V."; /*Holland (Netherlands)*/
+ else if (response.equals("20416"))response="T-Mobile / Ben"; /*Holland (Netherlands)*/
+ else if (response.equals("20402"))response="Tele2 Netherlands"; /*Holland (Netherlands)*/
+ else if (response.equals("20412"))response="Telfort / O2"; /*Holland (Netherlands)*/
+ else if (response.equals("20413"))response="Unica Installatietechniek B.V"; /*Holland (Netherlands)*/
+ else if (response.equals("20468"))response="Unify Group Holding B.V."; /*Holland (Netherlands)*/
+ else if (response.equals("20418"))response="UPC Nederland B.V."; /*Holland (Netherlands)*/
+ else if (response.equals("20401"))response="VastMobiel B.V."; /*Holland (Netherlands)*/
+ else if (response.equals("20404"))response="Vodafone"; /*Holland (Netherlands)*/
+ else if (response.equals("20403"))response="Voiceworks B.V."; /*Holland (Netherlands)*/
+ else if (response.equals("70802"))response="Celtel / Tigo"; /*Honduras*/
+ else if (response.equals("70801"))response="Claro"; /*Honduras*/
+ else if (response.equals("70840"))response="DIGICEL"; /*Honduras*/
+ else if (response.equals("70830"))response="Hondutel"; /*Honduras*/
+ else if (response.equals("45403"))response="3 (3G)"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("45405"))response="3 CDMA"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("45404"))response="3 Dual (2G)"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("45412"))response="C Peoples"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("45409"))response="China Motion Telecom"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("45407"))response="China Unicom"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("45411"))response="China-Hongkong Telecom"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("45401"))response="CITIC Telecom 1616"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("45400"))response="CSL"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("45402"))response="CSL 3G"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("45418"))response="Hong Kong CSL Limited"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("45414"))response="Hutchison Telecom"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("45410"))response="New World"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("45416"))response="PCCW"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("45419"))response="PCCW"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("45429"))response="PCCW"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("45415"))response="SmarTone Mobile Comms"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("45417"))response="SmarTone Mobile Comms"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("45406"))response="Smartone-Vodafone"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("45408"))response="Trident"; /*Hong Kong (People's Republic of China)*/
+ else if (response.equals("21601"))response="Pannon"; /*Hungary*/
+ else if (response.equals("21630"))response="T-Mobile"; /*Hungary*/
+ else if (response.equals("21670"))response="Vodafone"; /*Hungary*/
+ else if (response.equals("27407"))response="IceCell"; /*Iceland*/
+ else if (response.equals("27411"))response="Nova"; /*Iceland*/
+ else if (response.equals("27406"))response="N'll nIu ehf"; /*Iceland*/
+ else if (response.equals("27408"))response="On-waves"; /*Iceland*/
+ else if (response.equals("27401"))response="Siminn"; /*Iceland*/
+ else if (response.equals("27412"))response="Tal"; /*Iceland*/
+ else if (response.equals("27404"))response="Viking"; /*Iceland*/
+ else if (response.equals("27402"))response="Vodafone"; /*Iceland*/
+ else if (response.equals("27403"))response="Vodafone"; /*Iceland*/
+ else if (response.equals("40417"))response="AIRCEL"; /*India*/
+ else if (response.equals("40425"))response="AIRCEL"; /*India*/
+ else if (response.equals("40428"))response="AIRCEL"; /*India*/
+ else if (response.equals("40429"))response="AIRCEL"; /*India*/
+ else if (response.equals("40437"))response="AIRCEL"; /*India*/
+ else if (response.equals("40491"))response="AIRCEL"; /*India*/
+ else if (response.equals("405082"))response="AIRCEL"; /*India*/
+ else if (response.equals("405800"))response="AIRCEL"; /*India*/
+ else if (response.equals("405801"))response="AIRCEL"; /*India*/
+ else if (response.equals("405802"))response="AIRCEL"; /*India*/
+ else if (response.equals("405803"))response="AIRCEL"; /*India*/
+ else if (response.equals("405804"))response="AIRCEL"; /*India*/
+ else if (response.equals("405805"))response="AIRCEL"; /*India*/
+ else if (response.equals("405806"))response="AIRCEL"; /*India*/
+ else if (response.equals("405807"))response="AIRCEL"; /*India*/
+ else if (response.equals("405808"))response="AIRCEL"; /*India*/
+ else if (response.equals("405809"))response="AIRCEL"; /*India*/
+ else if (response.equals("405810"))response="AIRCEL"; /*India*/
+ else if (response.equals("405811"))response="AIRCEL"; /*India*/
+ else if (response.equals("405812"))response="AIRCEL"; /*India*/
+ else if (response.equals("405813"))response="AIRCEL"; /*India*/
+ else if (response.equals("40460"))response="Aircell Digilink"; /*India*/
+ else if (response.equals("40415"))response="Aircell Digilink Essar Cellph."; /*India*/
+ else if (response.equals("40406"))response="Airtel"; /*India*/
+ else if (response.equals("40410"))response="Airtel"; /*India*/
+ else if (response.equals("40431"))response="Airtel"; /*India*/
+ else if (response.equals("40440"))response="Airtel"; /*India*/
+ else if (response.equals("40445"))response="Airtel"; /*India*/
+ else if (response.equals("40449"))response="Airtel"; /*India*/
+ else if (response.equals("40470"))response="Airtel"; /*India*/
+ else if (response.equals("40494"))response="Airtel"; /*India*/
+ else if (response.equals("40495"))response="Airtel"; /*India*/
+ else if (response.equals("40497"))response="Airtel"; /*India*/
+ else if (response.equals("40498"))response="Airtel"; /*India*/
+ else if (response.equals("40551"))response="Airtel"; /*India*/
+ else if (response.equals("40552"))response="Airtel"; /*India*/
+ else if (response.equals("40553"))response="AirTel"; /*India*/
+ else if (response.equals("40554"))response="AirTel"; /*India*/
+ else if (response.equals("40555"))response="AirTel"; /*India*/
+ else if (response.equals("40556"))response="AirTel"; /*India*/
+ else if (response.equals("40570"))response="AirTel"; /*India*/
+ else if (response.equals("40496"))response="Airtel - Haryana"; /*India*/
+ else if (response.equals("40402"))response="Airtel - Punjab"; /*India*/
+ else if (response.equals("40403"))response="Airtel / Bharti Telenet"; /*India*/
+ else if (response.equals("40493"))response="Airtel Gujrat"; /*India*/
+ else if (response.equals("40490"))response="Airtel Maharashtra & Goa"; /*India*/
+ else if (response.equals("40492"))response="Airtel Mumbai"; /*India*/
+ else if (response.equals("40443"))response="BPL Mobile Cellular"; /*India*/
+ else if (response.equals("40421"))response="BPL Mobile Mumbai"; /*India*/
+ else if (response.equals("40427"))response="BPL USWest Cellular / Cellular Comms"; /*India*/
+ else if (response.equals("40434"))response="BSNL"; /*India*/
+ else if (response.equals("40438"))response="BSNL"; /*India*/
+ else if (response.equals("40451"))response="BSNL"; /*India*/
+ else if (response.equals("40453"))response="BSNL"; /*India*/
+ else if (response.equals("40454"))response="BSNL"; /*India*/
+ else if (response.equals("40455"))response="BSNL"; /*India*/
+ else if (response.equals("40457"))response="BSNL"; /*India*/
+ else if (response.equals("40458"))response="BSNL"; /*India*/
+ else if (response.equals("40459"))response="BSNL"; /*India*/
+ else if (response.equals("40464"))response="BSNL"; /*India*/
+ else if (response.equals("40471"))response="BSNL"; /*India*/
+ else if (response.equals("40473"))response="BSNL"; /*India*/
+ else if (response.equals("40474"))response="BSNL"; /*India*/
+ else if (response.equals("40475"))response="BSNL"; /*India*/
+ else if (response.equals("40476"))response="BSNL"; /*India*/
+ else if (response.equals("40477"))response="BSNL"; /*India*/
+ else if (response.equals("40480"))response="BSNL"; /*India*/
+ else if (response.equals("40481"))response="BSNL"; /*India*/
+ else if (response.equals("40462"))response="BSNL J&K"; /*India*/
+ else if (response.equals("40472"))response="BSNL Kerala"; /*India*/
+ else if (response.equals("40466"))response="BSNL Maharashtra & Goa"; /*India*/
+ else if (response.equals("40478"))response="BTA Cellcom"; /*India*/
+ else if (response.equals("40448"))response="Dishnet Wireless"; /*India*/
+ else if (response.equals("40482"))response="Escorts"; /*India*/
+ else if (response.equals("40487"))response="Escorts Telecom"; /*India*/
+ else if (response.equals("40488"))response="Escorts Telecom"; /*India*/
+ else if (response.equals("40489"))response="Escorts Telecom"; /*India*/
+ else if (response.equals("40411"))response="Essar / Sterling Cellular"; /*India*/
+ else if (response.equals("405912"))response="Etisalat DB(cheers)"; /*India*/
+ else if (response.equals("405913"))response="Etisalat DB(cheers)"; /*India*/
+ else if (response.equals("405914"))response="Etisalat DB(cheers)"; /*India*/
+ else if (response.equals("405917"))response="Etisalat DB(cheers)"; /*India*/
+ else if (response.equals("40566"))response="Hutch"; /*India*/
+ else if (response.equals("40486"))response="Hutchinson Essar South"; /*India*/
+ else if (response.equals("40413"))response="Hutchison Essar South"; /*India*/
+ else if (response.equals("40484"))response="Hutchison Essar South"; /*India*/
+ else if (response.equals("40419"))response="IDEA"; /*India*/
+ else if (response.equals("405799"))response="IDEA"; /*India*/
+ else if (response.equals("405845"))response="IDEA"; /*India*/
+ else if (response.equals("405848"))response="IDEA"; /*India*/
+ else if (response.equals("405850"))response="IDEA"; /*India*/
+ else if (response.equals("40586"))response="IDEA"; /*India*/
+ else if (response.equals("40412"))response="Idea (Escotel) Haryana"; /*India*/
+ else if (response.equals("40456"))response="Idea (Escotel) UP West"; /*India*/
+ else if (response.equals("40404"))response="IDEA CELLULAR - Delhi"; /*India*/
+ else if (response.equals("40424"))response="IDEA Cellular - Gujarat"; /*India*/
+ else if (response.equals("40422"))response="IDEA Cellular - Maharashtra"; /*India*/
+ else if (response.equals("405855"))response="Loop Mobile"; /*India*/
+ else if (response.equals("405864"))response="Loop Mobile"; /*India*/
+ else if (response.equals("405865"))response="Loop Mobile"; /*India*/
+ else if (response.equals("40468"))response="MTNL - Delhi"; /*India*/
+ else if (response.equals("40469"))response="MTNL - Mumbai"; /*India*/
+ else if (response.equals("40450"))response="Reliance"; /*India*/
+ else if (response.equals("40452"))response="Reliance"; /*India*/
+ else if (response.equals("40467"))response="Reliance"; /*India*/
+ else if (response.equals("40483"))response="Reliance"; /*India*/
+ else if (response.equals("40485"))response="Reliance"; /*India*/
+ else if (response.equals("40501"))response="Reliance"; /*India*/
+ else if (response.equals("40503"))response="Reliance"; /*India*/
+ else if (response.equals("40504"))response="Reliance"; /*India*/
+ else if (response.equals("40509"))response="Reliance"; /*India*/
+ else if (response.equals("40510"))response="Reliance"; /*India*/
+ else if (response.equals("40513"))response="Reliance"; /*India*/
+ else if (response.equals("40409"))response="Reliance Telecom Private"; /*India*/
+ else if (response.equals("40436"))response="Reliance Telecom Private"; /*India*/
+ else if (response.equals("40441"))response="RPG MAA"; /*India*/
+ else if (response.equals("405881"))response="S Tel"; /*India*/
+ else if (response.equals("40444"))response="Spice Telecom - Karnataka"; /*India*/
+ else if (response.equals("40414"))response="Spice Telecom - Punjab"; /*India*/
+ else if (response.equals("40442"))response="Srinivas Cellcom / Aircel"; /*India*/
+ else if (response.equals("40407"))response="TATA Cellular / Idea Cellular"; /*India*/
+ else if (response.equals("405025"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405026"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405027"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405029"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405030"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405031"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405032"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405033"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405034"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405035"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405036"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405037"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405038"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405039"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405040"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405041"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405042"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405043"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405044"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405045"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405046"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405047"))response="TATA Teleservice"; /*India*/
+ else if (response.equals("405818"))response="Uninor"; /*India*/
+ else if (response.equals("405819"))response="Uninor"; /*India*/
+ else if (response.equals("405820"))response="Uninor"; /*India*/
+ else if (response.equals("405821"))response="Uninor"; /*India*/
+ else if (response.equals("405822"))response="Uninor"; /*India*/
+ else if (response.equals("405844"))response="Uninor"; /*India*/
+ else if (response.equals("405875"))response="Uninor"; /*India*/
+ else if (response.equals("405880"))response="Uninor"; /*India*/
+ else if (response.equals("405927"))response="Uninor"; /*India*/
+ else if (response.equals("405929"))response="Uninor"; /*India*/
+ else if (response.equals("405824"))response="Videocon Datacom"; /*India*/
+ else if (response.equals("405827"))response="Videocon Datacom"; /*India*/
+ else if (response.equals("405834"))response="Videocon Datacom"; /*India*/
+ else if (response.equals("40420"))response="Vodafone"; /*India*/
+ else if (response.equals("40446"))response="Vodafone"; /*India*/
+ else if (response.equals("40405"))response="Vodafone - Gujarat"; /*India*/
+ else if (response.equals("40401"))response="Vodafone - Haryana"; /*India*/
+ else if (response.equals("40430"))response="Vodafone - Kolkata"; /*India*/
+ else if (response.equals("405750"))response="Vodafone IN"; /*India*/
+ else if (response.equals("405751"))response="Vodafone IN"; /*India*/
+ else if (response.equals("405752"))response="Vodafone IN"; /*India*/
+ else if (response.equals("405753"))response="Vodafone IN"; /*India*/
+ else if (response.equals("405754"))response="Vodafone IN"; /*India*/
+ else if (response.equals("405755"))response="Vodafone IN"; /*India*/
+ else if (response.equals("405756"))response="Vodafone IN"; /*India*/
+ else if (response.equals("51089"))response="3"; /*Indonesia*/
+ else if (response.equals("51008"))response="AXIS"; /*Indonesia*/
+ else if (response.equals("51027"))response="Ceria"; /*Indonesia*/
+ else if (response.equals("51099"))response="Esia"; /*Indonesia*/
+ else if (response.equals("51028"))response="Fren/Hepi"; /*Indonesia*/
+ else if (response.equals("51021"))response="IM3"; /*Indonesia*/
+ else if (response.equals("51001"))response="INDOSAT"; /*Indonesia*/
+ else if (response.equals("51000"))response="PSN"; /*Indonesia*/
+ else if (response.equals("51009"))response="SMART"; /*Indonesia*/
+ else if (response.equals("51003"))response="StarOne"; /*Indonesia*/
+ else if (response.equals("51007"))response="TelkomFlexi"; /*Indonesia*/
+ else if (response.equals("51020"))response="TELKOMMobile"; /*Indonesia*/
+ else if (response.equals("51010"))response="Telkomsel"; /*Indonesia*/
+ else if (response.equals("51011"))response="XL"; /*Indonesia*/
+ else if (response.equals("43235"))response="Irancell"; /*Iran*/
+ else if (response.equals("43293"))response="Iraphone"; /*Iran*/
+ else if (response.equals("43211"))response="MCI"; /*Iran*/
+ else if (response.equals("43219"))response="MTCE"; /*Iran*/
+ else if (response.equals("43232"))response="Taliya"; /*Iran*/
+ else if (response.equals("43270"))response="TCI"; /*Iran*/
+ else if (response.equals("43214"))response="TKC"; /*Iran*/
+ else if (response.equals("41805"))response="Asia Cell"; /*Iraq*/
+ else if (response.equals("41850"))response="Asia Cell"; /*Iraq*/
+ else if (response.equals("41840"))response="Korek"; /*Iraq*/
+ else if (response.equals("41845"))response="Mobitel"; /*Iraq*/
+ else if (response.equals("41892"))response="Omnnea"; /*Iraq*/
+ else if (response.equals("41808"))response="SanaTel"; /*Iraq*/
+ else if (response.equals("41820"))response="Zain IQ"; /*Iraq*/
+ else if (response.equals("41830"))response="Zain IQ"; /*Iraq*/
+ else if (response.equals("27205"))response="3"; /*Ireland*/
+ else if (response.equals("27204"))response="Access Telecom"; /*Ireland*/
+ else if (response.equals("27209"))response="Clever Communications"; /*Ireland*/
+ else if (response.equals("27200"))response="E-Mobile"; /*Ireland*/
+ else if (response.equals("27207"))response="Eircom"; /*Ireland*/
+ else if (response.equals("27211"))response="Liffey Telecom"; /*Ireland*/
+ else if (response.equals("27203"))response="Meteor"; /*Ireland*/
+ else if (response.equals("27202"))response="O2"; /*Ireland*/
+ else if (response.equals("272020"))response="Tesco Mobile"; /*Ireland*/
+ else if (response.equals("27201"))response="Vodafone"; /*Ireland*/
+ else if (response.equals("42502"))response="Cellcom"; /*Israel*/
+ else if (response.equals("42577"))response="Mirs"; /*Israel*/
+ else if (response.equals("42501"))response="Orange"; /*Israel*/
+ else if (response.equals("-"))response="Partner"; /*Israel*/
+ else if (response.equals("42503"))response="Pelephone"; /*Israel*/
+ else if (response.equals("22299"))response="3 Italia"; /*Italy*/
+ else if (response.equals("22298"))response="Blu"; /*Italy*/
+ else if (response.equals("22202"))response="Elsacom"; /*Italy*/
+ else if (response.equals("22277"))response="IPSE 2000"; /*Italy*/
+ else if (response.equals("22207"))response="Noverca"; /*Italy*/
+ else if (response.equals("22230"))response="RFI"; /*Italy*/
+ else if (response.equals("22201"))response="TIM"; /*Italy*/
+ else if (response.equals("22210"))response="Vodafone"; /*Italy*/
+ else if (response.equals("22288"))response="Wind"; /*Italy*/
+ else if (response.equals("338020"))response="Cable & Wireless"; /*Jamaica*/
+ else if (response.equals("338180"))response="Cable & Wireless"; /*Jamaica*/
+ else if (response.equals("338070"))response="Claro"; /*Jamaica*/
+ else if (response.equals("338050"))response="Digicel"; /*Jamaica*/
+ else if (response.equals("44001"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44002"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44003"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44009"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44010"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44011"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44012"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44013"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44014"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44015"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44016"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44017"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44018"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44019"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44021"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44022"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44023"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44024"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44025"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44026"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44027"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44028"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44029"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44030"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44031"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44032"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44033"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44034"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44035"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44036"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44037"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44038"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44039"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44049"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44058"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44060"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44061"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44062"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44063"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44064"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44065"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44066"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44067"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44068"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44069"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44087"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44099"))response="DoCoMo"; /*Japan*/
+ else if (response.equals("44000"))response="eMobile"; /*Japan*/
+ else if (response.equals("44007"))response="KDDI"; /*Japan*/
+ else if (response.equals("44008"))response="KDDI"; /*Japan*/
+ else if (response.equals("44050"))response="KDDI"; /*Japan*/
+ else if (response.equals("44051"))response="KDDI"; /*Japan*/
+ else if (response.equals("44052"))response="KDDI"; /*Japan*/
+ else if (response.equals("44053"))response="KDDI"; /*Japan*/
+ else if (response.equals("44054"))response="KDDI"; /*Japan*/
+ else if (response.equals("44055"))response="KDDI"; /*Japan*/
+ else if (response.equals("44056"))response="KDDI"; /*Japan*/
+ else if (response.equals("44070"))response="KDDI"; /*Japan*/
+ else if (response.equals("44071"))response="KDDI"; /*Japan*/
+ else if (response.equals("44072"))response="KDDI"; /*Japan*/
+ else if (response.equals("44073"))response="KDDI"; /*Japan*/
+ else if (response.equals("44074"))response="KDDI"; /*Japan*/
+ else if (response.equals("44075"))response="KDDI"; /*Japan*/
+ else if (response.equals("44076"))response="KDDI"; /*Japan*/
+ else if (response.equals("44077"))response="KDDI"; /*Japan*/
+ else if (response.equals("44079"))response="KDDI"; /*Japan*/
+ else if (response.equals("44088"))response="KDDI"; /*Japan*/
+ else if (response.equals("44089"))response="KDDI"; /*Japan*/
+ else if (response.equals("44078"))response="Okinawa Cellular Telephone"; /*Japan*/
+ else if (response.equals("44020"))response="SoftBank"; /*Japan*/
+ else if (response.equals("44080"))response="TU-KA"; /*Japan*/
+ else if (response.equals("44081"))response="TU-KA"; /*Japan*/
+ else if (response.equals("44082"))response="TU-KA"; /*Japan*/
+ else if (response.equals("44083"))response="TU-KA"; /*Japan*/
+ else if (response.equals("44084"))response="TU-KA"; /*Japan*/
+ else if (response.equals("44085"))response="TU-KA"; /*Japan*/
+ else if (response.equals("44086"))response="TU-KA"; /*Japan*/
+ else if (response.equals("44004"))response="Vodafone"; /*Japan*/
+ else if (response.equals("44006"))response="Vodafone"; /*Japan*/
+ else if (response.equals("44040"))response="Vodafone"; /*Japan*/
+ else if (response.equals("44041"))response="Vodafone"; /*Japan*/
+ else if (response.equals("44042"))response="Vodafone"; /*Japan*/
+ else if (response.equals("44043"))response="Vodafone"; /*Japan*/
+ else if (response.equals("44044"))response="Vodafone"; /*Japan*/
+ else if (response.equals("44045"))response="Vodafone"; /*Japan*/
+ else if (response.equals("44046"))response="Vodafone"; /*Japan*/
+ else if (response.equals("44047"))response="Vodafone"; /*Japan*/
+ else if (response.equals("44048"))response="Vodafone"; /*Japan*/
+ else if (response.equals("44090"))response="Vodafone"; /*Japan*/
+ else if (response.equals("44092"))response="Vodafone"; /*Japan*/
+ else if (response.equals("44093"))response="Vodafone"; /*Japan*/
+ else if (response.equals("44094"))response="Vodafone"; /*Japan*/
+ else if (response.equals("44095"))response="Vodafone"; /*Japan*/
+ else if (response.equals("44096"))response="Vodafone"; /*Japan*/
+ else if (response.equals("44097"))response="Vodafone"; /*Japan*/
+ else if (response.equals("44098"))response="Vodafone"; /*Japan*/
+ else if (response.equals("41677"))response="Orange"; /*Jordan*/
+ else if (response.equals("41603"))response="Umniah"; /*Jordan*/
+ else if (response.equals("41602"))response="XPress Telecom"; /*Jordan*/
+ else if (response.equals("41601"))response="Zain"; /*Jordan*/
+ else if (response.equals("40101"))response="Beeline"; /*Kazakhstan*/
+ else if (response.equals("40107"))response="Dalacom"; /*Kazakhstan*/
+ else if (response.equals("40102"))response="K'Cell"; /*Kazakhstan*/
+ else if (response.equals("40108"))response="Kazakhtelecom"; /*Kazakhstan*/
+ else if (response.equals("40177"))response="Mobile Telecom Service"; /*Kazakhstan*/
+ else if (response.equals("63907"))response="Orange Kenya"; /*Kenya*/
+ else if (response.equals("63902"))response="Safaricom"; /*Kenya*/
+ else if (response.equals("63905"))response="yu"; /*Kenya*/
+ else if (response.equals("63903"))response="Zain"; /*Kenya*/
+ else if (response.equals("54509"))response="Kiribati Frigate"; /*Kiribati*/
+ else if (response.equals("41904"))response="Viva"; /*Kuwait*/
+ else if (response.equals("41903"))response="Wataniya"; /*Kuwait*/
+ else if (response.equals("41902"))response="Zain"; /*Kuwait*/
+ else if (response.equals("43701"))response="Bitel"; /*Kyrgyzstan*/
+ else if (response.equals("43703"))response="Fonex"; /*Kyrgyzstan*/
+ else if (response.equals("43705"))response="MegaCom"; /*Kyrgyzstan*/
+ else if (response.equals("43709"))response="O!"; /*Kyrgyzstan*/
+ else if (response.equals("45702"))response="ETL"; /*Laos*/
+ else if (response.equals("45701"))response="LaoTel"; /*Laos*/
+ else if (response.equals("45703"))response="LAT"; /*Laos*/
+ else if (response.equals("45708"))response="Tigo"; /*Laos*/
+ else if (response.equals("24705"))response="Bite"; /*Latvia*/
+ else if (response.equals("24709"))response="Camel Mobile"; /*Latvia*/
+ else if (response.equals("24708"))response="IZZI"; /*Latvia*/
+ else if (response.equals("24701"))response="LMT"; /*Latvia*/
+ else if (response.equals("24707"))response="MTS"; /*Latvia*/
+ else if (response.equals("24706"))response="Rigatta"; /*Latvia*/
+ else if (response.equals("24702"))response="Tele2"; /*Latvia*/
+ else if (response.equals("24703"))response="TRIATEL"; /*Latvia*/
+ else if (response.equals("41501"))response="Alfa"; /*Lebanon*/
+ else if (response.equals("41503"))response="MTC-Touch"; /*Lebanon*/
+ else if (response.equals("41505"))response="Ogero Mobile"; /*Lebanon*/
+ else if (response.equals("65102"))response="Econet Ezin-cel"; /*Lesotho*/
+ else if (response.equals("65101"))response="Vodacom"; /*Lesotho*/
+ else if (response.equals("60602"))response="Al-Jeel Phone"; /*Libya*/
+ else if (response.equals("60606"))response="Hatef Libya"; /*Libya*/
+ else if (response.equals("60603"))response="Libya Phone"; /*Libya*/
+ else if (response.equals("60600"))response="Libyana"; /*Libya*/
+ else if (response.equals("60601"))response="Madar"; /*Libya*/
+ else if (response.equals("29504"))response="Cubic Telecom"; /*Liechtenstein*/
+ else if (response.equals("29505"))response="FL1"; /*Liechtenstein*/
+ else if (response.equals("29502"))response="Orange"; /*Liechtenstein*/
+ else if (response.equals("29501"))response="Swisscom"; /*Liechtenstein*/
+ else if (response.equals("29577"))response="Tele 2"; /*Liechtenstein*/
+ else if (response.equals("24602"))response="BITE"; /*Lithuania*/
+ else if (response.equals("24605"))response="LitRail"; /*Lithuania*/
+ else if (response.equals("24606"))response="Mediafon"; /*Lithuania*/
+ else if (response.equals("24601"))response="Omnitel"; /*Lithuania*/
+ else if (response.equals("24603"))response="Tele 2"; /*Lithuania*/
+ else if (response.equals("61807"))response="Cellcom"; /*Livery*/
+ else if (response.equals("61804"))response="Comium Liberi"; /*Livery*/
+ else if (response.equals("61802"))response="Libercell"; /*Livery*/
+ else if (response.equals("61820"))response="LIBTELCO"; /*Livery*/
+ else if (response.equals("61801"))response="Lonestar Cell"; /*Livery*/
+ else if (response.equals("27001"))response="LuxGSM"; /*Luksemburg*/
+ else if (response.equals("27077"))response="Tango"; /*Luksemburg*/
+ else if (response.equals("27099"))response="Voxmobile"; /*Luksemburg*/
+ else if (response.equals("45503"))response="3"; /*Macao (People's Republic of China)*/
+ else if (response.equals("45505"))response="3"; /*Macao (People's Republic of China)*/
+ else if (response.equals("45502"))response="China Telecom"; /*Macao (People's Republic of China)*/
+ else if (response.equals("45501"))response="CTM"; /*Macao (People's Republic of China)*/
+ else if (response.equals("45504"))response="CTM"; /*Macao (People's Republic of China)*/
+ else if (response.equals("45500"))response="SmarTone"; /*Macao (People's Republic of China)*/
+ else if (response.equals("64602"))response="Orange"; /*Madagascar*/
+ else if (response.equals("64603"))response="Sacel"; /*Madagascar*/
+ else if (response.equals("64604"))response="Telma"; /*Madagascar*/
+ else if (response.equals("64601"))response="Zain"; /*Madagascar*/
+ else if (response.equals("65001"))response="TNM"; /*Malawi*/
+ else if (response.equals("65010"))response="Zain"; /*Malawi*/
+ else if (response.equals("50201"))response="ATUR 450"; /*Malaysia*/
+ else if (response.equals("502151"))response="Baraka Telecom Sdn Bhd (MVNE)"; /*Malaysia*/
+ else if (response.equals("50213"))response="Celcom"; /*Malaysia*/
+ else if (response.equals("50219"))response="Celcom"; /*Malaysia*/
+ else if (response.equals("50216"))response="DiGi"; /*Malaysia*/
+ else if (response.equals("50210"))response="DiGi Telecommunications"; /*Malaysia*/
+ else if (response.equals("50220"))response="Electcoms Wireless Sdn Bhd"; /*Malaysia*/
+ else if (response.equals("50212"))response="Maxis"; /*Malaysia*/
+ else if (response.equals("50217"))response="Maxis"; /*Malaysia*/
+ else if (response.equals("50214"))response="Telekom Malaysia Berhad for PSTN SMS"; /*Malaysia*/
+ else if (response.equals("50211"))response="TM Homeline"; /*Malaysia*/
+ else if (response.equals("502150"))response="Tune Talk Sdn Bhd"; /*Malaysia*/
+ else if (response.equals("50218"))response="U Mobile"; /*Malaysia*/
+ else if (response.equals("502152"))response="Yes"; /*Malaysia*/
+ else if (response.equals("47201"))response="Dhiraagu"; /*Maldives*/
+ else if (response.equals("47202"))response="Wataniya"; /*Maldives*/
+ else if (response.equals("61001"))response="Malitel"; /*Mali*/
+ else if (response.equals("61002"))response="Orange"; /*Mali*/
+ else if (response.equals("27821"))response="GO"; /*Malta*/
+ else if (response.equals("27877"))response="Melita"; /*Malta*/
+ else if (response.equals("27801"))response="Vodafone"; /*Malta*/
+ else if (response.equals("60902"))response="Chinguitel"; /*Mauretania*/
+ else if (response.equals("60901"))response="Mattel"; /*Mauretania*/
+ else if (response.equals("60910"))response="Mauritel"; /*Mauretania*/
+ else if (response.equals("61710"))response="Emtel"; /*Mauritius*/
+ else if (response.equals("61702"))response="Mahanagar Telephone (Mauritius) Ltd."; /*Mauritius*/
+ else if (response.equals("61701"))response="Orange"; /*Mauritius*/
+ else if (response.equals("334050"))response="Iusacell"; /*Mexico*/
+ else if (response.equals("33403"))response="movistar"; /*Mexico*/
+ else if (response.equals("334030"))response="movistar"; /*Mexico*/
+ else if (response.equals("33401"))response="Nextel"; /*Mexico*/
+ else if (response.equals("334010"))response="Nextel"; /*Mexico*/
+ else if (response.equals("33402"))response="Telcel"; /*Mexico*/
+ else if (response.equals("334020"))response="Telcel"; /*Mexico*/
+ else if (response.equals("55001"))response="FSM Telecom"; /*Micronesia*/
+ else if (response.equals("25904"))response="Eventis"; /*Moldova*/
+ else if (response.equals("25903"))response="IDC"; /*Moldova*/
+ else if (response.equals("25902"))response="Moldcell"; /*Moldova*/
+ else if (response.equals("25901"))response="Orange"; /*Moldova*/
+ else if (response.equals("25905"))response="UnitE"; /*Moldova*/
+ else if (response.equals("25999"))response="UnitE"; /*Moldova*/
+ else if (response.equals("21201"))response="Office des Telephones"; /*Monaco*/
+ else if (response.equals("42898"))response="G.Mobile"; /*Mongolia*/
+ else if (response.equals("42899"))response="MobiCom"; /*Mongolia*/
+ else if (response.equals("42891"))response="Skytel"; /*Mongolia*/
+ else if (response.equals("42888"))response="Unitel"; /*Mongolia*/
+ else if (response.equals("29703"))response="m:tel CG"; /*Montenegro*/
+ else if (response.equals("22004"))response="T-Mobile"; /*Montenegro*/
+ else if (response.equals("29702"))response="T-Mobile"; /*Montenegro*/
+ else if (response.equals("29704"))response="T-Mobile"; /*Montenegro*/
+ else if (response.equals("29701"))response="Telenor Montenegro"; /*Montenegro*/
+ else if (response.equals("60401"))response="IAM"; /*Morocco*/
+ else if (response.equals("60405"))response="INWI"; /*Morocco*/
+ else if (response.equals("60400"))response="Meditel"; /*Morocco*/
+ else if (response.equals("64301"))response="mCel"; /*Mozambique*/
+ else if (response.equals("64304"))response="Vodacom"; /*Mozambique*/
+ else if (response.equals("41401"))response="MPT"; /*Myanmar*/
+ else if (response.equals("64903"))response="Cell One"; /*Namibia*/
+ else if (response.equals("64901"))response="MTC"; /*Namibia*/
+ else if (response.equals("64902"))response="switch"; /*Namibia*/
+ else if (response.equals("53602"))response="Digicel"; /*Nauru*/
+ else if (response.equals("42902"))response="Mero Mobile"; /*Nepal*/
+ else if (response.equals("42901"))response="Nepal Telecom"; /*Nepal*/
+ else if (response.equals("42904"))response="SmartCell"; /*Nepal*/
+ else if (response.equals("42903"))response="United Telecom Limited"; /*Nepal*/
+ else if (response.equals("36294"))response="Bayus"; /*Netherlands Antilles (Netherlands)*/
+ else if (response.equals("36269"))response="Digicel"; /*Netherlands Antilles (Netherlands)*/
+ else if (response.equals("36295"))response="MIO"; /*Netherlands Antilles (Netherlands)*/
+ else if (response.equals("36251"))response="Telcell"; /*Netherlands Antilles (Netherlands)*/
+ else if (response.equals("36291"))response="UTS"; /*Netherlands Antilles (Netherlands)*/
+ else if (response.equals("54601"))response="Mobilis"; /*New Caledonia (France)*/
+ else if (response.equals("53024"))response="NZ Comms"; /*New Zealand*/
+ else if (response.equals("53000"))response="Telecom"; /*New Zealand*/
+ else if (response.equals("53002"))response="Telecom"; /*New Zealand*/
+ else if (response.equals("53005"))response="Telecom"; /*New Zealand*/
+ else if (response.equals("53004"))response="TelstraClear"; /*New Zealand*/
+ else if (response.equals("53001"))response="Vodafone"; /*New Zealand*/
+ else if (response.equals("53003"))response="Woosh"; /*New Zealand*/
+ else if (response.equals("71021"))response="Claro"; /*Nicaragua*/
+ else if (response.equals("71030"))response="movistar"; /*Nicaragua*/
+ else if (response.equals("71073"))response="SERCOM"; /*Nicaragua*/
+ else if (response.equals("61404"))response="Orange"; /*Niger*/
+ else if (response.equals("61401"))response="SahelCom"; /*Niger*/
+ else if (response.equals("61403"))response="Telecel"; /*Niger*/
+ else if (response.equals("61402"))response="Zain"; /*Niger*/
+ else if (response.equals("62160"))response="Etisalat"; /*Nigeria*/
+ else if (response.equals("62150"))response="Glo"; /*Nigeria*/
+ else if (response.equals("62140"))response="M-Tel"; /*Nigeria*/
+ else if (response.equals("62130"))response="MTN"; /*Nigeria*/
+ else if (response.equals("62125"))response="Visafone"; /*Nigeria*/
+ else if (response.equals("62120"))response="Zain"; /*Nigeria*/
+ else if (response.equals("55501"))response="Telecom Niue"; /*Niue*/
+ else if (response.equals("467192"))response="Koryolink"; /*North Korea*/
+ else if (response.equals("467193"))response="SUN NET"; /*North Korea*/
+ else if (response.equals("24209"))response="Barablu Mobile Norway Ltd"; /*Norway*/
+ else if (response.equals("24206"))response="Ice"; /*Norway*/
+ else if (response.equals("24220"))response="Jernbaneverket AS"; /*Norway*/
+ else if (response.equals("24223"))response="Lyca"; /*Norway*/
+ else if (response.equals("24203"))response="MTU"; /*Norway*/
+ else if (response.equals("24202"))response="NetCom"; /*Norway*/
+ else if (response.equals("24205"))response="Network Norway"; /*Norway*/
+ else if (response.equals("24211"))response="SystemNet"; /*Norway*/
+ else if (response.equals("24208"))response="TDC Mobil AS"; /*Norway*/
+ else if (response.equals("24204"))response="Tele2"; /*Norway*/
+ else if (response.equals("24201"))response="Telenor"; /*Norway*/
+ else if (response.equals("--"))response="Telia"; /*Norway*/
+ else if (response.equals("24207"))response="Ventelo"; /*Norway*/
+ else if (response.equals("42203"))response="Nawras"; /*Oman*/
+ else if (response.equals("42202"))response="Oman Mobile"; /*Oman*/
+ else if (response.equals("25030"))response="Megafon"; /*Osetia*/
+ else if (response.equals("41008"))response="Instaphone"; /*Pakistan*/
+ else if (response.equals("41001"))response="Mobilink"; /*Pakistan*/
+ else if (response.equals("41006"))response="Telenor"; /*Pakistan*/
+ else if (response.equals("41003"))response="Ufone"; /*Pakistan*/
+ else if (response.equals("41007"))response="Warid"; /*Pakistan*/
+ else if (response.equals("41004"))response="Zong"; /*Pakistan*/
+ else if (response.equals("55280"))response="Palau Mobile"; /*Palau*/
+ else if (response.equals("55201"))response="PNCC"; /*Palau*/
+ else if (response.equals("42505"))response="JAWWAL"; /*Palestine*/
+ else if (response.equals("42506"))response="Wataniya"; /*Palestine*/
+ else if (response.equals("71401"))response="Cable & Wireless"; /*Panama*/
+ else if (response.equals("71404"))response="Digicel"; /*Panama*/
+ else if (response.equals("71403"))response="laro"; /*Panama*/
+ else if (response.equals("71402"))response="movistar"; /*Panama*/
+ else if (response.equals("53701"))response="B-Mobile"; /*Papua New Guinea*/
+ else if (response.equals("53703"))response="Digicel"; /*Papua New Guinea*/
+ else if (response.equals("74402"))response="Claro"; /*Paraguay*/
+ else if (response.equals("74406"))response="Copaco"; /*Paraguay*/
+ else if (response.equals("74405"))response="Personal"; /*Paraguay*/
+ else if (response.equals("74404"))response="Tigo"; /*Paraguay*/
+ else if (response.equals("74401"))response="VOX"; /*Paraguay*/
+ else if (response.equals("71610"))response="Claro"; /*Peru*/
+ else if (response.equals("71606"))response="movistar"; /*Peru*/
+ else if (response.equals("71607"))response="NEXTEL"; /*Peru*/
+ else if (response.equals("51511"))response="ACeS Philippines"; /*Philippines*/
+ else if (response.equals("51505"))response="Digitel"; /*Philippines*/
+ else if (response.equals("51502"))response="Globe"; /*Philippines*/
+ else if (response.equals("51501"))response="Islacom"; /*Philippines*/
+ else if (response.equals("51588"))response="Nextel"; /*Philippines*/
+ else if (response.equals("51518"))response="Red Mobile"; /*Philippines*/
+ else if (response.equals("51503"))response="Smart Gold"; /*Philippines*/
+ else if (response.equals("26017"))response="Aero2"; /*Poland*/
+ else if (response.equals("26015"))response="CenterNet"; /*Poland*/
+ else if (response.equals("26012"))response="Cyfrowy Polsat"; /*Poland*/
+ else if (response.equals("26008"))response="E-Telko"; /*Poland*/
+ else if (response.equals("26016"))response="Mobyland"; /*Poland*/
+ else if (response.equals("26011"))response="Nordisk Polska"; /*Poland*/
+ else if (response.equals("26003"))response="Orange"; /*Poland*/
+ else if (response.equals("26006"))response="Play"; /*Poland*/
+ else if (response.equals("26001"))response="Plus"; /*Poland*/
+ else if (response.equals("26005"))response="Polska Telefonia"; /*Poland*/
+ else if (response.equals("26007"))response="Premium Internet"; /*Poland*/
+ else if (response.equals("26013"))response="Sferia"; /*Poland*/
+ else if (response.equals("26002"))response="T-mobile"; /*Poland*/
+ else if (response.equals("26004"))response="Tele2"; /*Poland*/
+ else if (response.equals("26010"))response="Telefony Opalenickie"; /*Poland*/
+ else if (response.equals("26009"))response="Telekomunikacja Kolejowa"; /*Poland*/
+ else if (response.equals("26803"))response="Optimus"; /*Portugal*/
+ else if (response.equals("26806"))response="TMN"; /*Portugal*/
+ else if (response.equals("26801"))response="Vodafone"; /*Portugal*/
+ else if (response.equals("26821"))response="Zapp"; /*Portugal*/
+ else if (response.equals("33011"))response="Claro"; /*Puerto Rico*/
+ else if (response.equals("330110"))response="Claro"; /*Puerto Rico*/
+ else if (response.equals("33000"))response="Open Mobile"; /*Puerto Rico*/
+ else if (response.equals("42705"))response="Ministry of Interior"; /*Qatar*/
+ else if (response.equals("42701"))response="Qatarnet"; /*Qatar*/
+ else if (response.equals("42702"))response="Vodafone"; /*Qatar*/
+ else if (response.equals("62910"))response="Libertis Telecom"; /*Republic of Congo*/
+ else if (response.equals("62907"))response="Warid Telecom"; /*Republic of Congo*/
+ else if (response.equals("62901"))response="Zain"; /*Republic of Congo*/
+ else if (response.equals("29402"))response="Cosmofon"; /*Republic of Macedonia*/
+ else if (response.equals("29401"))response="T-Mobile"; /*Republic of Macedonia*/
+ else if (response.equals("29403"))response="VIP"; /*Republic of Macedonia*/
+ else if (response.equals("64700"))response="Orange"; /*Reunion (France)*/
+ else if (response.equals("64702"))response="Outremer"; /*Reunion (France)*/
+ else if (response.equals("64710"))response="SFR Reunion"; /*Reunion (France)*/
+ else if (response.equals("22603"))response="Cosmote"; /*Romania*/
+ else if (response.equals("22605"))response="DIGI.mobil"; /*Romania*/
+ else if (response.equals("22611"))response="Enigma-System"; /*Romania*/
+ else if (response.equals("22610"))response="Orange"; /*Romania*/
+ else if (response.equals("22602"))response="Romtelecom"; /*Romania*/
+ else if (response.equals("22601"))response="Vodafone"; /*Romania*/
+ else if (response.equals("22604"))response="Zapp"; /*Romania*/
+ else if (response.equals("22606"))response="Zapp"; /*Romania*/
+ else if (response.equals("25012"))response="Baykalwestcom"; /*Russian Federation*/
+ else if (response.equals("25028"))response="Beeline"; /*Russian Federation*/
+ else if (response.equals("25099"))response="Beeline"; /*Russian Federation*/
+ else if (response.equals("25010"))response="DTC"; /*Russian Federation*/
+ else if (response.equals("25005"))response="ETK"; /*Russian Federation*/
+ else if (response.equals("25019"))response="INDIGO"; /*Russian Federation*/
+ else if (response.equals("25013"))response="KUGSM"; /*Russian Federation*/
+ else if (response.equals("25002"))response="MegaFon"; /*Russian Federation*/
+ else if (response.equals("25023"))response="Mobicom - Novosibirsk"; /*Russian Federation*/
+ else if (response.equals("25035"))response="MOTIV"; /*Russian Federation*/
+ else if (response.equals("25001"))response="MTS"; /*Russian Federation*/
+ else if (response.equals("25003"))response="NCC"; /*Russian Federation*/
+ else if (response.equals("25016"))response="NTC"; /*Russian Federation*/
+ else if (response.equals("25011"))response="Orensot"; /*Russian Federation*/
+ else if (response.equals("25092"))response="Primtelefon"; /*Russian Federation*/
+ else if (response.equals("25004"))response="Sibchallenge"; /*Russian Federation*/
+ else if (response.equals("25006"))response="Skylink"; /*Russian Federation*/
+ else if (response.equals("25009"))response="Skylink"; /*Russian Federation*/
+ else if (response.equals("25007"))response="SMARTS"; /*Russian Federation*/
+ else if (response.equals("25014"))response="SMARTS"; /*Russian Federation*/
+ else if (response.equals("25015"))response="SMARTS"; /*Russian Federation*/
+ else if (response.equals("25044"))response="Stavtelesot / North Caucasian GSM"; /*Russian Federation*/
+ else if (response.equals("25038"))response="Tambov GSM"; /*Russian Federation*/
+ else if (response.equals("25020"))response="Tele2"; /*Russian Federation*/
+ else if (response.equals("25093"))response="Telecom XXI"; /*Russian Federation*/
+ else if (response.equals("25017"))response="Utel"; /*Russian Federation*/
+ else if (response.equals("25039"))response="Utel"; /*Russian Federation*/
+ else if (response.equals("63510"))response="MTN"; /*Rwanda*/
+ else if (response.equals("63512"))response="Rwandatel"; /*Rwanda*/
+ else if (response.equals("63513"))response="Tigo"; /*Rwanda*/
+ else if (response.equals("356110"))response="Cable & Wireless"; /*Saint Kitts and Nevis*/
+ else if (response.equals("356070"))response="Chippie"; /*Saint Kitts and Nevis*/
+ else if (response.equals("356050"))response="Digicel"; /*Saint Kitts and Nevis*/
+ else if (response.equals("358110"))response="Cable & Wireless"; /*Saint Lucia*/
+ else if (response.equals("358050"))response="Digicel"; /*Saint Lucia*/
+ else if (response.equals("360110"))response="Cable & Wireless"; /*Saint Vincent and the Grenadines*/
+ else if (response.equals("360100"))response="Cingular Wireless"; /*Saint Vincent and the Grenadines*/
+ else if (response.equals("360050"))response="Digicel"; /*Saint Vincent and the Grenadines*/
+ else if (response.equals("360070"))response="Digicel"; /*Saint Vincent and the Grenadines*/
+ else if (response.equals("30801"))response="Ameris"; /*Saint-Pierre and Miquelon (France)*/
+ else if (response.equals("54901"))response="Digicel"; /*Samoa*/
+ else if (response.equals("54927"))response="SamoaTel"; /*Samoa*/
+ else if (response.equals("29201"))response="PRIMA"; /*San Marino*/
+ else if (response.equals("62601"))response="CSTmovel"; /*Sao Tome and Principe*/
+ else if (response.equals("42007"))response="EAE"; /*Saudi Arabia*/
+ else if (response.equals("42003"))response="Mobily"; /*Saudi Arabia*/
+ else if (response.equals("42001"))response="STC"; /*Saudi Arabia*/
+ else if (response.equals("42004"))response="Zain SA"; /*Saudi Arabia*/
+ else if (response.equals("60803"))response="Expresso"; /*Senegal*/
+ else if (response.equals("60802"))response="Sentel GSM"; /*Senegal*/
+ else if (response.equals("60801"))response="Sonatel ALIZE"; /*Senegal*/
+ else if (response.equals("22003"))response="Telekom Srbija"; /*Serbia*/
+ else if (response.equals("22001"))response="Telenor"; /*Serbia*/
+ else if (response.equals("22005"))response="VIP Mobile"; /*Serbia*/
+ else if (response.equals("63301"))response="Cable & Wireless (Seychelles) Ltd."; /*Seychelles*/
+ else if (response.equals("63302"))response="Mediatech International"; /*Seychelles*/
+ else if (response.equals("63310"))response="Telecom Airtel"; /*Seychelles*/
+ else if (response.equals("61905"))response="Africell"; /*Sierra Leone*/
+ else if (response.equals("61904"))response="Comium"; /*Sierra Leone*/
+ else if (response.equals("61903"))response="Datatel"; /*Sierra Leone*/
+ else if (response.equals("61902"))response="Millicom"; /*Sierra Leone*/
+ else if (response.equals("61925"))response="Mobitel"; /*Sierra Leone*/
+ else if (response.equals("61901"))response="Zain"; /*Sierra Leone*/
+ else if (response.equals("52512"))response="Digital Trunked Radio Network"; /*Singapore*/
+ else if (response.equals("52503"))response="M1"; /*Singapore*/
+ else if (response.equals("52501"))response="SingTel"; /*Singapore*/
+ else if (response.equals("52502"))response="SingTel-G18"; /*Singapore*/
+ else if (response.equals("52505"))response="StarHub"; /*Singapore*/
+ else if (response.equals("23105"))response="Mobile Entertainment Company"; /*Slovakia*/
+ else if (response.equals("23106"))response="O2"; /*Slovakia*/
+ else if (response.equals("23101"))response="Orange"; /*Slovakia*/
+ else if (response.equals("23102"))response="T-Mobile"; /*Slovakia*/
+ else if (response.equals("23104"))response="T-Mobile"; /*Slovakia*/
+ else if (response.equals("23103"))response="Unient Communications"; /*Slovakia*/
+ else if (response.equals("23199"))response="eSR"; /*Slovakia*/
+ else if (response.equals("29341"))response="Mobitel"; /*Slovenia*/
+ else if (response.equals("29340"))response="SI.mobil - Vodafone"; /*Slovenia*/
+ else if (response.equals("29364"))response="T-2"; /*Slovenia*/
+ else if (response.equals("29370"))response="Tusmobil"; /*Slovenia*/
+ else if (response.equals("54001"))response="BREEZE"; /*Solomon Islands*/
+ else if (response.equals("5401"))response="BREEZE"; /*Solomon Islands*/
+ else if (response.equals("63730"))response="Golis"; /*Somalia*/
+ else if (response.equals("63725"))response="Hormuud"; /*Somalia*/
+ else if (response.equals("63710"))response="Nationlink"; /*Somalia*/
+ else if (response.equals("63760"))response="Nationlink Telecom"; /*Somalia*/
+ else if (response.equals("63704"))response="Somafone"; /*Somalia*/
+ else if (response.equals("638"))response="Telcom Mobile"; /*Somalia*/
+ else if (response.equals("63701"))response="Telesom"; /*Somalia*/
+ else if (response.equals("63782"))response="Telesom"; /*Somalia*/
+ else if (response.equals("65530"))response="Bokamoso Consortium"; /*South Africa*/
+ else if (response.equals("65521"))response="Cape Town Metropolitan Council"; /*South Africa*/
+ else if (response.equals("65507"))response="Cell C"; /*South Africa*/
+ else if (response.equals("65532"))response="Ilizwi Telecommunications"; /*South Africa*/
+ else if (response.equals("65531"))response="Karabo Telecoms (Pty) Ltd."; /*South Africa*/
+ else if (response.equals("65510"))response="MTN"; /*South Africa*/
+ else if (response.equals("65513"))response="Neotel"; /*South Africa*/
+ else if (response.equals("65511"))response="SAPS Gauteng"; /*South Africa*/
+ else if (response.equals("65506"))response="Sentech"; /*South Africa*/
+ else if (response.equals("65502"))response="Telkom Mobile / 8.ta"; /*South Africa*/
+ else if (response.equals("65533"))response="Thinta Thinta Telecommunications"; /*South Africa*/
+ else if (response.equals("65501"))response="Vodacom"; /*South Africa*/
+ else if (response.equals("45004"))response="KT"; /*South Korea*/
+ else if (response.equals("45008"))response="KTF"; /*South Korea*/
+ else if (response.equals("45002"))response="KTF CDMA"; /*South Korea*/
+ else if (response.equals("45006"))response="LGU+"; /*South Korea*/
+ else if (response.equals("45003"))response="Power 017"; /*South Korea*/
+ else if (response.equals("45005"))response="SK Telecom"; /*South Korea*/
+ else if (response.equals("21423"))response="BARABLU"; /*Spain*/
+ else if (response.equals("21415"))response="BT"; /*Spain*/
+ else if (response.equals("21422"))response="DigiMobil"; /*Spain*/
+ else if (response.equals("21424"))response="Eroski"; /*Spain*/
+ else if (response.equals("21408"))response="Euskaltel"; /*Spain*/
+ else if (response.equals("21420"))response="Fonyou"; /*Spain*/
+ else if (response.equals("21425"))response="LycaMobile"; /*Spain*/
+ else if (response.equals("21407"))response="movistar"; /*Spain*/
+ else if (response.equals("21417"))response="MUbil R"; /*Spain*/
+ else if (response.equals("21418"))response="ONO"; /*Spain*/
+ else if (response.equals("21403"))response="Orange"; /*Spain*/
+ else if (response.equals("21409"))response="Orange"; /*Spain*/
+ else if (response.equals("21419"))response="Simyo"; /*Spain*/
+ else if (response.equals("21416"))response="TeleCable"; /*Spain*/
+ else if (response.equals("21405"))response="TME"; /*Spain*/
+ else if (response.equals("21401"))response="Vodafone"; /*Spain*/
+ else if (response.equals("21406"))response="Vodafone"; /*Spain*/
+ else if (response.equals("21404"))response="Yoigo"; /*Spain*/
+ else if (response.equals("41305"))response="Airtel"; /*Sri Lanka*/
+ else if (response.equals("41302"))response="Dialog"; /*Sri Lanka*/
+ else if (response.equals("41308"))response="Hutch Sri Lanka"; /*Sri Lanka*/
+ else if (response.equals("41301"))response="Mobitel"; /*Sri Lanka*/
+ else if (response.equals("41303"))response="Tigo"; /*Sri Lanka*/
+ else if (response.equals("63401"))response="Mobitel / Mobile Telephone Company"; /*Sudan*/
+ else if (response.equals("63402"))response="MTN"; /*Sudan*/
+ else if (response.equals("63407"))response="Sudani One"; /*Sudan*/
+ else if (response.equals("63405"))response="Vivacell"; /*Sudan*/
+ else if (response.equals("74603"))response="Digicel"; /*Suriname*/
+ else if (response.equals("74602"))response="Telesu"; /*Suriname*/
+ else if (response.equals("74604"))response="Uniqa"; /*Suriname*/
+ else if (response.equals("65310"))response="Swazi MTN"; /*Swaziland*/
+ else if (response.equals("24002"))response="3 HUTCHISON"; /*Sweden*/
+ else if (response.equals("24004"))response="3G Infrastructure Services"; /*Sweden*/
+ else if (response.equals("24016"))response="42IT"; /*Sweden*/
+ else if (response.equals("24021"))response="Banverket"; /*Sweden*/
+ else if (response.equals("24012"))response="Barablu Mobile Scandinavia"; /*Sweden*/
+ else if (response.equals("24026"))response="Beepsend"; /*Sweden*/
+ else if (response.equals("24025"))response="DigiTelMobile"; /*Sweden*/
+ else if (response.equals("24017"))response="Gotanet"; /*Sweden*/
+ else if (response.equals("24000"))response="Halebop"; /*Sweden*/
+ else if (response.equals("24011"))response="Lindholmen Science Park"; /*Sweden*/
+ else if (response.equals("24033"))response="Mobile Arts AB"; /*Sweden*/
+ else if (response.equals("24003"))response="Nordisk Mobiltelefon"; /*Sweden*/
+ else if (response.equals("24010"))response="SpringMobil"; /*Sweden*/
+ else if (response.equals("24024"))response="Sweden 2G"; /*Sweden*/
+ else if (response.equals("24024"))response="Sweden 2G"; /*Sweden*/
+ else if (response.equals("24005"))response="Sweden 3G"; /*Sweden*/
+ else if (response.equals("24014"))response="TDC Mobil"; /*Sweden*/
+ else if (response.equals("24007"))response="Tele2Comviq"; /*Sweden*/
+ else if (response.equals("24006"))response="Telenor"; /*Sweden*/
+ else if (response.equals("24008"))response="Telenor"; /*Sweden*/
+ else if (response.equals("24009"))response="Telenor Mobile Sverige"; /*Sweden*/
+ else if (response.equals("24001"))response="TeliaSonera Mobile Networks"; /*Sweden*/
+ else if (response.equals("24013"))response="Ventelo Sverige"; /*Sweden*/
+ else if (response.equals("24020"))response="Wireless Maingate"; /*Sweden*/
+ else if (response.equals("24015"))response="Wireless Maingate Nordic"; /*Sweden*/
+ else if (response.equals("22850"))response="3G Mobile AG"; /*Switzerland*/
+ else if (response.equals("22851"))response="BebbiCell AG"; /*Switzerland*/
+ else if (response.equals("22807"))response="IN&Phone"; /*Switzerland*/
+ else if (response.equals("22803"))response="Orange"; /*Switzerland*/
+ else if (response.equals("22806"))response="SBB AG"; /*Switzerland*/
+ else if (response.equals("22802"))response="Sunrise"; /*Switzerland*/
+ else if (response.equals("22801"))response="Swisscom"; /*Switzerland*/
+ else if (response.equals("22808"))response="Tele2"; /*Switzerland*/
+ else if (response.equals("22805"))response="Togewanet AG (Comfone)"; /*Switzerland*/
+ else if (response.equals("41702"))response="MTN Syria"; /*Syria*/
+ else if (response.equals("41701"))response="SyriaTel"; /*Syria*/
+ else if (response.equals("46602"))response="APTG"; /*Taiwan*/
+ else if (response.equals("46605"))response="APTG"; /*Taiwan*/
+ else if (response.equals("46611"))response="Chunghwa LDM"; /*Taiwan*/
+ else if (response.equals("46692"))response="Chungwa"; /*Taiwan*/
+ else if (response.equals("46601"))response="FarEasTone"; /*Taiwan*/
+ else if (response.equals("46688"))response="KG Telecom"; /*Taiwan*/
+ else if (response.equals("46693"))response="MobiTai"; /*Taiwan*/
+ else if (response.equals("46697"))response="Taiwan Mobile"; /*Taiwan*/
+ else if (response.equals("46699"))response="TransAsia"; /*Taiwan*/
+ else if (response.equals("46606"))response="Tuntex"; /*Taiwan*/
+ else if (response.equals("46689"))response="VIBO"; /*Taiwan*/
+ else if (response.equals("43604"))response="Babilon-M"; /*Tajikistan*/
+ else if (response.equals("43605"))response="CTJTHSC Tajik-tel"; /*Tajikistan*/
+ else if (response.equals("43602"))response="Indigo"; /*Tajikistan*/
+ else if (response.equals("43603"))response="MLT"; /*Tajikistan*/
+ else if (response.equals("43601"))response="Somoncom"; /*Tajikistan*/
+ else if (response.equals("43612"))response="Tcell"; /*Tajikistan*/
+ else if (response.equals("64009"))response="Hits"; /*Tanzania*/
+ else if (response.equals("64002"))response="Mobitel"; /*Tanzania*/
+ else if (response.equals("64006"))response="Sasatel"; /*Tanzania*/
+ else if (response.equals("64011"))response="SmileCom"; /*Tanzania*/
+ else if (response.equals("64001"))response="Tritel"; /*Tanzania*/
+ else if (response.equals("64007"))response="TTCL Mobile"; /*Tanzania*/
+ else if (response.equals("64008"))response="TTCL Mobile"; /*Tanzania*/
+ else if (response.equals("64004"))response="Vodacom"; /*Tanzania*/
+ else if (response.equals("64005"))response="Zain"; /*Tanzania*/
+ else if (response.equals("64003"))response="Zantel"; /*Tanzania*/
+ else if (response.equals("52015"))response="ACT Mobile"; /*Thailand*/
+ else if (response.equals("52001"))response="Advanced Info Service"; /*Thailand*/
+ else if (response.equals("52023"))response="Advanced Info Service"; /*Thailand*/
+ else if (response.equals("52000"))response="CAT CDMA"; /*Thailand*/
+ else if (response.equals("52002"))response="CAT CDMA"; /*Thailand*/
+ else if (response.equals("52018"))response="DTAC"; /*Thailand*/
+ else if (response.equals("52099"))response="True Move"; /*Thailand*/
+ else if (response.equals("52010"))response="WCS IQ"; /*Thailand*/
+ else if (response.equals("61503"))response="Moov"; /*Togo*/
+ else if (response.equals("61505"))response="Telecel"; /*Togo*/
+ else if (response.equals("61501"))response="Togo Cell"; /*Togo*/
+ else if (response.equals("53988"))response="Digicel"; /*Tonga*/
+ else if (response.equals("53943"))response="Shoreline Communication"; /*Tonga*/
+ else if (response.equals("53901"))response="Tonga Communications Corporation"; /*Tonga*/
+ else if (response.equals("37412"))response="bmobile"; /*Trinidad and Tobago*/
+ else if (response.equals("37413"))response="Digicel"; /*Trinidad and Tobago*/
+ else if (response.equals("374130"))response="Digicel"; /*Trinidad and Tobago*/
+ else if (response.equals("60501"))response="Orange"; /*Tunisia*/
+ else if (response.equals("60502"))response="Tunicell"; /*Tunisia*/
+ else if (response.equals("60503"))response="Tunisiana"; /*Tunisia*/
+ else if (response.equals("28603"))response="Avea"; /*Turkey*/
+ else if (response.equals("28604"))response="Aycell"; /*Turkey*/
+ else if (response.equals("28601"))response="Turkcell"; /*Turkey*/
+ else if (response.equals("28602"))response="Vodafone"; /*Turkey*/
+ else if (response.equals("43801"))response="MTS"; /*Turkmenistan*/
+ else if (response.equals("43802"))response="TM-Cell"; /*Turkmenistan*/
+ else if (response.equals("55301"))response="TTC"; /*Tuvalu*/
+ else if (response.equals("64110"))response="MTN"; /*Uganda*/
+ else if (response.equals("64114"))response="Orange"; /*Uganda*/
+ else if (response.equals("64111"))response="Uganda Telecom Ltd."; /*Uganda*/
+ else if (response.equals("64122"))response="Warid Telecom"; /*Uganda*/
+ else if (response.equals("64101"))response="Zain"; /*Uganda*/
+ else if (response.equals("25502"))response="Beeline"; /*Ukraine*/
+ else if (response.equals("25523"))response="CDMA Ukraine"; /*Ukraine*/
+ else if (response.equals("25505"))response="Golden Telecom"; /*Ukraine*/
+ else if (response.equals("25504"))response="IT"; /*Ukraine*/
+ else if (response.equals("25503"))response="Kyivstar"; /*Ukraine*/
+ else if (response.equals("25506"))response="life:)"; /*Ukraine*/
+ else if (response.equals("25501"))response="MTS"; /*Ukraine*/
+ else if (response.equals("25521"))response="PEOPLEnet"; /*Ukraine*/
+ else if (response.equals("25507"))response="Utel"; /*Ukraine*/
+ else if (response.equals("42403"))response="du"; /*United Arab Emirates*/
+ else if (response.equals("42402"))response="Etisalat"; /*United Arab Emirates*/
+ else if (response.equals("23420"))response="3 Hutchison"; /*United Kingdom*/
+ else if (response.equals("23400"))response="BT"; /*United Kingdom*/
+ else if (response.equals("23455"))response="Cable & Wireless / Sure Mobile (Isle of Man)"; /*United Kingdom*/
+ else if (response.equals("23418"))response="Cloud9"; /*United Kingdom*/
+ else if (response.equals("23403"))response="Jersey Telenet"; /*United Kingdom*/
+ else if (response.equals("23450"))response="JT-Wave"; /*United Kingdom*/
+ else if (response.equals("23458"))response="Manx Telecom"; /*United Kingdom*/
+ else if (response.equals("23401"))response="MCom"; /*United Kingdom*/
+ else if (response.equals("23402"))response="O2"; /*United Kingdom*/
+ else if (response.equals("23410"))response="O2"; /*United Kingdom*/
+ else if (response.equals("23411"))response="O2"; /*United Kingdom*/
+ else if (response.equals("23433"))response="Orange"; /*United Kingdom*/
+ else if (response.equals("23434"))response="Orange"; /*United Kingdom*/
+ else if (response.equals("23412"))response="Railtrack"; /*United Kingdom*/
+ else if (response.equals("23422"))response="Routo Telecom"; /*United Kingdom*/
+ else if (response.equals("23409"))response="Sure Mobile"; /*United Kingdom*/
+ else if (response.equals("23430"))response="T-Mobile"; /*United Kingdom*/
+ else if (response.equals("23419"))response="Telaware"; /*United Kingdom*/
+ else if (response.equals("234100"))response="Tesco Mobile"; /*United Kingdom*/
+ else if (response.equals("23477"))response="Unknown"; /*United Kingdom*/
+ else if (response.equals("23431"))response="Virgin"; /*United Kingdom*/
+ else if (response.equals("23432"))response="Virgin"; /*United Kingdom*/
+ else if (response.equals("23415"))response="Vodafone"; /*United Kingdom*/
+ else if (response.equals("310880"))response="Advantage"; /*United States*/
+ else if (response.equals("310850"))response="Aeris"; /*United States*/
+ else if (response.equals("310640"))response="Airadigm"; /*United States*/
+ else if (response.equals("310780"))response="Airlink PCS"; /*United States*/
+ else if (response.equals("310034"))response="Airpeak"; /*United States*/
+ else if (response.equals("310510"))response="Airtel"; /*United States*/
+ else if (response.equals("310430"))response="Alaska Digitel"; /*United States*/
+ else if (response.equals("310500"))response="Alltel"; /*United States*/
+ else if (response.equals("310590"))response="Alltel"; /*United States*/
+ else if (response.equals("310630"))response="AmeriLink PCS"; /*United States*/
+ else if (response.equals("310038"))response="AT&T"; /*United States*/
+ else if (response.equals("310090"))response="AT&T"; /*United States*/
+ else if (response.equals("310150"))response="AT&T"; /*United States*/
+ else if (response.equals("310170"))response="AT&T"; /*United States*/
+ else if (response.equals("310410"))response="AT&T"; /*United States*/
+ else if (response.equals("310560"))response="AT&T"; /*United States*/
+ else if (response.equals("310680"))response="AT&T"; /*United States*/
+ else if (response.equals("310380"))response="AT&T Mobility"; /*United States*/
+ else if (response.equals("310980"))response="AT&T Mobility"; /*United States*/
+ else if (response.equals("310990"))response="AT&T Mobility"; /*United States*/
+ else if (response.equals("310830"))response="Caprock"; /*United States*/
+ else if (response.equals("310350"))response="Carolina Phone"; /*United States*/
+ else if (response.equals("311130"))response="Cell One Amarillo"; /*United States*/
+ else if (response.equals("310320"))response="Cellular One"; /*United States*/
+ else if (response.equals("310440"))response="Cellular One"; /*United States*/
+ else if (response.equals("310390"))response="Cellular One of East Texas"; /*United States*/
+ else if (response.equals("311190"))response="Cellular Properties"; /*United States*/
+ else if (response.equals("310030"))response="Centennial"; /*United States*/
+ else if (response.equals("311010"))response="Chariton Valley"; /*United States*/
+ else if (response.equals("310570"))response="Chinook Wireless"; /*United States*/
+ else if (response.equals("310480"))response="Choice Phone"; /*United States*/
+ else if (response.equals("311120"))response="Choice Phone"; /*United States*/
+ else if (response.equals("310420"))response="Cincinnati Bell"; /*United States*/
+ else if (response.equals("311180"))response="Cingular Wireless"; /*United States*/
+ else if (response.equals("310620"))response="Coleman County Telecom"; /*United States*/
+ else if (response.equals("311040"))response="Commnet Wireless"; /*United States*/
+ else if (response.equals("310040"))response="Concho"; /*United States*/
+ else if (response.equals("310690"))response="Conestoga"; /*United States*/
+ else if (response.equals("310060"))response="Consolidated Telcom"; /*United States*/
+ else if (response.equals("310740"))response="Convey"; /*United States*/
+ else if (response.equals("310080"))response="Corr"; /*United States*/
+ else if (response.equals("310016"))response="Cricket Communications"; /*United States*/
+ else if (response.equals("310940"))response="Digital Cellular"; /*United States*/
+ else if (response.equals("310190"))response="Dutch Harbor"; /*United States*/
+ else if (response.equals("311070"))response="Easterbrooke"; /*United States*/
+ else if (response.equals("311160"))response="Endless Mountains Wireless"; /*United States*/
+ else if (response.equals("310610"))response="Epic Touch"; /*United States*/
+ else if (response.equals("311060"))response="Farmers Cellular"; /*United States*/
+ else if (response.equals("311210"))response="Farmers Cellular"; /*United States*/
+ else if (response.equals("310311"))response="Farmers Wireless"; /*United States*/
+ else if (response.equals("310910"))response="First Cellular"; /*United States*/
+ else if (response.equals("310300"))response="Get Mobile Inc"; /*United States*/
+ else if (response.equals("310970"))response="Globalstar"; /*United States*/
+ else if (response.equals("311100"))response="High Plains Wireless"; /*United States*/
+ else if (response.equals("311110"))response="High Plains Wireless"; /*United States*/
+ else if (response.equals("310070"))response="Highland Cellular"; /*United States*/
+ else if (response.equals("310400"))response="i CAN_GSM"; /*United States*/
+ else if (response.equals("310770"))response="i wireless"; /*United States*/
+ else if (response.equals("311030"))response="Indigo Wireless"; /*United States*/
+ else if (response.equals("310650"))response="Jasper"; /*United States*/
+ else if (response.equals("311090"))response="Long Lines Wireless"; /*United States*/
+ else if (response.equals("310010"))response="MCI"; /*United States*/
+ else if (response.equals("310000"))response="Mid-Tex Cellular"; /*United States*/
+ else if (response.equals("311000"))response="Mid-Tex Cellular"; /*United States*/
+ else if (response.equals("311020"))response="Missouri RSA 5 Partnership"; /*United States*/
+ else if (response.equals("310013"))response="MobileTel"; /*United States*/
+ else if (response.equals("316010"))response="Nextel"; /*United States*/
+ else if (response.equals("310017"))response="North Sight Communications Inc."; /*United States*/
+ else if (response.equals("310670"))response="Northstar"; /*United States*/
+ else if (response.equals("310540"))response="Oklahoma Western"; /*United States*/
+ else if (response.equals("310870"))response="PACE"; /*United States*/
+ else if (response.equals("310760"))response="Panhandle"; /*United States*/
+ else if (response.equals("311170"))response="PetroCom"; /*United States*/
+ else if (response.equals("311080"))response="Pine Cellular"; /*United States*/
+ else if (response.equals("310790"))response="PinPoint"; /*United States*/
+ else if (response.equals("310100"))response="Plateau Wireless"; /*United States*/
+ else if (response.equals("310960"))response="Plateau Wireless"; /*United States*/
+ else if (response.equals("310110"))response="PTI Pacifica"; /*United States*/
+ else if (response.equals("310730"))response="SeaMobile"; /*United States*/
+ else if (response.equals("310046"))response="SIMMETRY"; /*United States*/
+ else if (response.equals("310460"))response="Simmetry"; /*United States*/
+ else if (response.equals("316011"))response="Southern Communications Services"; /*United States*/
+ else if (response.equals("310120"))response="Sprint"; /*United States*/
+ else if (response.equals("311140"))response="Sprocket"; /*United States*/
+ else if (response.equals("310490"))response="SunCom"; /*United States*/
+ else if (response.equals("310026"))response="T-Mobile"; /*United States*/
+ else if (response.equals("310160"))response="T-Mobile"; /*United States*/
+ else if (response.equals("310200"))response="T-Mobile"; /*United States*/
+ else if (response.equals("310210"))response="T-Mobile"; /*United States*/
+ else if (response.equals("310220"))response="T-Mobile"; /*United States*/
+ else if (response.equals("310230"))response="T-Mobile"; /*United States*/
+ else if (response.equals("310240"))response="T-Mobile"; /*United States*/
+ else if (response.equals("310250"))response="T-Mobile"; /*United States*/
+ else if (response.equals("310260"))response="T-Mobile"; /*United States*/
+ else if (response.equals("310270"))response="T-Mobile"; /*United States*/
+ else if (response.equals("310280"))response="T-Mobile"; /*United States*/
+ else if (response.equals("310290"))response="T-Mobile"; /*United States*/
+ else if (response.equals("310310"))response="T-Mobile"; /*United States*/
+ else if (response.equals("310330"))response="T-Mobile"; /*United States*/
+ else if (response.equals("310580"))response="T-Mobile"; /*United States*/
+ else if (response.equals("310660"))response="T-Mobile"; /*United States*/
+ else if (response.equals("310800"))response="T-Mobile"; /*United States*/
+ else if (response.equals("310900"))response="Taylor"; /*United States*/
+ else if (response.equals("310014"))response="Testing"; /*United States*/
+ else if (response.equals("310020"))response="Union Telephone Company"; /*United States*/
+ else if (response.equals("310520"))response="VeriSign"; /*United States*/
+ else if (response.equals("310004"))response="Verizon"; /*United States*/
+ else if (response.equals("310012"))response="Verizon"; /*United States*/
+ else if (response.equals("310450"))response="Viaero"; /*United States*/
+ else if (response.equals("310180"))response="West Central"; /*United States*/
+ else if (response.equals("310530"))response="West Virginia Wireless"; /*United States*/
+ else if (response.equals("310340"))response="Westlink"; /*United States*/
+ else if (response.equals("311050"))response="Wikes Cellular"; /*United States*/
+ else if (response.equals("311150"))response="Wilkes Cellular"; /*United States*/
+ else if (response.equals("310890"))response="Wireless Alliance"; /*United States*/
+ else if (response.equals("310950"))response="XIT Wireless"; /*United States*/
+ else if (response.equals("74800"))response="Ancel"; /*Uruguay*/
+ else if (response.equals("74801"))response="Ancel"; /*Uruguay*/
+ else if (response.equals("74810"))response="Claro"; /*Uruguay*/
+ else if (response.equals("74807"))response="Movistar"; /*Uruguay*/
+ else if (response.equals("43404"))response="Beeline"; /*Uzbekistan*/
+ else if (response.equals("43401"))response="Buztel"; /*Uzbekistan*/
+ else if (response.equals("43407"))response="MTS"; /*Uzbekistan*/
+ else if (response.equals("43406"))response="Perfectum Mobile"; /*Uzbekistan*/
+ else if (response.equals("43405"))response="Ucell"; /*Uzbekistan*/
+ else if (response.equals("43402"))response="Uzmacom"; /*Uzbekistan*/
+ else if (response.equals("54101"))response="SMILE"; /*Vanuatu*/
+ else if (response.equals("73401"))response="Digitel"; /*Venezuela*/
+ else if (response.equals("73402"))response="Digitel"; /*Venezuela*/
+ else if (response.equals("73403"))response="Digitel"; /*Venezuela*/
+ else if (response.equals("73406"))response="Movilnet"; /*Venezuela*/
+ else if (response.equals("73404"))response="movistar"; /*Venezuela*/
+ else if (response.equals("45208"))response="3G EVNTelecom"; /*Vietnam*/
+ else if (response.equals("45207"))response="Beeline VN"; /*Vietnam*/
+ else if (response.equals("45206"))response="E-Mobile"; /*Vietnam*/
+ else if (response.equals("45205"))response="HT Mobile"; /*Vietnam*/
+ else if (response.equals("45201"))response="MobiFone"; /*Vietnam*/
+ else if (response.equals("45203"))response="S-Fone"; /*Vietnam*/
+ else if (response.equals("45204"))response="Viettel Mobile"; /*Vietnam*/
+ else if (response.equals("45202"))response="Vinaphone"; /*Vietnam*/
+ else if (response.equals("376350"))response="C&W"; /*Wyspy Turks i Caicos*/
+ else if (response.equals("33805"))response="Digicel"; /*Wyspy Turks i Caicos*/
+ else if (response.equals("376352"))response="Islandcom"; /*Wyspy Turks i Caicos*/
+ else if (response.equals("42104"))response="HiTS-UNITEL"; /*Yemen*/
+ else if (response.equals("42102"))response="MTN"; /*Yemen*/
+ else if (response.equals("42101"))response="SabaFon"; /*Yemen*/
+ else if (response.equals("42103"))response="Yemen Mobile"; /*Yemen*/
+ else if (response.equals("64502"))response="MTN"; /*Zambia*/
+ else if (response.equals("64501"))response="Zain"; /*Zambia*/
+ else if (response.equals("64503"))response="ZAMTEL"; /*Zambia*/
+ else if (response.equals("64804"))response="Econet"; /*Zimbabwe*/
+ else if (response.equals("64801"))response="Net*One"; /*Zimbabwe*/
+ else if (response.equals("64803"))response="Telecel"; /*Zimbabwe*/
+ return response;
+ }
+}
diff --git a/src/java/com/android/internal/telephony/RIL.java b/src/java/com/android/internal/telephony/RIL.java
index 7f6813b..725b806 100644
--- a/src/java/com/android/internal/telephony/RIL.java
+++ b/src/java/com/android/internal/telephony/RIL.java
@@ -2582,7 +2582,7 @@ public class RIL extends BaseCommands implements CommandsInterface {
case RIL_UNSOL_RINGBACK_TONE: ret = responseInts(p); break;
case RIL_UNSOL_RESEND_INCALL_MUTE: ret = responseVoid(p); break;
case RIL_UNSOL_CDMA_SUBSCRIPTION_SOURCE_CHANGED: ret = responseInts(p); break;
- case RIL_UNSOl_CDMA_PRL_CHANGED: ret = responseInts(p); break;
+ case RIL_UNSOL_CDMA_PRL_CHANGED: ret = responseInts(p); break;
case RIL_UNSOL_EXIT_EMERGENCY_CALLBACK_MODE: ret = responseVoid(p); break;
case RIL_UNSOL_RIL_CONNECTED: ret = responseInts(p); break;
case RIL_UNSOL_VOICE_RADIO_TECH_CHANGED: ret = responseInts(p); break;
@@ -2920,7 +2920,7 @@ public class RIL extends BaseCommands implements CommandsInterface {
}
break;
- case RIL_UNSOl_CDMA_PRL_CHANGED:
+ case RIL_UNSOL_CDMA_PRL_CHANGED:
if (RILJ_LOGD) unsljLogRet(response, ret);
if (mCdmaPrlChangedRegistrants != null) {
@@ -3772,7 +3772,7 @@ public class RIL extends BaseCommands implements CommandsInterface {
case RIL_UNSOL_RINGBACK_TONE: return "UNSOL_RINGBACK_TONE";
case RIL_UNSOL_RESEND_INCALL_MUTE: return "UNSOL_RESEND_INCALL_MUTE";
case RIL_UNSOL_CDMA_SUBSCRIPTION_SOURCE_CHANGED: return "CDMA_SUBSCRIPTION_SOURCE_CHANGED";
- case RIL_UNSOl_CDMA_PRL_CHANGED: return "UNSOL_CDMA_PRL_CHANGED";
+ case RIL_UNSOL_CDMA_PRL_CHANGED: return "UNSOL_CDMA_PRL_CHANGED";
case RIL_UNSOL_EXIT_EMERGENCY_CALLBACK_MODE: return "UNSOL_EXIT_EMERGENCY_CALLBACK_MODE";
case RIL_UNSOL_RIL_CONNECTED: return "UNSOL_RIL_CONNECTED";
case RIL_UNSOL_VOICE_RADIO_TECH_CHANGED: return "UNSOL_VOICE_RADIO_TECH_CHANGED";
diff --git a/src/java/com/android/internal/telephony/SamsungQualcommRIL.java b/src/java/com/android/internal/telephony/SamsungQualcommRIL.java
index 229444a..1d9f0c2 100644
--- a/src/java/com/android/internal/telephony/SamsungQualcommRIL.java
+++ b/src/java/com/android/internal/telephony/SamsungQualcommRIL.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2012 The CyanogenMod Project
+ * Copyright (C) 2012-2013 The CyanogenMod Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -59,11 +59,13 @@ public class SamsungQualcommRIL extends RIL implements CommandsInterface {
private Object mSMSLock = new Object();
private boolean mIsSendingSMS = false;
private boolean isGSM = false;
+ private boolean passedCheck=true;
public static final long SEND_SMS_TIMEOUT_IN_MS = 30000;
private String homeOperator= SystemProperties.get("ro.cdma.home.operator.numeric");
private String operator= SystemProperties.get("ro.cdma.home.operator.alpha");
private boolean oldRilState = needsOldRilFeature("exynos4RadioState");
private boolean googleEditionSS = needsOldRilFeature("googleEditionSS");
+ private boolean driverCall = needsOldRilFeature("newDriverCall");
public SamsungQualcommRIL(Context context, int networkMode,
int cdmaSubscription) {
super(context, networkMode, cdmaSubscription);
@@ -230,7 +232,9 @@ public class SamsungQualcommRIL extends RIL implements CommandsInterface {
@Override
protected Object
responseCallList(Parcel p) {
- samsungDriverCall = (needsOldRilFeature("newDriverCall") && !isGSM) || mRilVersion < 7 ? false : true;
+ samsungDriverCall = (driverCall && !isGSM) || mRilVersion < 7 ? false : true;
+ if(driverCall && passedCheck)
+ mAudioManager.setParameters("wide_voice_enable=false");
return super.responseCallList(p);
}
@@ -289,10 +293,6 @@ public class SamsungQualcommRIL extends RIL implements CommandsInterface {
@Override
protected void
processSolicited (Parcel p) {
- if (isGSM){
- super.processSolicited(p);
- return;
- }
int serial, error;
boolean found = false;
@@ -498,16 +498,28 @@ public class SamsungQualcommRIL extends RIL implements CommandsInterface {
}
- // CDMA FIXES, this fixes bogus values in nv/sim on d2/jf/t0 cdma family
+ // CDMA FIXES, this fixes bogus values in nv/sim on d2/jf/t0 cdma family or bogus information from sim card
private Object
operatorCheck(Parcel p) {
String response[] = (String[])responseStrings(p);
for(int i=0; i<response.length; i++){
- if (response[i]!= null){
- if (response[i].equals(" Empty") || (response[i].equals("")&& i<2))
+ if (response[i]!= null&&i<2){
+ if (response[i].equals(" Empty") || (response[i].equals("") && !isGSM)) {
response[i]=operator;
- if (response[i].equals("31000")|| response[i].equals("11111") || response[i].equals("123456") || response[i].equals("31099") || (response[i].equals("")&& i>=2) )
- response[i]=homeOperator;
+ } else if (!response[i].equals("")) {
+ try {
+ Integer.parseInt(response[i]);
+ response[i]=Operators.operatorReplace(response[i]);
+ //optimize
+ if(i==0)
+ response[i+1]=response[i];
+ } catch(NumberFormatException E){
+ // do nothing
+ }
+ }
+ else if (response[i].equals("31000")|| response[i].equals("11111") || response[i].equals("123456") || response[i].equals("31099") || (response[i].equals("") && !isGSM)){
+ response[i]=homeOperator;
+ }
}
}
return response;
@@ -516,6 +528,9 @@ public class SamsungQualcommRIL extends RIL implements CommandsInterface {
private Object
responseVoiceDataRegistrationState(Parcel p) {
String response[] = (String[])responseStrings(p);
+ if (isGSM){
+ return response;
+ }
if ( response.length>=10){
for(int i=6; i<=9; i++){
if (response[i]== null){
@@ -556,11 +571,14 @@ public class SamsungQualcommRIL extends RIL implements CommandsInterface {
private void setWbAmr(int state) {
if (state == 1) {
Log.d(LOG_TAG, "setWbAmr(): setting audio parameter - wb_amr=on");
- mAudioManager.setParameters("wb_amr=on");
- } else {
- Log.d(LOG_TAG, "setWbAmr(): setting audio parameter - wb_amr=off");
- mAudioManager.setParameters("wb_amr=off");
+ mAudioManager.setParameters("wide_voice_enable=true");
+ }else if (state == 0) {
+ Log.d(LOG_TAG, "setWbAmr(): setting audio parameter - wb_amr=on");
+ mAudioManager.setParameters("wide_voice_enable=false");
}
+ //prevent race conditions when the two meeets
+ if (passedCheck)
+ passedCheck=false;
}
// Workaround for Samsung CDMA "ring of death" bug: