@@ -0,0 +1,1457 @@
+package com.nexmo.quickstart.voice;%0A%0Aimport com.nexmo.client.NexmoClient;%0Aimport com.nexmo.client.auth.AuthMethod;%0Aimport com.nexmo.client.auth.JWTAuthMethod;%0Aimport com.nexmo.client.voice.Call;%0Aimport com.nexmo.client.voice.CallEvent;%0A%0Aimport java.nio.file.FileSystems;%0A%0Aimport static com.nexmo.quickstart.Util.configureLogging;%0Aimport static com.nexmo.quickstart.Util.envVar;%0A%0Apublic class SendTalkToCall %7B%0A    public static void main(String%5B%5D args) throws Exception %7B%0A        configureLogging();%0A%0A        String APPLICATION_ID = envVar(%22APPLICATION_ID%22);%0A        String PRIVATE_KEY = envVar(%22PRIVATE_KEY%22);%0A        String FROM_NUMBER = envVar(%22FROM_NUMBER%22);%0A        String TO_NUMBER = envVar(%22TO_NUMBER%22);%0A%0A        AuthMethod auth = new JWTAuthMethod(%0A                APPLICATION_ID,%0A                FileSystems.getDefault().getPath(PRIVATE_KEY)%0A        );%0A        NexmoClient client = new NexmoClient(auth);%0A        CallEvent call = client.getVoiceClient().createCall(new Call(%0A                TO_NUMBER,%0A                FROM_NUMBER,%0A                %22https://gist.githubusercontent.com/ChrisGuzman/d6add5b23a8cf913dcdc5a8eabc223ef/raw/a1eb52e0ce2d3cef98bab14d27f3adcdff2af881/long_talk.json%22%0A        ));%0A%0A        Thread.sleep(20000);%0A%0A        client.getVoiceClient().startTalk(call.getUuid(), %22Hello World! Would you like to know more? I bet you would%22, 0);%0A        Thread.sleep(5000);%0A        client.getVoiceClient().stopTalk(call.getUuid());%0A    %7D%0A%7D%0A

Add Talk example for Voice API