310 likes | 384 Views
Learn how Session Initiation Protocol (SIP) works, its features, components, and applications in today's networks and communication systems. Discover the benefits of utilizing SIP trunk connections.
E N D
SIP Explained Gary Audin Delphi, Inc. Delphi-inc@att.net Sponsored by www.telecomreseller.com
GoToWebinar Tips • Click to hide or display the control panel on your screen • Type your question into the Question and Answer Panel. The moderator will notify the presenter of submitted questions
Speaker Background • Communications and security consultant for 34 years • Speaker at Enterprise Connect, ITExpo and 100s of user conferences • Article and blog sites: • www.nojitter.com • www.webtorials.com • www.telecomreseller.com • www.acuta.org • www.searchunifiedcommunications.com
Session Initiation Protocol • A protocol is an information exchange procedure, a set of rules. • SIP is a protocol to establish , manage, and terminate a connection (session) that is media independent. • SIP is not specifically designed for digital voice. • SIP operates over an IP network.
SIP Does This • It locates the user and determines which end system will be used in the proposed session. • It then learns the user's availability (is the user busy; can he/she be disturbed?). • It determines the capabilities available at the user end system for the session such as what media is supported. • It establishes the session. • It manages the session, handling call termination, call transfer, changes to session parameters, and so forth. • It is a peer-to-peer protocol running over UDP and TCP.
SIP Features • User location can determine the end system to be used for communication • User availability determines the willingness of the called endpoint to engage in communications • User capabilities can determine the media and media parameters to be used • Session setup endpoint ringing, establishment of session parameters at both called and calling endpoints • Session management including session transfer and termination, changing session parameters, and invoking services
What’s in a SIP Session • “Session” = exchange of data between an association of participants • Users can move among endpoints • Users may have multiple names and addresses • Users may communicate in different media • SIP enables internet endpoints: • To discover each other • To characterize the session • The location infrastructure supports name mapping and redirection services • Endpoints can add/remove participants from session • Endpoints can add/remove media from session
Not Part of SIP • SIP is not a vertically integrated communications system. It is ONLY a component. • SIP is independent of the services offered. • SIP provides mechanisms that can be used to implement different services. • SIP can locate a user and deliver content to the user’s current location. • SIP does not offer conference control services nor prescribe how a conference is to be managed.
SIP Does Not • SIP does not define the media carried (voice, video, IM, data, games, graphics, photos…) • SIPPING 19 defines a minimum set of telephony features not SIP • SIP trunks are not able to provide interoperability between different vendors’ IP PBXs
SIP Components • SIP is built upon a client/server architecture • User Agents (SIP Phones, SIP PCs, other endpoints) • Servers (Used to locate SIP users or to forward messages) • SIP Gateways: To PSTN for telephony interworking To H.323 for IP Telephony interworking • Client - originates message • Server - responds to or forwards message
SIP Applications • SIP trunks • SIP IP phones • IP PBX-to-IP PBX trunks • Computer Telephony Integration (CTI) connection; CSTA over SIP • Alarms systems • Pagers • Doorphone • Audio Alerter • Callbox • Multimedia Intercom • Process control devices
SIP in WebRTC SIPSignaling SIP Signaling Web Server Application Peer-to-Peer (audio, video, data) SIP Signaling Browser A running HTML5 Browser M running HTML5
SIP Trunk Benefits • Flexible provisioning • Provider competition and enterprise leverage • Eliminate VoIP gateways • Reduced conferencing costs • Low cost or free international calling • On-Net free calling
SIP Trunk Connections Legacy PBX VoIP Gateway SBC SIP Service Provider T1/E1/PRI Connections PSTN SBC • IP PBX
SIP Trunk Providers • Can connect using vendor specific versions of SIP trunk software • Standard SIP trunk connection is via SIPconnect (not a standard but an agreed upon recommendation from the SIP Forum http://www.sipforum.org/sipconnect) • SIPconnect version 1.1 is the latest one • May limit the media carried: • Voice only • Video maybe • Secure connections maybe • Fax maybe • 911 and E911 information maybe
Session Border Controllers • A firewall rule set while also map layer 5 to layer 7 addresses • Intrusion detection and prevention • Denial-of-service (DoS) attack prevention • VPN separation for shared resources • SIP-Transport Layer Security (TLS) handshaking for authentication and encryption of SIP signaling • Secure Real Time Protocol (RTP) support • Support for IPsec tunnels • Transcoding, or conversion between different VoIP codec technologies
SIP Voice Bandwidth • Many providers recommend 20% extra for other overhead and control traffic
SIP Licenses for Trunking • Needed for IP PBX and SBC • Not required for provider trunks • One license (session) can be one voice call or one video call • Once purchased they are perpetual • Cannot be reduced once purchased • Some high end SBCs come with unlimited licenses • Upper limit is usually hardware based • Call establishment rate, calls/second usually not specified in licenses agreement
Where Are the Problems? • “The SIP Survey 2012” by The SIP School, 2013 Survey Due In June
SIP Trunk Issues Firewall Problems: • Can block SIP packets • Cannot translate IP packet addresses TCP may be used instead of UDP One way audio Dropped connections Call transfer failure Registration failure
State of SIP • Relatively easy to implement • Has gained considerable vendor and provider acceptance • Allows flexible service creation • Extensible and scalable • Wide range of supporting products and services • Does not make PSTN interworking easy • Will not solve all IP Telephony issues such as QoS
Resources • Online education and certification www.thesipschool.com • IAUG Converge2013 sessions • “Sizing SIP Trunks” Tuesday, June 4 ,3:30 PM • “SIP Trunk Implementation Problems and Resolutions” Wednesday, June 5, 2 PM • “Ten SIP Trunk Equipment License Issues That Can Ruin Your Day (or Month)”http://www.webtorials.com/content/2013/03/ten-sip-trunk-equipment-license-issues-that-can-ruin-your-day-or-month.html • “Avoiding SIP Trunking Equipment Problems” http://www.webtorials.com/content/2013/02/avoiding-sip-trunking-equipment-problems.html • “How to avoid SIP Trunk Implementation Problems” http://www.webtorials.com/content/2013/01/how-to-avoid-sip-trunk-implementation-problems-1.html • “Easy SIP Trunking; No Yet”, http://www.telecomreseller.com/2011/09/19/easy-sip-trunking-not-yet/
FINI Gary Audin Delphi-inc@att.net VN 703 908 0965 www.telecomreseller.com