Example: Mute_All token
Note: The token format for unmuting all users in a channel is the same as a mute_all token.
Signed in user muting all users in a channel
The token in this example allows the user "beef" to mute all users in the channel "testchannel".
The token expiration time is September 17, 2020 at 1:30 PM UTC.
The token signing key is "secret!" (not including quotes).
header
{}payload
Note: Spacing has been added to this code for demonstration purposes. You can also list claims in any order.
{
"vxi":19283,
"f":"sip:.blindmelon-AppName-dev.beef.@tla.vivox.com",
"iss":"blindmelon-AppName-dev",
"vxa":"mute",
"t":"sip:confctl-g-blindmelon-AppName-dev.testchannel@tla.vivox.com",
"exp":1600349400
}access token
e30.eyJ2eGkiOjE5MjgzLCJmIjoic2lwOi5ibGluZG1lbG9uLUFwcE5hbWUtZGV2LmJlZWYuQHRsYS52aXZveC5jb20iLCJpc3MiOiJibGluZG1lbG9uLUFwcE5hbWUtZGV2IiwidnhhIjoibXV0ZSIsInQiOiJzaXA6Y29uZmN0bC1nLWJsaW5kbWVsb24tQXBwTmFtZS1kZXYudGVzdGNoYW5uZWxAdGxhLnZpdm94LmNvbSIsImV4cCI6MTYwMDM0OTQwMH0.fARLW2eX10ZbiIl_5WIg4bhPbYIhn2xfCcUNySfwBMsAdmin user muting all users in a channel
The token in this example allows the user "blindmelon-AppName-dev-Admin" to mute all users in the channel "testchannel".
The token expiration time is September 17, 2020 at 1:30 PM UTC.
The token signing key is "secret!" (not including quotes).
header
{}payload
Note: Spacing has been added to this code for demonstration purposes. You can also list claims in any order.
{
"vxi":825647,
"f":"sip:blindmelon-AppName-dev-Admin@tla.vivox.com",
"iss":"blindmelon-AppName-dev",
"vxa":"mute",
"t":"sip:confctl-g-blindmelon-AppName-dev.testchannel@tla.vivox.com",
"exp":1600349400
}access token
e30.eyJ2eGkiOjgyNTY0NywiZiI6InNpcDpibGluZG1lbG9uLUFwcE5hbWUtZGV2LUFkbWluQHRsYS52aXZveC5jb20iLCJpc3MiOiJibGluZG1lbG9uLUFwcE5hbWUtZGV2IiwidnhhIjoibXV0ZSIsInQiOiJzaXA6Y29uZmN0bC1nLWJsaW5kbWVsb24tQXBwTmFtZS1kZXYudGVzdGNoYW5uZWxAdGxhLnZpdm94LmNvbSIsImV4cCI6MTYwMDM0OTQwMH0.zpyvlBbVAKatuCeELb0Q1PsCb4tg0yacneL_sYHIVawSigned in user muting all but one user in a channel (Presentation mode)
The token in this example allows the user "beef" to mute all users except for the user "jerky" in the channel "testchannel".
The token expiration time is September 17, 2020 at 1:30 PM UTC.
The token signing key is "secret!" (not including quotes).
In this scenario, when creating the mute token, a subject is specified. The subject in this instance ("jerky") is the only user in the channel that is not muted, which allows them to speak to the other, now muted, users in the channel without interruption.
header
{}payload
Note: Spacing has been added to this code for demonstration purposes. You can also list claims in any order.
{
"vxi":675849,
"sub":"sip:.blindmelon-AppName-dev.jerky.@tla.vivox.com",
"f":"sip:.blindmelon-AppName-dev.beef.@tla.vivox.com",
"iss":"blindmelon-AppName-dev",
"vxa":"mute",
"t":"sip:confctl-g-blindmelon-AppName-dev.testchannel@tla.vivox.com",
"exp":1600349400
}access token
e30.eyJ2eGkiOjY3NTg0OSwic3ViIjoic2lwOi5ibGluZG1lbG9uLUFwcE5hbWUtZGV2Lmplcmt5LkB0bGEudml2b3guY29tIiwiZiI6InNpcDouYmxpbmRtZWxvbi1BcHBOYW1lLWRldi5iZWVmLkB0bGEudml2b3guY29tIiwiaXNzIjoiYmxpbmRtZWxvbi1BcHBOYW1lLWRldiIsInZ4YSI6Im11dGUiLCJ0Ijoic2lwOmNvbmZjdGwtZy1ibGluZG1lbG9uLUFwcE5hbWUtZGV2LnRlc3RjaGFubmVsQHRsYS52aXZveC5jb20iLCJleHAiOjE2MDAzNDk0MDB9.wLlqsQ-r0yCeta5Lil6KU51nfAtt4b1KQ2zJb_jHHjwAdmin user muting all but one user in a channel (Presentation mode)
The token in this example allows the user "blindmelon-AppName-dev-Admin" to mute all users except for the user "jerky" in the channel "testchannel".
The token expiration time is September 17, 2020 at 1:30 PM UTC.
The token signing key is "secret!" (not including quotes).
In this scenario, when creating the mute token, a subject is specified. The subject in this instance ("jerky") is the only user in the channel that is not muted, which allows them to speak to the other, now muted, users in the channel without interruption.
header
{}payload
Note: Spacing has been added to this code for demonstration purposes. You can also list claims in any order.
{
"vxi":961734,
"sub":"sip:.blindmelon-AppName-dev.jerky.@tla.vivox.com",
"f":"sip:blindmelon-AppName-dev-Admin@tla.vivox.com",
"iss":"blindmelon-AppName-dev",
"vxa":"mute",
"t":"sip:confctl-g-blindmelon-AppName-dev.testchannel@tla.vivox.com",
"exp":1600349400
}access token
e30.eyJ2eGkiOjk2MTczNCwic3ViIjoic2lwOi5ibGluZG1lbG9uLUFwcE5hbWUtZGV2Lmplcmt5LkB0bGEudml2b3guY29tIiwiZiI6InNpcDpibGluZG1lbG9uLUFwcE5hbWUtZGV2LUFkbWluQHRsYS52aXZveC5jb20iLCJpc3MiOiJibGluZG1lbG9uLUFwcE5hbWUtZGV2IiwidnhhIjoibXV0ZSIsInQiOiJzaXA6Y29uZmN0bC1nLWJsaW5kbWVsb24tQXBwTmFtZS1kZXYudGVzdGNoYW5uZWxAdGxhLnZpdm94LmNvbSIsImV4cCI6MTYwMDM0OTQwMH0.XWlrqesKd8UnhUwXIJdY1TKPCwh8OdWj5edub7lVyyw