PhoneCall StartedStatus and EndedStatus Blocks Usage

Can someone point me to documentation or an example of PhoneCall component's StartedStatus and EndedStatus blocks?

Kind regards,
Randal

These blocks are human readable interpretations of the status constants passed in the PhoneCallStarted and PhoneCallEnded blocks.

For more information, see the PhoneCall component documentation on how the status is reported.

Ah... so they are constants for the various values for "status" (1,2,3) for the CallEndedEvent and (1,2) for the CallStartedEvent ... to be used primarily/exclusively for comparison to the the "status" variable within these events. Nice :slight_smile:

Being the novice, I think it would have helped me if there were some explicit mention of them in the documentation, e.g., after:

PhoneCallEnded(status,phoneNumber)
Event indicating that a phone call has ended.
The status can be any of:
1: Incoming call was missed or rejected
2: Incoming call was answered and hung up
3: Outgoing call was hung up.

... to provide something like:

A constant block with a dropdown selection of possible
status values is provided for convivence and readability:

helpers_dropdown

And something similar to display in the Blocks Editor when the mouse hovers over it...

However, I realize that those more familiar with the "lay of the land" (e.g., its color indicates a constant - which I did not pick up on) would not need such prompting.

Thanks for coming to my rescue,
Randal

Hmm. They should be showing tooltips. That could be a bug.

Just checked it in a new project with only PhoneCall component.

When hovering over EndedStatus, StartedStatus, or PhoneCall1, the bock is outlined in yellow, but no text box appears.

-Randal

Evidently there are no tooltips in the Blocks Editor for the PhoneCall dropdown constants StartedStatus and EndedStatus.

Nor does there appear to be any mention of them in the PhoneCall component documentation.

See issue reported here:

Kind regards,
Randal

MIT are aware.

I changed this topic to Bugs.

Thanks,
Randal