@@ -0,0 +1,1537 @@
+package com.nexmo.quickstart.voice;%0A%0Aimport com.nexmo.client.NexmoClient;%0Aimport com.nexmo.client.auth.JWTAuthMethod;%0Aimport com.nexmo.client.voice.Call;%0Aimport com.nexmo.client.voice.CallEvent;%0Aimport com.nexmo.client.voice.ModifyCallAction;%0A%0Aimport java.nio.file.FileSystems;%0A%0Aimport static com.nexmo.quickstart.Util.configureLogging;%0Aimport static com.nexmo.quickstart.Util.envVar;%0A%0Apublic class MuteCall %7B%0A    public static void main(String... args) throws Exception %7B%0A        configureLogging();%0A%0A        String APPLICATION_ID = envVar(%22APPLICATION_ID%22);%0A        String PRIVATE_KEY = envVar(%22PRIVATE_KEY%22);%0A%0A        NexmoClient nexmo = new NexmoClient(%0A                new JWTAuthMethod(APPLICATION_ID, FileSystems.getDefault().getPath(PRIVATE_KEY))%0A        );%0A%0A        String NEXMO_NUMBER = envVar(%22NEXMO_NUMBER%22);%0A        String TO_NUMBER = envVar(%22TO_NUMBER%22);%0A        /*%0A        Establish a call for testing purposes.%0A         */%0A        CallEvent call = nexmo.getVoiceClient().createCall(new Call(%0A                TO_NUMBER,%0A                NEXMO_NUMBER,%0A                %22https://gist.githubusercontent.com/cr0wst/9417cac4c0d9004805a04aed403ae94a/raw/b95e3cd5126587d25986e0bf832eb33a7538394d/tts_long.json%22%0A        ));%0A%0A        /*%0A        Give them time to answer.%0A         */%0A        Thread.sleep(10000);%0A%0A        String UUID = call.getUuid();%0A        nexmo.getVoiceClient().modifyCall(UUID, ModifyCallAction.MUTE);%0A        Thread.sleep(3000);%0A        nexmo.getVoiceClient().modifyCall(UUID, ModifyCallAction.UNMUTE);%0A    %7D%0A%7D%0A

Add example for muting a call.