How do I get a dialing code from mcc(country code)?
eg. India has 404or 405as mccfor various network operators +91as standard dialing.
I am using a cordova-plugin-sim plugin cordova .
When I use the function window.plugins.sim.getSimInfo, I get this information with a response JSON(I did not show all the information for privacy / security reasons):
callState: 0
carrierName: "BSNL MOBILE"
countryCode: "in"
dataActivity: <some number>
deviceId: "<some id as integer>"
deviceSoftwareVersion: "<a 2 digit code>"
isNetworkRoaming: false
mcc: "404"
mnc: "66"
networkType: 10
phoneNumber: "<my mobile number without dial code>"
phoneType: 1
simSerialNumber: "<sim serial number, long one>"
simState: 5
subscriberId: "<subscriber Id, long one>"
Do I need to use another API to get the dialing code using the information I get from window.plugins.sim.getSimInfo?
source
share