From d0686f73934ec2e8f2b77d900ae84acec1572371 Mon Sep 17 00:00:00 2001 From: Chris Tankersley Date: Mon, 28 Sep 2020 17:01:03 -0400 Subject: [PATCH] Moved NCCO examples to use github repo --- voice/text-to-speech-outbound.php | 2 +- voice/transfer-a-call/index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/voice/text-to-speech-outbound.php b/voice/text-to-speech-outbound.php index f9a4c5f..90a4c0f 100644 --- a/voice/text-to-speech-outbound.php +++ b/voice/text-to-speech-outbound.php @@ -19,7 +19,7 @@ ); $outboundCall->setAnswerWebhook( new \Vonage\Voice\Webhook( - 'https://developer.nexmo.com/ncco/tts.json', + 'https://raw.githubusercontent.com/nexmo-community/ncco-examples/gh-pages/text-to-speech.json', \Vonage\Voice\Webhook::METHOD_GET ) ); diff --git a/voice/transfer-a-call/index.php b/voice/transfer-a-call/index.php index 44ef3a8..6cf4c29 100644 --- a/voice/transfer-a-call/index.php +++ b/voice/transfer-a-call/index.php @@ -8,5 +8,5 @@ $call = $client->voice()->get(UUID); $client->voice()->transferCall( $call->getUuid(), - new \Vonage\Voice\NCCO\Action\Transfer("https://developer.nexmo.com/ncco/transfer.json") + new \Vonage\Voice\NCCO\Action\Transfer("https://raw.githubusercontent.com/nexmo-community/ncco-examples/gh-pages/transfer.json") );