Nexmo / stitch-ios-quickstart

A repository containing everything you need when getting started with the Nexmo Stitch API and the iOS SDKs
MIT License
1 stars 3 forks source link

Call Status #15

Closed ericgiannini closed 6 years ago

ericgiannini commented 6 years ago

Here is a reference to the JIRA DeVX board for this qs:

Here is a reference to the JIRA "Technical Spec":

Here is a reference to the peer reviewed Pull Request that has been merged into master:

Here is the list of requirements outlined by @mariatechmaniac: a small code snippet as to how the dev can retrieve it + a table with all and what each means + a disclaimer that their accuracy depends on the carrier. more specifically, sometimes what is really a busy state is relayed as rejected. + a note stating that they are valid for all 1:1 call combinations( ip ip , ip pstn etc) for group calls;

ericgiannini commented 6 years ago

Here is code for call state:

https://github.com/nexmoinc/conversation-ios-sdk/blob/3f24d0d71f90824eb99ce1bb415c93ae138aa3e5/Stitch/Core/Controller/Call.swift#L174

Here is an example of call state:

https://github.com/nexmoinc/conversation-ios-sdk/blob/3f24d0d71f90824eb99ce1bb415c93ae138aa3e5/Demo/ViewControllers/call/CallViewController.swift#L65

ericgiannini commented 6 years ago

Here is the state enumeration reference in the iOS documents that are 100% complete: https://developer.nexmo.com/sdk/stitch/ios/Classes/Call/State.html#/s:6Stitch4CallC5StateO7startedA2EmF

ericgiannini commented 6 years ago

Here is the Voice API specs with a similar set of state changes: https://developer.nexmo.com/voice/voice-api/guides/handle-call-status

ericgiannini commented 6 years ago

Thanks, @mariatechmaniac! I will update the .md with your recommendations! ;)

ericgiannini commented 6 years ago

VAPI call states https://nexmo-developer-staging-pr-721.herokuapp.com/voice/voice-api/guides/call-flow

ericgiannini commented 6 years ago

@mheap Should busy be in this list of states: https://developer.nexmo.com/voice/voice-api/guides/call-flow It is in this current list.

ericgiannini commented 6 years ago

Thanks, @mariatechmaniac. I will update these asap.