Created
June 7, 2012 22:31
-
-
Save SemanticallyNull/2892110 to your computer and use it in GitHub Desktop.
test
This file contains hidden or 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\' ?>'; | |
?> | |
<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> |
This file contains hidden or 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\' ?>'; | |
?> | |
<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