-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain_menu.php
More file actions
39 lines (33 loc) · 1002 Bytes
/
main_menu.php
File metadata and controls
39 lines (33 loc) · 1002 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
36
37
38
39
<? session_start();?>
<? include("stdio.php"); ?>
<vxml version="2.1"
xmlns="http://www.w3.org/2001/vxml">
<menu id="main_menu" dtmf="true">
<prompt> <!-- We ask the user to choose an action, search, edit or add -->
<audio src="<?php get_audio(13, "file") ?>"><?php get_audio(13, "message") ?></audio>
<audio src="<?php get_audio(3, "file") ?>"><?php get_audio(3, "message") ?></audio>
</prompt>
<choice next="number.php">number</choice>
<choice next="user.php">user</choice>
<choice next="#exit">exit</choice>
<noinput>
<audio src="<?php get_audio(14, "file") ?>">
<?php get_audio(14, "message") ?>
</audio>
<reprompt />
</noinput>
<nomatch>
<audio src="<?php get_audio(4, "file") ?>">
<?php get_audio(4, "message") ?>
</audio>
<reprompt />
</nomatch>
</menu>
<form id="exit">
<block>
<audio src="<?php get_audio(22, "file") ?>">
<?php get_audio(22, "message") ?>
</audio><exit />
</block>
</form>
</vxml>