Skip to content

Commit

Permalink
Merge pull request Vonage#55 from Vonage/use-github-nccos
Browse files Browse the repository at this point in the history
Moved NCCO examples to use github repo
  • Loading branch information
dragonmantank authored Sep 29, 2020
2 parents aaf2aa9 + d0686f7 commit d7b37a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion voice/text-to-speech-outbound.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
);
Expand Down
2 changes: 1 addition & 1 deletion voice/transfer-a-call/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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")
);

0 comments on commit d7b37a1

Please sign in to comment.