Documentation

Support

Vivox Core SDK

Vivox Core SDK

Send a directed message

How to send a directed message in the SDKSampleApp.
Read time 1 minuteLast updated 20 hours ago

When you send a directed message (
account_send_message
in the Vivox SDK), you need to know the URI of the participant, which starts with "sip:" and ends with "@mt1s.vivox.com".
The following code displays an example of the user Alice sending a directed message to the user Bob:
[SDKSampleApp]: message -u sip:.xyzzy.bob.@mt1s.vivox.com -m "hey bob"* Sending directed message 'hey bob' to user sip:.xyzzy.bob.@mt1s.vivox.com* Issuing req_account_send_message with cookie=3
Bob sees the message as a user_to_user_message event:
* evt_user_to_user_message: .xyzzy.bob. sip:.xyzzy.sa_c78d1595.@mt1s.vivox.com - hey bob