Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call an invalid phone number, call ends without any prompt feedback #8

Closed
jocelynlih opened this issue Dec 10, 2018 · 2 comments
Closed

Comments

@jocelynlih
Copy link

jocelynlih commented Dec 10, 2018

Description

Call an invalid phone number, call ends without any prompt feedback.

Steps to Reproduce

  1. Call an invalid phone number: the phone number is formatted correctly, but the phone number is invalid or not existed. An example number is 888 555 5512
  2. Call ended without any notice

Code

Sample code

Expected Behavior

  1. It will be great to hear a audio message to remind you the phone number is invalid.

  2. Or if option 1 is not possible, it’s nice to have a callback so we can show a proper alert in the app.

Actual Behavior

Call ends without any feedback

Reproduces How Often

100%

Logs

// Log output when the issue occurs

Versions

2.0.*

Voice iOS SDK

2.0 from cocoapods

Xcode

Xcode 10

iOS Version

iOS 11, 12

iOS Device

iPhone

@bobiechen-twilio
Copy link
Contributor

Hi @jocelynlih

Thanks for reporting the issue. I've tried the example number you provided and from what I can see the mobile client only got a normal no-answer result and the call ended without any error since the parent call leg (mobile client <--> Twilio service) was connected successfully based on the actions specified in the TwiML response.
The error callback will only be raised when the SDK failed to establish the connection between the mobile client and the Twilio Voice service, for example signaling connection failed due to poor network or developer's TwiML app server returned some malformed TwiML response, or TwiML server endpoint not even reachable, or invalid TwiML application SID, etc.

Hope this answers your question.

Cheers,
Bobie

@jocelynlih
Copy link
Author

Thx @bchen-twilio, so the problem is the current user experience seems not clear (If the typo occurs when entering a phone number, it’s not clear that the phone number is invalid. It’s connected and then ended. ) It will be great to have some error code from the SDK side so we can use that to inform user inside our app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants