Skip to content

Commit d7b37a1

Browse files
Merge pull request Vonage#55 from Vonage/use-github-nccos
Moved NCCO examples to use github repo
2 parents aaf2aa9 + d0686f7 commit d7b37a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

voice/text-to-speech-outbound.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
);
2020
$outboundCall->setAnswerWebhook(
2121
new \Vonage\Voice\Webhook(
22-
'https://developer.nexmo.com/ncco/tts.json',
22+
'https://raw.githubusercontent.com/nexmo-community/ncco-examples/gh-pages/text-to-speech.json',
2323
\Vonage\Voice\Webhook::METHOD_GET
2424
)
2525
);

voice/transfer-a-call/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
$call = $client->voice()->get(UUID);
99
$client->voice()->transferCall(
1010
$call->getUuid(),
11-
new \Vonage\Voice\NCCO\Action\Transfer("https://developer.nexmo.com/ncco/transfer.json")
11+
new \Vonage\Voice\NCCO\Action\Transfer("https://raw.githubusercontent.com/nexmo-community/ncco-examples/gh-pages/transfer.json")
1212
);

0 commit comments

Comments
 (0)