This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Response> | |
<Gather numDigits="1" timeout="5" action="http://callpotential.mediagiantdesign.com/twilio/followupcall.php?toDial=5612515718&lead_id=123"> | |
<Say>Press 1 to connect to the customer.</Say> | |
</Gather> | |
<Say>Disconnecting... response took too long.</Say> | |
</Response> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header("content-type: text/xml"); | |
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"; | |
?> | |
<Response> | |
<Gather action="handle-input.php" method="POST"> | |
<Say>Thanks for using the phone card app. Please dial the number you'd like to call. Dial the area code and full seven digits.</Say> | |
</Gather> | |
</Response> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Response> | |
<Say> | |
Hello World. This is a test for Twilio. | |
</Say> | |
</Response> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Response> | |
<Say language="fr"> | |
Bonjour, je m'appelle Art. | |
</Say> | |
</Response> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected function getPropertiesPartial($data, $includeParams = true) { | |
$template = $this->getTemplate('/scaffold/partials/properties.mustache'); | |
$template->set('resource', $this->context->getResourceKey()); | |
$template->set('serviceName', $this->service); | |
$sections = $this->context->getSections(); | |
$fields = $this->context->getFields($includeParams); | |
// draw fields that are part of seperate sections |