Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 12

UNAM Examination Timetable

Telephone Service
By: Erasmus Tyapa
Lecturer: Prof. Alfredo Terzoli and Mr. Mosiuoa Tsietsi
Outline
• Current service
• Designed service
• How will the system work
• Further enhancements
Current service and Problem
• No online timetable, how do I refer back to it if I lost
my timetable.
• Printed timetable
• Inaccessible from anywhere
New solution
• What else can we use? This might be the best solution
Web page registration
Asterisk
• Call from anywhere and get your timetable.
UNAM ETTS
How will the new solution work
• Register online
• Dial a number (8888)
• Dial your student number, then your know your exam
dates, subjects, venue, time.
Interfaces
JavaScript for client validation
Three interfaces
Successful registered,
Register twice interface error
Registration interface (below)
Inside the system
Database (MySQL)
MySQL
Server
Submit.php
Erasmus

Tables( Students , Courses)

Students table below

StudentNumber FirstName LastName CourseTaken AcademicYear


200519557 Erasmus Tyapa Computer 4
Science
200636804 Imanuel Shaulwa Statistics 3
200523451 Wilhem Nangolo Mathematics 4
200514598 Ndapewa Ntindah Computer 4
Inside the system
Courses table below

CourseCo CourseNa AcademicY ExamDa StartTime Venue Subjects


de me ear te

Query 1
$sql1 = "select CourseTaken,AcademicYear from
Students where StudentNumber='$argv[1]'";
Check if the query is empty, if not assign CourseTaken
and AcademicYear to some variables.
Inside System
Query 2

$sql = "select * from Courses where


AcademicYear='$AcademicStudy' and
CourseName='$CourseRegistered'";

While loop used to get all the subjects


How will it work
1. Dial 8888
2. Recorded message played
back
1,2, 3 3. Enter your student
number

4. Student number
7 passed to the PHP
AGI
5. PHP MySQL
Query
4, 6. Send resulted
6 Query
7. Festival Execute
the resulted
Erasmu PHP AGI Query
s 5
Further Enhancements
SMS
Examination results
Financial account status
Conclusion

Thanks

Any Question or suggestion ?

You might also like