providing emergency services in internet telephony
Download
Skip this Video
Download Presentation
Providing Emergency Services in Internet Telephony

Loading in 2 Seconds...

play fullscreen
1 / 40

Providing Emergency Services in Internet Telephony - PowerPoint PPT Presentation


  • 125 Views
  • Uploaded on

Providing Emergency Services in Internet Telephony. Henning Schulzrinne and Knarig Arabshian Department of Computer Science Columbia University {hgs,knarig}@cs.columbia.edu February 25, 2003. Overview. Basics of SIP (Session Initiation Protocol) Emergency notification using SIP

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Providing Emergency Services in Internet Telephony' - vicky


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
providing emergency services in internet telephony

Providing Emergency Services in Internet Telephony

Henning Schulzrinne and Knarig ArabshianDepartment of Computer ScienceColumbia University

{hgs,knarig}@cs.columbia.edu

February 25, 2003

overview
Overview
  • Basics of SIP (Session Initiation Protocol)
  • Emergency notification using SIP
  • Details of notification architecture
  • Benefits
  • Conclusions
using sip for emergency notification
Using SIP for Emergency Notification
  • It is likely that traditional modes of communication will be augmented by Internet telephones and applications in the near future
  • We need to have Emergency Notification Systems established on the Internet
what is sip
What is SIP?
  • The Session Initiation Protocol (SIP) is a signaling protocol used for establishing sessions in an IP network.
  • SIP is part of the IETF standards and is modeled upon other Internet protocols such as SMTP (Simple Mail Transfer Protocol for e-mail) and HTTP (Hypertext Transfer Protocol for www)
  • SIP is also being used in Microsoft Messenger in Windows XP
  • A session could be a simple two-way telephone call or it could be a collaborative multi-media conference session.
  • Different services are possible
    • Internet telephony
    • Instant Messaging with buddy lists
    • Event notification
    • Device control
what is sip1
What is SIP?
  • Two Components within SIP: User Agent and the SIP Network Server.
  • User Agent is the end system component for the call
  • The User agent can be both a User Agent Client (UAC) and a User Agent Server (UAS)
  • The client element initiates the calls and the server element answers the calls.
  • SIP Server is the network device that handles the signaling associated with multiple calls.
what is sip2
What is SIP?
  • Main function of the SIP servers is to provide name resolution and user location
  • Caller is unlikely to know the IP address or host name of the called party since the caller will dial a an email-like address or a telephone number associated with the called party.
  • A SIP proxy server receives requests, determines where to send these, and passes them onto the next server (using next hop routing principals).
  • The SIP Server component has three forms: the SIP stateful proxy server, the SIP stateless proxy server and the SIP re-direct server.
what is sip3
What is SIP?
  • Difference between a stateful and stateless proxy server:
    • stateful proxy server remembers the incoming requests it receives, along with the responses it sends back and the outgoing requests it sends on. It can fork requests to try multiple user locations and then send the best response back (call is received at multiple places)
    • A stateless proxy server forgets all information once it has sent on a request..
  • Stateless Proxy servers are most likely to be the fast, backbone of the SIP infrastructure
  • Stateful proxy servers are probably the local devices close to the User Agents, controlling domains of users and becoming the prime platform for the application services.
what is sip4
What is SIP?
  • A re-direct server receives requests, but instead of passing these onto the next server it responds to the caller indicating the address for the called user.
  • The caller then contacts the callee at the next server directly.
basic call setup
Basic call setup

REGISTER home.com SIP/2.0

To: sip:[email protected]

Contact: sip:[email protected]

Registrar

alice

office.com

pc4.home.com

DNS lookup sip.udp.home.com

Resolve to pc4.home.com

m2.home.com

bob

home.com

[email protected] => [email protected]

basic call setup1
Basic call setup
  • Phone sends INVITE; acts as User Agent Client
  • Server can proxy the call to current location

INVITE sip:[email protected]

To: sip:[email protected]

From: “Bob” <sip:[email protected]>

INVITE sip:[email protected]

To: sip:[email protected]

From: “Bob” <sip:[email protected]>

c=IN IP4 128.59.19.60

m=audio 8000 RTP/AVP 0 5 8

alice

office.com

m2.home.com

bob

home.com

Proxy

User agent client

basic call setup2
Basic call setup
  • Alice’s phone rings; acts as a User Agent Server
  • When Alice picks up, call is accepted and bob’s phone sends ACK to complete the setup

SIP/2.0 180 Ringing

SIP/2.0 200 OK

c=IN IP4 135.180.144.32

m=audio 9000 RTP/AVP 0 8

office.com

alice

pc4.home.com

m2.home.com

bob

