Tutoring.NET -
This presentation is the property of its rightful owner.
Sponsored Links
1 / 78

Tutoring.NET - A communication portal for e-learning PowerPoint PPT Presentation


  • 52 Views
  • Uploaded on
  • Presentation posted in: General

Tutoring.NET - A communication portal for e-learning. brought to you by: Markus Beier, Caroline Daniel, Daniel Dudaszek, Marc Hermann, Stéphanie Lecat, Daniel Toeller. Goals :. Contact point for students and tutors

Download Presentation

Tutoring.NET - A communication portal for e-learning

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Tutoring net a communication portal for e learning

Tutoring.NET -

A communication portal for e-learning

brought to you by: Markus Beier, Caroline Daniel, Daniel Dudaszek,

Marc Hermann, Stéphanie Lecat, Daniel Toeller


Tutoring net a communication portal for e learning

Goals :

  • Contact point for students and tutors

  • Give students the opportunity to contact their tutors independent of location and time.

  • Tutors shall be able to decide when, where and how they can be reached.


Tutoring net a communication portal for e learning

How we achieved this :

  • Web portal as a meeting point

  • SIP enables the new ways of communication


Functionality of the web site

Functionality of the web site

4. Admin

1.General Features

2.Student

3.Teacher


Functionality of the web site generality

Functionality of the web site – Generality

  • Register (see student and teacher part)

  • Log-in

  • Send an email

  • Make a call (SIP or Netmeeting)

  • Log-out


Functionality of the web site student

Functionality of the web site - Student

  • Register yourself

  • Messages from the teachers

  • Courses you can join or quit, courses you are already in

  • Students work group

  • Students in your courses

  • Teachers of your courses

  • Edit your profile


Functionality of the web site teacher

Functionality of the web site - Teacher

  • Ask the administrator to register

  • Manage your messages

  • Courses you are in charge of, deletion, addition

  • Teacher work group

  • Students in your courses

  • Edit your profile


Functionality of the web site admin

Functionality of the web site - Admin

  • Create a teacher account

  • See the list of all the work group (student and teacher)

  • See the list of all the students

  • See the list of all the teachers

  • See the list of all the courses


Tutoring net a communication portal for e learning

1. MySQL

Database

2. Our database


Database advantage of mysql

Database – Advantage of MySQL

  • MySQL is a robust and performing SQL server

  • MySQL easily work with scripts language as PHP

  • PhpMyAdmin is an easy to learn interface to manage MySQL database

  • Not perfect but...


Our database schema

Our Database – schema


Dynamic web pages

Dynamic Web Pages

  • Web page created in response to the request of a user, whose contents is variable

  • Collecting and sending to the Web server the information entered by the user in a form

  • Transmission of this data to a script or an application for their processing

  • Querying of a Database

  • Returning the result to the user in a HTML page


Use of php

Use of PHP

What is php

  • It is a script language

  • Embedded in a normal HTML page

  • Executed by the Web server

  • It will enable us to manage and use our MySQL database

  • And using data entered by the visitors


How a php program looks like

How a PHP program looks like

the tags <?php and ?> represent the beginning and

the end of a PHP program . 

Example :

<html><head><title>Example</title></head> <body>

<H1>

<?php

printf(“ the sum equals : $a + $b “,2,3);

?>

</H1></body></html>


Result

Result

At the end of its execution the part which goes from

<?php to ?> is removed or replaced by the result of the program. For this example the result we have is :


The advantage of the use of php

The advantage of the use of PHP

  • The PHP Code is executed only by the server

  • Compatible with all kind of browsers 

  • Free software and availability of the source code  

  • Simplicity of writing of scripts

  • Simplicity of interaction with databases

  • Integration within many Web servers (Apache, Microsoft IIS, ...)


Personalised webpages

Personalised webpages


Tutoring net a communication portal for e learning

  • Functionalities of Tutoring.net site require personalised webpages

  • Example: two students which connect to the same page


Tutoring net a communication portal for e learning

  • main problem: stateless HTTP protocol

    request response principle


Tutoring net a communication portal for e learning

  • Solution

    • Session:

      • defines an state between server and client

      • problem here: how to identify a unique user

      • generate Session ID

    • possibilities to pass the Session ID:

      • use the GET Parameter

      • store it in a cookie


Tutoring net a communication portal for e learning

  • Session Management:

    • At the serverside:

      • Store Informations about each active Session

      • Database, shared memory,filesystem

    • Sessions properties:

      • store variables

      • have a lifetime


Tutoring net a communication portal for e learning

  • Authentication:

    • allow webserver to identify client

  • Methods to implement Authentication

    • Basic Authentication 

    • Session Based Authentication


Tutoring net a communication portal for e learning

Basic Authentication vs. Session Based Authentication

Basic Authentication

Session Based Authentication


Tutoring net a communication portal for e learning

Basic Authentication vs. Session Based Authentication


Tutoring net a communication portal for e learning

  • PHPLIB

  • overview of selective Features:

    Session Management

    User Management

    Authentication

    Database Access


Tutoring net a communication portal for e learning

  • Example Authentication:


Tutoring net a communication portal for e learning

