-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauto2.php
More file actions
35 lines (33 loc) · 763 Bytes
/
auto2.php
File metadata and controls
35 lines (33 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
$press9 = [
"+13234645488", //CHS
"+13234630229", //HS & CHS
"+13234637046", //HV
"+13234606024", //Rubix
"+13234606862", //Rubix
"+13238757245", //Seattle
"+12066821474", //Seattle2
"+12028984721", //VCP
"+266696687",
];
$press9twice = [
"+12132217960", //HollandBack
"+12132217953", //HollandFront
];
if(in_array($_POST['From'], $press9)) {
$ID = 9;
}
elseif(in_array($_POST['From'], $press9twice)) {
$ID = '9ww9';
}
else {
$ID = 6;
}
header("content-type: text/xml");
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
?>
<Response>
<Say>Hello</Say>
<Play digits="ww<?= $ID ?>" />
<Hangup />
</Response>