I have successfully implement a APP to APP calling in iOS app using Twilio iOS SDK.
I have facing a problem in that Twilio SDK. I have explain with some step as below.
There are three user. User A, User B, User C
Step 1 : User A is calling to User B.
Step 2 : Now User C is calling to User A. User A is already talk with User B so what about User C. How can i identify busy state.
You can check this from your server-side app and relay the result to your iOS app.
The Dial verb includes an attribute named action which lets you specify a web application URL for Twilio to request when the call leg ends. That request includes a parameter named DialCallStatus which will tell you why the called ended. The DialCallStatus values include busy indicating Twilio received a busy signal when trying to connect to the called party.
https://www.twilio.com/docs/api/twiml/dial#attributes-action-dial-call-status-values
Once your web application knows the DialCallStatus, you can relay it back to your iOS app and notify User C accordingly.
Related
I am newbie in ios app development. I want to create application for ios with the following functionality. When the phone is receiving incoming call (no matter if the number is in the contact list or not) I want when the call is over and the phone's owner opens my application to see he's last call's number there.
Is that possible? I've read about CallKit API but I am still not sure if this can help me. Is it possible phone's owner to give such permissions to my app so it can access this information?
I'm using the Twilio Javascript Client SDK to allow users of our application to receive incoming calls through their browser. We have everything working well (ie: the call can be answered) if the user already has a browser tab open and receives an incoming call.
The use-case that we would like to support is this:
The user has no browser open to our site
An incoming call comes into our app and attempts to Dial the user (using their client ID)
The user opens up their browser to our app
The user sees the incoming call and answers it
I've tested this scenario and it doesn't appear to work. When the browser is opened and an incoming call is already ringing, the user is not presented our call dialog (which is triggered by the Twilio.Device.incoming event).
So my question is: Is this use-case possible to implement? Is there a setting that needs to be enabled, or is this something that cannot happen because we missed the initial incoming event?
Thanks for any help!
My .02, to achieve this a desktop app would be needed. It could be a simple web-wrapper though. Create an app that wraps a browser and have that user login. When a call comes in the app would receive it because the user WAS logged in. Your user wouldn't interact with your webapp through the desktop app, but I don't think that would be a problem given your use-case.
I have implemeted QuickBlox audio/video call.
I have an issue, When a incoming call received it shows a number instead of user name.
Please find the attached image.
How to replace this with caller user name.
This is not Quickblox functionality, check Apple CallKit Documentation: Identifying Incoming Callers section.
For example, consider a user who is friends with Jane in a social
networking app, but who doesn’t have her phone number in their
contacts. The social networking app has a Call Directory app
extension, which downloads and adds the phone numbers of all of the
user’s friends. Because of this, when the user gets an incoming call
from Jane, the system displays something like “(App Name) Caller ID:
Jane Appleseed” rather than “Unknown Caller”. To provide identifying
information about incoming callers, you use the
addIdentificationEntry(withNextSequentialPhoneNumber:label:) method in
the implementation of beginRequest(with:).
I have searched and have not been able to find a definitive answer. I know that it is not possible to get the phone number of the current caller using Objective-C, but I don't need the number.
I want to send a text message to the current caller. Does iOS have a method to allow you to send a text message from an app to the current caller.
The scenario is this:
End user calls another user
They put the person they called on speaker phone and navigate to my app
The app has a button that allows them to share information via SMS to the person they are talking to while they are talking to them without having to do anything more than click a button (the user doesn't have to type the other person's phone number manually to send the SMS).
Sukhdeep is correct.iOS will never allow you to perform Messaging without user involvement.
The answer is No.
Apple will never allow you this.
I am developing an iOS chat application using XMPP. My problem is that, I have user A and B, User A blocks User B, while User B is available. Next User B goes busy and User A unblocks User B, User A sees User B as available rather than busy. How can I get user's current status after unblocking? I've read through XMPP documentation but it din't help.
A quick response is very appreciable