Access to page which requires authentication


Tutoring net a communication portal for e learning

Login form is shown first which is totally independent from the protected site


Tutoring net a communication portal for e learning

If login is valid the requested site is shown


Sip session initiation protocol how to initiate a session with sip

SIPSession Initiation Protocol-How to initiate a session with SIP


Tutoring net a communication portal for e learning

  • Purpose of the protocol

  • Basics

  • Example

SIP – Session Initiation Protocol


Tutoring net a communication portal for e learning

  • Mr. Blue wants to call Mr. White via VoIP

    Questions:

    • Which IP has Mr. White

    • which type of session shall be initiated

    • which parameters has the session

      Solution: SIP

SIP – Session Initiation Protocol


Tutoring net a communication portal for e learning

  • textbased protocol, uses UDP (TCP)

  • closely related to HTTP (same response codes, authentication schemes)

  • clear separation: signalling of the session – type of session (e.g. telephone call, game)

  • uses the proxy principle

  • control via 6 methods: REGISTER, INVITE, ACK, BYE, OPTIONS, CANCEL

SIP – Session Initiation Protocol


Tutoring net a communication portal for e learning

Sample SIP Message

INVITE sip:[email protected] SIP/2.0

Via: SIP/2.0/UDP 134.155.12.22:5060

From: sip:[email protected]

To: sip:[email protected]

Contact: sip:[email protected]

Call-ID: [email protected]

CSeq: 27246067 INVITE

Content-Length: 175

Content-Type: application/sdp

User-Agent: eStara SoftPHONE

v=0

o=eStara 27246067 27246067 IN IP4 134.155.12.22

s=eStara

c=IN IP4 134.155.12.22

t=0 0

m=audio 8000 RTP/AVP 0 101

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

Header

Contains the signalling information

Body

Contains the description of the session

SIP – Session Initiation Protocol


Tutoring net a communication portal for e learning

[email protected]=12.12.12.12

REGISTER

FROM: [email protected]:12.12.12.12

Example call

Mr. White turns on the phone

SIP Proxy

SIP – Session Initiation Protocol


Tutoring net a communication portal for e learning

[email protected]=12.12.12.12

200 OK

Example call

Mr. White turns on the phone

SIP Proxy

SIP – Session Initiation Protocol


Tutoring net a communication portal for e learning

INVITE

FROM: [email protected]: [email protected]

<Session Data>

Example call

[email protected]=12.12.12.12

Mr. Blue places a call

Mr. White waits for calls

SIP Proxy

SIP – Session Initiation Protocol


Tutoring net a communication portal for e learning

100 Trying

INVITE

FROM: [email protected]: [email protected]

<Session Data>

Example call

[email protected]=12.12.12.12

Mr. Blue places a call

Mr. White waits for calls

SIP Proxy

SIP – Session Initiation Protocol


Tutoring net a communication portal for e learning

180 Ringing

180 Ringing

Example call

[email protected]=12.12.12.12

Mr. Blue‘s phone rings

Mr. White‘s phone rings

SIP Proxy

SIP – Session Initiation Protocol


Tutoring net a communication portal for e learning

[email protected]=12.12.12.12

200 OK

200 OK

Example call

Mr. Blue‘s phone rings

Mr. White accepts

SIP Proxy

SIP – Session Initiation Protocol


Tutoring net a communication portal for e learning

[email protected]=12.12.12.12

ACK

ACK

RTP audio streams

Example call

Mr. Blue ison line

Mr. White is on line

SIP Proxy

SIP – Session Initiation Protocol


Tutoring net a communication portal for e learning

[email protected]=12.12.12.12

BYE

BYE

Example call

Mr. Blue isoff line

Mr. White ends the call

SIP Proxy

SIP – Session Initiation Protocol


Tutoring net a communication portal for e learning

[email protected]=12.12.12.12

ACK

ACK

Call Duration 6 minutes: Fee 6€

Example call

Mr. Blue isoff line

Mr. White is off line

SIP Proxy

SIP – Session Initiation Protocol


Call logic

Call Logic

Programming Sip:

  • CPL(Call Processing Language)

  • SIP CGI (Common Gateway Interface)

  • SIP Servlets


What is cpl

What is CPL?

  • an XML-based scripting language for

    describing and controlling call services

  • a list of condition/action pairs

    • Example:

      „If someone is calling during the presentation, redirect the call to the voicemail server.“

      „Redirect my friends to my cell phone, anyone else to my office.“


Cpl scripts can be based on

CPL Scripts can be based on:

  • Caller/Callee

    • Address

    • Name

  • Call subject

  • Caller's organization

  • Call Priority

  • Time periods


Where does cpl run

Where does CPL run?

A CPL script runs in a signalling

server, and controls actions forthe set up

of a particular call


Cpl script example

CPL Script example

<?xml version="1.0" ?><!DOCTYPE cpl PUBLIC "-//IETF//DTD RFCxxxx CPL 1.0//EN" "cpl.dtd"><cpl>  <incoming>    <location url="sip:dudaszek@hippasus.informatik.uni- mannheim.de">      <redirect />    </location>  </incoming></cpl>


