internet and telephony kwan hong lee may 6, 1998
TRANSCRIPT
![Page 1: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/1.jpg)
Internet and Telephony
Kwan Hong LeeMay 6, 1998
![Page 2: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/2.jpg)
Outline
MotivationSystem setup and architectureProgramming EnvironmentApplicationsProblemsConclusion
![Page 3: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/3.jpg)
Motivation
Now: Internet and Telephony separateGoal: explore services and applications
that integrate Internet and TelephonyBasis: JTAPI
rapid web application development applications run anywhere
![Page 4: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/4.jpg)
Outline
Motivation
System setup and architecture
Programming EnvironmentApplicationsProblemsConclusion
![Page 5: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/5.jpg)
System Configuration
![Page 6: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/6.jpg)
PBX
Lucent Generic 3 SwitchProvides telephony services
call management, billing, call conferencing etc.
Very complicatedSeveral analog phones connected
![Page 7: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/7.jpg)
Telephony Server
Telephony Services Module Links applications and switch driver Routes messages and events
Switch driver Terminates CTI link and protocol Map CTI protocol to TSAPI
![Page 8: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/8.jpg)
Telephony Services
Telephony server IP address and port number (450) stored in TSLIB.INI where telephony application resides
![Page 9: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/9.jpg)
Using the Service
PBX driver registers services (TLINKS) with the telephony server (Tserver)
Select TLINK VENDOR#DRIVER#SERVICE#SERVERNAME
User logs in with Windows NT login and password
Ready to use telephony services
![Page 10: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/10.jpg)
Architecture
JTAPI
TSAPI
CSTA
ASAIG3PD
PBX switch
![Page 11: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/11.jpg)
ASAI
Definity specificAllows applications to access switch
features and control callsEthernet interface
![Page 12: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/12.jpg)
TSAPI
API that allows applications to control the PBX services call control call/device monitoring query
![Page 13: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/13.jpg)
Java Telephony API
Easy telephony application development Object oriented, reusable, cross platform
Integrates telephony services with web applications Telephony services controlled through the
Internet Applets
![Page 14: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/14.jpg)
Outline
MotivationSystem setup and architecture
Programming EnvironmentApplicationsProblemsConclusion
![Page 15: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/15.jpg)
JTAPI Core & Extensions
java.telephony java.telephony.callcontrol java.telephony.callcenter java.telephony.media java.telephony.privatedata
![Page 16: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/16.jpg)
JTAPI Call Model
![Page 17: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/17.jpg)
Call States
Connection states(logical view)
Terminal connection states (physical view)
![Page 18: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/18.jpg)
JTAPI Example
mycall = m_provider.createCall();
c = mycall.connect(m_origterm, m_origaddr, phoneNum );
CallControlConnection.redirect( m_dest );
Connection.disconnect();
![Page 19: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/19.jpg)
DTMF Detection
Requires VDN and call vectorsCall vectors store routing forwarding
information
lucentUEC = ( (LucentCallInfo) evlist[i] ).getUserEnteredCode();if ( lucentUEC != null )
RecvCCObserver.collDigits = lucentUEC.getDigits();
VDN VDN Terminalforwardedforwarded
Call Observer Call Observer
Inside Call Observer
![Page 20: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/20.jpg)
Outline
MotivationSystem setup and architectureProgramming Environment
ApplicationsProblemsConclusion
![Page 21: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/21.jpg)
Applications
Internet voice message serverAlarm call serviceEnhanced Help DeskSchedule based call forwardingWhen you dial a number, the web page pops
up weather phone call --> pops up weather web page
Applications in text to voice and vice versaUse of caller ID, call queueing
![Page 22: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/22.jpg)
Alarm Call Service
![Page 23: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/23.jpg)
Alarm Call Service
Client
ACK
Send Request
Guest#guest#45515#1#894357900000
Server
Sample Request
Request Queue
Timer variable keeps track of the time when the nextrequest needs to be processed and puts the thread tosleep until then.
Make CallClient managers handle multiple requests by multi threading and inserts the requests at the appropriate place among the requests in the queue
![Page 24: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/24.jpg)
Switching Plane of VMS
45520
45521
45530
45511
45513
Extension entered (3 digit) Extension + PIN entered (7 digit)
The digits entered by user are collected during ALERTING state.
Automatic routing
•Calling address and called address collected•Send calling address and extension (+ PIN)•If ACK is received, redirect to Voice Message Server, if NOACK, disconnect
When connection becomes disconnected, send FINISHsignal and close all socket connection
![Page 25: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/25.jpg)
Phone E-mail
Sends e-mail
SMTP Server TelephonyServer
Converts e-mail content to voice and savesas real audio format.
User could check the voice mail through phone, e-mail or web.
When no physical phone is accessible.
Could be forwarded to pager withtext content
TTS
![Page 26: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/26.jpg)
Scheduled Call Forwarding
SMTP Server TelephonyServerSend call forwarding schedule
Lookup database for authentication bychecking the sender and the password
Parse the request
Either store it in database or in memorydata structure
E-mail message contains passwordtime and phone numbers
![Page 27: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/27.jpg)
Outline
MotivationSystem Setup and ArchitectureProgramming EnvironmentApplications
ProblemsConclusion
![Page 28: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/28.jpg)
Initial Difficulties
Documentation difficult for first time user 5 second to get the phone off hook when call
made Parameter setting in ASAI setup logon as a service Phone wire connection
User interface in setup forms
![Page 29: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/29.jpg)
Suggestions
GUI for setting up stations and other options
A multimedia tutorial on PBX switch installation and setup
Requires double administration Switch setup and telephony services admin on
controller desktop
![Page 30: Internet and Telephony Kwan Hong Lee May 6, 1998](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649da35503460f94a90009/html5/thumbnails/30.jpg)
Conclusion
Great potential in applications that make use of telephony services through the Internet
Integration with web and multimedia technologies
Java servlets, Java media framework, Personal Java