Spoof calling SDK for native iOS - ios

Hello is there any API or SDK available for spoof call function in iOS ? As I need functionality where dialer add his own number and receiver number. The receiver will receive call from those number which added by the dialer (spoof number/ any number).
Please help if someone knows.

On iOS it's impossible to set the caller ID of a mobile call.
The only way to make a phone call from code is to open a tel://<number-you-want-to-call> URL. iOS will then take over and will open the native Phone app. Of course the SIM card's caller ID will be shown to the callee; there's no way to influence that (apart from hiding it, if your operator allows that).
If you wish to set another caller ID, you need to create a VoIP app and you need a VoIP backend that terminates the call on the telephone network.

Related

Custom background image with CallKit, And Twillio programmable voice

I am looking for a way of having a custom background for an incoming call using CallKit.
My app is a Voip app using Twillio.
If the user had already received a call from a Twilio in the past, he is able to save this number (From call history), and the next time the contact will call, a custom background image will be displayed.
But when saving the contact, the only information there is, is "social profile", no number.
What is actually been saved?
Is there a way of programmatically saving a contact from Twilio received with CallKit?
Twilio developer evangelist here.
When you receive calls from another App using the Twilio Programmable Voice SDK you won't receive a phone number along with the call.
When calls are made app to app, you only need the identity of the other user that you are calling. No phone numbers are required to make this call.
Then, the TVOCall attributes from and to will be set to client:FROM_IDENTITY and client:TO_IDENTITY (where the identities are those from the users of your app).
If a call did come from a phone to the app, then the phone number would be included as the from attribute and you'd be able to save the contact with a phone number.
I'm not sure how to turn the information you do get with an app to app call into a proper contact though. Sorry.

iPhone app with call features

I'm trying to get into a new project, by creating an iOS application. But before I start I would like to understand some points:
is it possible to let an application make a phone call? So what I mean is, assumed we have a phone number and would like to call it. Would it be possible to use an (my) application to call this number?
is it possible to let an application speak during a phone call? So after the application started the call, would it be possible that some predefined statements are said in the call?
is it possible that this application hears, registers and analyses what the other person on the phone line is saying? (Leaving apart the privacy issue, assuming that the other person is willing to do that).
Could you please help me? If my question aren't clear, please tell me, I will try to explain it in another way.
Many Thanks
F.P.
iOS is very restricted in terms of the system behaviors third party applications can influence.
To answer your question bluntly, a third party application could prompt the user to initiate a phone / FaceTime call. Once the call is initiated however, your app would enter a background state and relinquish control to the system. The app would not be able to contribute or read any data related to the system phone / FaceTime call.
iOS 10 introduces a VoIP extension, CallKit, which allows third party apps to use the built in calling UI with a custom protocol. You could implement your own protocol (and host servers for handling the exchange of information) and build an extension to make it feel like a system call. You'd be responsible for all aspects of the custom call protocol and thus reading voices, contributing audio, etc. would all be possible (and up to your implementation).
Outside of iOS 10, you would have to built your own VoIP system and interface entirely from scratch.
For more info on CallKit:
WWDC Enhancing VoIP Apps with CallKit
CallKit Enabled Sample App

Make a telephone call and send different DTMF tones during the call in iOS

Is it possible to call a phone number programmatically in iOS and send different DTMF tones during the call?.
Basically I want an App to handle the IVR call. I don't know anything about iOS programming. I just want to know the feasibility so that I will put further effort.
Thanks
You cannot do this interactively within the bounds of the iOS SDK (ie, in an App Store app).
You can, however, build a tel URL. See the Apple documentation on phone links for more details if you think this will work for your needs.

Track whether iPhone user dialled USSD code

I am working on a app which requires call forwarding. As we know we can't dial USSD code programmatically in iOS, can we track whether a user dialled USSD code through iPhone or if possible, Is der a way to check whether SIM is used to dial USSD code?
Update1: M nt trying to call ussd programmatically but want to check whether user dialled it or not.For example, if we call USSD codes manually, can we check any logs or any class object variable which can help in finding out whether user dialled a specific USSD code
I don't think there is a way to do that on your app without using the private API.
To prevent users from maliciously redirecting phone calls or changing
the behavior of a phone or account, the Phone application supports
most, but not all, of the special characters in the tel scheme.
Specifically, if a URL contains the * or # characters, the Phone
application does not attempt to dial the corresponding phone number.
If your project is intended to be deployed outside of the App Store, you could use the CoreTelephony framework:
CTCallDialWithID(#"*100#", -1);
refer this link may be helpful you
dial USSD code from iphone programatically
Updated:
Sadly, Apple have disable the use of USSD codes from within the (legitimate) iPhone sandbox available to developers (via the open URL methods, passing in a tel://xxxxxx URL). This means that there won’t be any applications from your operators that will make it easy to retrieve and change network settings that can be released thru the app store – at least not until Apple change their mind about interactions with USSD codes.
referanced by ussd-codes-on-iphone

iOS: Intercept certain numbers when dialed and start own app

Usecase:
my hotline has phone number 0815/111222333
user starts up dialer and dials that number
instead of calling my app starts up to offer him
service.
I did it on Android, though I am pretty sure this won't be allowed in iOS.
But I didn't find that explicit statement. I am just looking for confirmation.
It is most likely not possible on iOS. Event if it was I noted that there is a patent on this.

Resources