Cpl scripts can be created in 2 ways

CPL scripts can be createdin 2 ways

  • Advanced users can do it by hand

  • With GUI based tools (Indigo CPL Editor)


Sip cgi

Sip CGI

  • Similar to Web-CGI

  • Language-independent (Perl,C,...)

  • Security problem:

    • CGI programs are unlimited in their power

    • buggy scripts may affect server

    • only for admin


Sip servlets

Sip Servlets

  • Compromise between security and power

  • Security provided by Java Sandbox

  • Still powerful


Call processing overview

Call processing overview


Tutoring net a communication portal for e learning

Tutoring the 21st Century

SIP User Agents

Functionality and Restrictions


Tutoring net a communication portal for e learning

Overview

  • What is a User Agent ?

  • How does a User Agent work ?

  • Several used and tested UAs

    • eStara Softphone

    • Microsoft Netmeeting

    • Pingtel XPressa

    • History Client


Tutoring net a communication portal for e learning

Overview

  • What is a User Agent ?

  • How does a User Agent work ?

  • Several used and tested UAs

    • eStara Softphone

    • Microsoft Netmeeting

    • Pingtel XPressa

    • History Client


Tutoring net a communication portal for e learning

What is a User Agent ?

  • A Hard – or Software based Phone to call someone over the Internet

  • Two „implementations“ :

  • A „real“ Telephone (Hardphone) with internet-software running

  • A so called „Softphone“, a special software that uses Internet communication protocols to run


Tutoring net a communication portal for e learning

Overview

  • What is a User Agent ?

  • How does a User Agent work ?

  • Several used and tested UAs

    • eStara Softphone

    • Microsoft Netmeeting

    • Pingtel XPressa

    • History Client


Tutoring net a communication portal for e learning

SIP

SIP

RTP


Tutoring net a communication portal for e learning

Overview

  • What is a User Agent ?

  • How does a User Agent work ?

  • Several used and tested UAs

    • eStara Softphone

    • Microsoft Netmeeting

    • Pingtel XPressa

    • History Client


Tutoring net a communication portal for e learning

eStara Softphone

  • SIP enabled

  • Three different Lines for different simultaneous calls

  • Forwarding calls possible

  • Also possible to run as an applet for

  • customer services


Tutoring net a communication portal for e learning

eStara Softphone

  • The only UA, which is launchable directly from the webpage


Tutoring net a communication portal for e learning

eStara Softphone

  • The only UA, which is launchable directly from the webpage

  • SIP Message Log for detailed look at the SIP Messages


Tutoring net a communication portal for e learning

Overview

  • What is a User Agent ?

  • How does a User Agent work ?

  • Several used and tested UAs

    • eStara Softphone

    • Microsoft Netmeeting

    • Pingtel XPressa

    • History Client


Tutoring net a communication portal for e learning

Microsoft Netmeeting - Features

  • H.323 Phone

  • Supports :

  • Whiteboards

  • Chat

  • Videocall

  • Sharing Programs / Desktop

  • File Transfer


Tutoring net a communication portal for e learning

  • Many possibilities :

    • Full UI

  • Only Parts of the UI

  • Buttons to control the call

Microsoft Netmeeting - Features

  • The only UA which is integrated

  • directly into the webpage via an

  • Active-X-Control

  • Embedded into the HTML by the

  • <object> tag


Tutoring net a communication portal for e learning

Hard-coded IP-Adress to reach

a specified computer

Microsoft Netmeeting - Calling

If Netmeeting is integrated via

Active-X into the webpage, the call is directly made


Tutoring net a communication portal for e learning

Overview

  • What is a User Agent ?

  • How does a User Agent work ?

  • Several used and tested UAs

    • eStara Softphone

    • Microsoft Netmeeting

    • Pingtel XPressa

    • History Client


Tutoring net a communication portal for e learning

The Hardphone

Pingtel XPressa

  • Runs Java and SIP

  • Multiple simultaneous calls

  • World´s first Java VoIP-Phone


Tutoring net a communication portal for e learning

TheSoftphone

InstantXpressa

  • Emulation of the Pingtel XPressa

  • Xdk to develop Java Apps


Tutoring net a communication portal for e learning

Overview

  • What is a User Agent ?

  • How does a User Agent work ?

  • Several used and tested UAs

    • eStara Softphone

    • Microsoft Netmeeting

    • Pingtel XPressa

    • History Client


Tutoring net a communication portal for e learning

  • HistoryClient

  • Prototype - Software for the tutor

  • Shows Notes that were made during earlier

  • sessions with the caller to make it easier to

  • keep track of the problems.


Tutoring net a communication portal for e learning

DEMONSTRATION


Tutoring net a communication portal for e learning

  • On a technical level

    • SIP, protocols for videoconferences, PHP

  • On a personal level

    • Intercultural work, dealing with misunderstandings

Assessment


Ideas for the future

Ideas for the future

  • Improve billing function

  • Make a SIP call to a telephone network

  • Getting CPL scripts to work


Tutoring net a communication portal for e learning

Thank you for your attention


Tutoring net a communication portal for e learning

?


  • Login