home.com

Proxy

User agent server

basic call setup3
Basic call setup
  • Encoded audio packets sent over RTP

office.com

alice

bob

home.com

basic call setup4
Basic call setup
  • When either party hangs up BYE is sent

office.com

alice

BYE sip:[email protected]

bob

home.com

sip based emergency notification
SIP-based Emergency Notification
  • Besides VoIP, SIP also supports SUBSCRIBE/NOTIFY methods for event notifications
  • Clients will subscribe to servers for emergency notification
  • Servers will notify clients of particular emergency situation
subscribe notify
Subscribe/Notify
  • SIP message will have “SUBSCRIBE or “NOTIFY” in the method section of the SIP request.
  • The SUBSCRIBE request
    • Resembles that of a SIP INVITE
    • Must have one “Event” header in the header field which will specify the type of event it is subscribing to.
    • Must also contain an “Expires” header which defines the duration of the subscription
subscribe notify1
Subscribe/Notify
  • If the Subscriber wants to subscribe to multiple events, then it must send multiple SUBSCRIBE messages, with distinct Call-IDs, to the Notifier and indicate each Event it is subscribing to
  • If the Subscription has expired, then it sends another SUBSCRIBE message
  • To unsubscribe, it sends a SUBSCRIBE message with the ”Expires” field set to zero
subscribe notify2
Subscribe/Notify
  • Can contain optional message body in SUBSCRIBE request
    • Further details of notification such as methods of alerting (sirens, IM Messages, telephone calls)
    • Standardized grammar to automate the processing of the SUBSCRIBE request in the Notification Server
  • If message body is not present then Subscriber will expect the default method of alert
subscribe notify3
Subscribe/Notify
  • NOTIFY Message Request
    • The “Event” header will indicate the type of emergency notification it is
    • The message body of the NOTIFY message will include specific instructions on the alert methods
    • In our implementation, we use SOAP (Simple Object Access Protocol) for remote procedure calls
slide19

SERVER

(NOTIFIER)

CLIENT

(SUBSCRIBER)

SUBSCRIBE sip:[email protected] SIP/2.0Event: emergencyExpires: 86400 From: sip:[email protected]: sip:[email protected]

SIP/2.0 202 Accepted From: sip:[email protected]: 86400

NOTIFY sip:[email protected] SIP/2.0Event: emergencyTo: sip:[email protected]: sip:[email protected]<soap:body> <m:emergency> <type>fire</type> <material>wood</material> <alarms>2</alarms> </m:emergency></soap>

what is soap simple object access protocol
What is SOAP (Simple Object Access Protocol) ?
  • Lightweight XML-based protocol used for exchange of messages in a decentralized, distributed environment
  • Facilitates interoperability in a platform-independent manner
  • Used for Remote Procedure Calls
  • W3C note defines the use of SOAP with XML as payload and HTTP as transport, but other transport protocols can be used such as SMTP and SIP.
soap and sip emergency notification
SOAP and SIP Emergency Notification
  • Send a NOTIFY message with SOAP payload
  • Body of the SOAP message will invoke a remote procedure relevant to the particular emergency event
  • Use XML Schema to specify different emergency events handled and parameters needed
xml schema
XML Schema

<?xml version="1.0" ?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

<xs:complexType name="EmergencyType">

<xs:sequence>

<xs:element name="Fire" type="Fire"/>

<xs:element name="Earthquake" type="Earthquake"/>

</xs:sequence>

</xs:complexType>

<xs:complexType name="Fire">

<xs:sequence>

<xs:element name=“materials" type="string"/>

<xs:element name=“alarms" type=“decimal"/></xs:sequence>

</xs:complexType>

<xs:complexType name="Earthquake">

<xs:sequence>

<xs:element name="location" type="string"/>

<xs:element name="scale" type="decimal"/>

</xs:sequence>

</xs:complexType>

</xs:schema>

why soap
Why Soap?
  • SOAP is a scalable and widely used wiring protocol
  • Can use XML Schemas to configure notification parameters
  • Although still not an industry standard and needs fine-tuning, using SIP and SOAP for emergency notification is simple and effective
  • Wide remote system interoperability
columbia sip user agent sipc
Columbia SIP user agent (sipc)
  • Media
    • Audio, video, text, white board
    • Screen sharing
    • Shared web browsing
  • Advanced
    • Presence, instant messaging
    • Conference control
    • Emergency notification and handling
    • Device control
columbia sip user agent sipc1
Columbia SIP user agent (sipc)

Invoke Emergency

Services

Calls 911 by connecting to the local PSAP

Receive emergency notification

alerts from various event servers that user has subscribed to

slide26

Detailed overview of architecture

3) Sipc contacts notification server and gets list of emergency events user can subscribe to

2) Generic emergency address: [email protected] is added to sipc

1) Event generators publish their events to notification server

Fire

[email protected]

Notification server (sipd)

Earthquake

5) Sipc gets XML schema reference from notification server that will generate a form which queries for the event’s properties. Sipc then updates its subscription to the notification server with the filtered expressions

4) User subscribes to event it wants to be notified of

slide27

Detailed overview of architecture

3)Sipc will process SOAP body and invoke the procedure call—such as flashing of lights

1) Fire occurs and event generator notifies sipd

2) Sipd will process parameters of the fire and send a NOTIFY to sipc

including SOAP body

Fire

[email protected]

Notification server (sipd)

Earthquake

example of notification flashing of lights
Example of Notification: Flashing of Lights
  • Emergency event notification invokes multiple calls of the SIP “DO” method
  • This causes the lamp (connected to the PC by an X10 device) to flash

lamp

serial port

DO sip:[email protected] SIP/2.0

…..

<Control>

<Action>turn lamp on</Action>

</Control>

X10 device

alerting hierarchy
Alerting Hierarchy

United States

Federal Govt.

NJ State

Govt.

Alabama

Alaska

New

Jersey

Wisconsin

Wyoming

NOTIFY

SUBSCRIBE

Atlantic

Bergen

sip authentication
SIP Authentication
  • Notifier must verify that Subscriber is an authorized official capable of handling emergency alerts
  • Subscriber must also authenticate the veracity of the emergency alerts sent by the Notifier to prevent false alarms
sip authentication1
SIP Authentication
  • Subscriber must be aware of all the local emergency alerting agencies in its area
  • Someone has to provide this information
    • Third party
    • Emergency notification server
third party provides credentials
Third Party Provides Credentials
  • Third party operates directory server with information about a local area
  • Monitored and maintained by government officials who recognize Notification Servers and Subscribers as valid institutions
  • Subsribers and Notifiers subscribe to the directory server indicating alerts they request or support
  • Maps Subscribers to local Notifiers
third party provides credentials1
Third Party Provides Credentials
  • Lightweight Directory Access Protocol (LDAP) can be used to obtain information from local directory server
  • Government officials managing the directory server
    • Provide certificates to local Subsribers and Notifiers which establish them as valid institutions for community alerting
    • Create and distribute passwords to the Subscribers and their matching Notifiers
third party provides credentials2
Third Party Provides Credentials
  • This method is scalable and works well for large number of Subscribers and Notifiers
  • Not the preferred method for this system since there are only a limited number of agencies within a community who are authorized by the government to provide and receive emergency notification
  • Separate directory server needlessly complicates the system
emergency notification server provides credentials
Emergency Notification Server Provides Credentials
  • Each emergency notification server has a pre-established list of authorized government officials in its area
  • It sends either postal mail or encrypted e-mail to them indicating
    • Their password is if they wanted to subscribe
    • Types of emergency notifications the server supports
benefits
Benefits
  • Device Neutrality
    • There are likely to be range of SIP-based end systems, ranging from IP telephones, 3G wireless handsets, IM/presence software to embedded devices.
    • Thus, the emergency alert system can migrate to new devices, without having to explicitly be extended to handle them.
  • More Information and Automated Action
    • Video conferencing, text messaging
    • Device control which causes flashing lights and aides the hearing-impaired
benefits1
Benefits
  • Lower resource consumption
    • A one-minute alert call consumes about 480 kbytes (one way), while an alert notification is likely to be at most a few hundred bytes long.
    • The same bandwidth can reach approximately1,000 times as many people in the same time period.
  • Integration with current systems
    • It would be straightforward to feed EAS (Emergency Alert System) and EDIS (emergency digital information system) into the SIP emergency alert system.
benefits2
Benefits
  • Out-of-area notification
    • Current notification systems assume that only those in close physical proximity of the emergency event need to know about the event.
    • SIP-based systems address cases where the recipient of the information is currently away, but still needs to be alerted.
    • Examples:
      • owners of summer cottages need to be aware of impending storms so that they can summon appropriate assistance or have their property checked on.
      • Those at work may need to know about conditions affecting their home.
conclusion and future work
Conclusion and Future Work
  • SIP gives opportunity to enhance existing emergency services by creating more functional, robust and flexible systems
  • Next generation devices will be interoperable with SIP
  • Using SIP SUBSCRIBE/NOTIFY messages we can develop an Internet-based emergency notification system
  • Future/Ongoing work includes extending sipc features:
    • Creating an E-911 system
    • Creating a generic event notification server
contacts
Contacts
ad