Skip to content

Instantly share code, notes, and snippets.

@SemanticallyNull
Created June 7, 2012 22:31
Show Gist options
  • Save SemanticallyNull/2892110 to your computer and use it in GitHub Desktop.
Save SemanticallyNull/2892110 to your computer and use it in GitHub Desktop.
test
<?php
header('Content-Type: text/xml');
echo '<?xml version=\'1.0\' encoding=\'utf-8\' ?>';
?>
<Response>
<Say>
This is an automated call to alert you to an outage. Details follow.
</Say>
<Pause length="2" />
<Say>Type: <?=$_GET["type"]?>.</Say>
<Pause length="1" />
<Say>Service: <?=$_GET["service"]?>.</Say>
<Pause length="1" />
<Say>Host: <?=$_GET["host"]?>. </Say>
<Pause length="2" />
<Say>I will repeat this message in 5 seconds.</Say>
<Pause length="5" />
<Say>
This is an automated call to alert you to an outage. Details follow.
</Say>
<Pause length="2" />
<Say>Type: <?=$_GET["type"]?>.</Say>
<Pause length="1" />
<Say>Service: <?=$_GET["service"]?>.</Say>
<Pause length="1" />
<Say>Host: <?=$_GET["host"]?>. </Say>
<Pause length="1" />
<Say>Thank you.</Say>
</Response>
<?php
header('Content-Type: text/xml');
echo '<?xml version=\'1.0\' encoding=\'utf-8\' ?>';
?>
<Response>
<Say>
This number is for automated outage calls. It is intended for emergency contacts only. It is of no use to you!
</Say>
</Response>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment