> > 1. what does the “alerting” call state relate to/mean? > > > > When a user makes an outgoing call, the call will be in 'dialing' state > at the very beginning. > > Then, the network will try to find the remote party. If the network > successfully reach it, the user who makes the call will hear the 'alerting' > tone from the phone. > > That's 'alerting' state and it means the call is successful but the > remote side has not yet responded by answering or rejecting. > > Ok, I’ve filled in a description on > https://developer.mozilla.org/en-US/docs/Web/API/TelephonyCall/state > > How does this differ from ‘connected’ - does ‘connected' occur after the > receiving phone has answered the call? >
Yes. I noticed that some of the states described in the document are actually removed. In the latest code on master, we only have following states for TelephonyCall - dialing - alerting - connected - held - disconnected - incoming The things we removed are: - busy: it's not a state and we now include it in the disconnectedReason - connecting, disconnecting, holding, resuming: transient states are not used -- Szu-Yu (Aknow) Chen Mozilla Taiwan
_______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
