Core Telephony

RSS for tag

Access information about a user’s cellular service provider, such as its unique identifier and whether the carrier allows VoIP, using Core Telephony.

Core Telephony Documentation

Pinned Posts

Posts under Core Telephony tag

33 Posts
Sort by:
Post not yet marked as solved
1 Replies
750 Views
Our app is payment related app & we are doing device binding. So, based on sim detection we have implemented feature for device binding. If sim is not present in device then, we have to show alert to the user for "No sim found". As per current deprecation in CTCareer, We are always getting static details for sim card, so we are not able to detect, either sim is there or not in device. Is there any solution to detect sim is there or not in device?
Posted Last updated
.
Post not yet marked as solved
2 Replies
1k Views
In the Apple's documentation link below, it says CTCarrier is deprecated. Does this mean this class wouldn't work on iOS 16.0+ or iOS 17+. Notice, in the web page, it says "iOS 4.0 - 16.0 Deprecated." This makes me wonder if this API wouldn't work on iOS 17+ Any help is appreciated.
Posted Last updated
.
Post not yet marked as solved
1 Replies
719 Views
Hello, I work for a USA cell phone carrier and we have our own SIM cards. We'd like to add a carrier bundle so we can have our carrier settings predefined in iOS devices. Could someone explain what the process is? Thanks
Posted
by ramotor.
Last updated
.
Post not yet marked as solved
0 Replies
759 Views
Hi I'm developing a full-duplex iPhone voice chat application and I'd like to intercept bluetooth headset button events to perform certain actions in my app while maintaining a full-duplex audio. I'm using the MediaPlay to intercept remote bluetooth AVRCP MPRemoteCommandEvent play/pause events as well setting AVAudioSession to use the BluetoothA2DP category, however, when I do this, I can't seem to use the bluetooth microphone as an audio input. Specifically, when I query AVAudioSession for available inputs, bluetooth is not returned. I'm guessing this is because A2DP is a half-duplex protocol, but my understanding is that AVRCP events are only available with A2DP. The other bluetooth profile choice is HSP (AVAudioSession category Bluetooth), which works for full-duplex audio, but does not appear to provide a way to intercept the various AT commands from this profile unless I'm in an actual telephone call. For example, when I use HSP and press a button on my headset, I see in the logs the AT+CHUP command being sent from the headset to the phone. Two questions: Is there a way to use a bluetooth microphone while using A2DP for output at the same time? If the above can't be done, is there a way to intercept the HSP AT control commands from a headset without being in a telephone call? Thanks.
Posted
by DC-MW.
Last updated
.
Post not yet marked as solved
2 Replies
1.4k Views
I am working for an MVNE/MVNA In September 2022, I filed an eSIM Access Entitlement request through the Apple Developer Portal. I didn't receive any feedback from Apple, and we can't see access given as yet. how do I follow up with this? Who do I contact? We have a customer going live in 2 weeks and we need this enabled. We have reached out to our partner carrier and they have not heard anything either. Thank you
Posted
by MVNO.
Last updated
.
Post not yet marked as solved
1 Replies
731 Views
b4 IOS 17 can detect sim card swap with 'CTTelephonyNetworkInfo' but after update IOS 17 can not use this library is there anyway to dectecting swapping the sim?
Posted
by bspark.
Last updated
.
Post not yet marked as solved
8 Replies
4.4k Views
I work for one of the networks. I am able to successful download the eSIM in iPhone for iOS 13.*. Where I was taken to unknown state (CTCellularPlanProvisioningAddPlanResult) in iOS 14.0 always also it prompt the os screen to install eSIM("Set up Mobile Plan") Please let me know why it take to unknown state always and why OS screen popup ?, please let me know if any configuration needed specific for iOS 14.x Also attached the configuration & prototype code for your reference       hud.show(animated: true)       let plan = CTCellularPlanProvisioning()       self.request = CTCellularPlanProvisioningRequest()       self.request?.address = "" // SMDP Address       self.request?.matchingID = ""  // Acitvation code.       if let validRequest = self.request {         weak var weakSelf = self         plan.addPlan(with: validRequest) {[weak self] result in           self?.hud.hide(animated: true)           switch result {           case .success:             weakSelf?.alertMessageToUser(title: "Hurray !...", message: "ESIM Downloaded Successfully")             print("Successful")           case .fail:             print("ESIM Download failed, contact your carrier")           case .unknown:             print("Unknown details, contact your carrier")           @unknown default:             print("Unknown details, CONTACT CARRIER")           }         }       }     } <array> <dict> <key>MCC</key> <string></string> // Country Code <key>MNC</key> <string></string> //Network Code </dict> </array>   <key>com.apple.security.network.server</key>   <true/>   <key>com.apple.security.network.client</key>   <true/>   <key>com.apple.CommCenter.fine-grained</key>   <array>     <string>spi</string>     <string>sim-authentication</string>     <string>identity</string>   </array>   <key>com.apple.wlan.authentication</key>   <true/>   <key>keychain-access-groups</key>   <array>     <string>apple</string>     <string>com.apple.identities</string>     <string>com.apple.certificates</string>   </array>   <key>com.apple.private.system-keychain</key> I am successful in download eSIM to iPhone for 13.*, Where I was getting the below error for iOS 14.0.1 Logs(OSACTIVITYMODE enabled) Remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated from this process.} BackTrace thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1frame #0: 0x0000000104cf9428 My Optus`closure #1 in ViewControllerTwo.installESIM_1(result=unknown, self=0x0000000107904d80, weakSelf=0x0000000107904d80) at ViewControllerTwo.swift:44:25  frame #1: 0x0000000104cf99a4 My Optus`thunk for @escaping @callee_guaranteed (@unowned CTCellularPlanProvisioningAddPlanResult) -> () at <compiler-generated>:0   frame #2: 0x0000000194fe412c CoreTelephony`__60-[CTCellularPlanProvisioning addPlanWith:completionHandler:]_block_invoke + 28   frame #3: 0x0000000195053268 CoreTelephony`__90-[CoreTelephonyClient(CellularPlanManager) addPlanWith:appName:appType:completionHandler:]_block_invoke + 36   frame #4: 0x0000000105077b68 libdispatch.dylib`_dispatch_call_block_and_release + 32   frame #5: 0x00000001050795f0 libdispatch.dylib`_dispatch_client_callout + 20   frame #6: 0x0000000105088890 libdispatch.dylib`_dispatch_main_queue_callback_4CF + 1000   frame #7: 0x0000000194a271e4 CoreFoundation`CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16   frame #8: 0x0000000194a213b4 CoreFoundation`__CFRunLoopRun + 2508   frame #9: 0x0000000194a204bc CoreFoundation`CFRunLoopRunSpecific + 600   frame #10: 0x00000001ab4a5820 GraphicsServices`GSEventRunModal + 164   frame #11: 0x00000001973c4734 UIKitCore`-[UIApplication _run] + 1072   frame #12: 0x00000001973c9e10 UIKitCore`UIApplicationMain + 168   frame #13: 0x0000000104cfb688 My Optus`main at AppDelegate.swift:12:7   frame #14: 0x00000001946e7e60 libdyld.dylib`start + 4
Posted
by bdurai.
Last updated
.
Post not yet marked as solved
0 Replies
681 Views
I think it is about time iCloud Backup should be extended to enable Cellular Data be enabled for it's data Use. My Understanding has been those from Africa and other less highly technological places have had it difficult in backing up their phones on iCloud due to the exclusive request for Wi-Fi. At these places Cellular data is mostly the source of readily source for for all internet connectivity's. So I think there should be a conscious effort to allow iCloud Backups through Cellular Data.
Posted
by Skapmonk.
Last updated
.
Post not yet marked as solved
12 Replies
3k Views
Hi, We have an app passing digits once connected to the PBX. We are simply dialing (***) ***-xxxx, yyy. After upgrading to Rls 16.4 PBX is no longer correctly decoding "yyy" digits represented by DTMF. If we press digits manually it works correctly, which leads us to conclude, Rls 16.4 sends to short DTMF. Upgrade to 16.4.1 didn't fix that bug. Peter
Posted Last updated
.
Post not yet marked as solved
1 Replies
977 Views
Hi to everyone, I'm trying to implement on my app the process to install eSIMs directly from my app. We have been authorized by Apple to use the CoreTelephony framework, and I've already implemented the functions but I need to compile first the the CarrierDescriptors Key in the info.plist file. CarrierDescriptors <dict> <key>MCC</key> <string>’mnc value’</string> <key>MNC</key> <string>’mnc value’</string> </dict> </array> Now the point is, that we are just a reseller of eSIMs, so we are not the real carrier, and so we don't have our MCC or MNC values. So what could or should we write there? Our providers should give us those data based on the carriers who provides them the eSIMs? Thanks a lot for any help or advice!
Posted Last updated
.