Sends a message to other participants, or another specific participant, during the call.
recipient represents who should receive the message. It can accept a single participant
session_id, an array of
"*" value is the
default, and means that the message is a "broadcast" message intended for all participants.
Note that the
recipient address is the
session_id, not the
Messages are delivered to participants currently in the call. They are not stored. If a recipient is not in the call when the message is sent, the recipient will never receive the message.
Broadcast messages are not delivered to the sender of the message.
You can listen for these messages by installing a handler for the