SlideShare a Scribd company logo
1 of 90
An Introduction to SIP
5 4 3 2 1
Introduction To SIP Please switch off any mobile/ ringing devices  Thank you xxxx xxxx
Introduction To SIP What is SIP? Why use SIP? Parts of a SIP Network SIP Based Signaling Debugging SIP Companies using SIP Useful Web Sites Roundup of what’s on your CD Lets build a SIP system!!!!!!!
What is SIP?
Session Initiation Protocol - An application layer signaling protocol that defines initiation, modification and termination of interactive, multimedia communication sessions between users. IETF RFC 2543 Session Initiation Protocol
Why use SIP?
Conferencing Distance Learning Email Video Conferencing Instant Messaging Voice Calls MPEG, MP3, Audio, HTML,XML Personal Mobility
 
Network Address Translation Problems Firewalls Routers Data Guys!!!!
Parts of a SIP network
1 2 3 ,[object Object],[object Object],[object Object],[object Object],4
User Agent Gateway PSTN SIP Components Redirect Server Location Server Registrar Server Proxy Server Proxy Server
 
SIP based signalling
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Basic Functionality
SIP Addressing ,[object Object],[object Object],[object Object],[object Object],[object Object]
Audio, video, ... INVITE 200 OK ACK BYE 200 OK
Registration ,[object Object],[object Object],[object Object],[object Object],SIP Messages: REGISTER  – Registers the address listed in the To header field. 200  – OK. Proxy/ Registration Server SIP Phone User Location/ Redirect Server REGISTER REGISTER 200 200
INVITE 200 OK INVITE 200 OK • • • 302 Redirect REGISTER
Call Setup and Teardown 302  (Moved Temporarily) ACK INVITE 302 (Moved Temporarily) ACK Call Teardown Media Path Call  Setup Location/Redirect Server Proxy  Server Proxy Server INVITE INVITE 200 (OK) 200 (OK) INVITE 180 (Ringing) 180 (Ringing) 180 (Ringing) 200 (OK) ACK ACK ACK RTP MEDIA PATH BYE BYE BYE 200 (OK) 200 (OK) 200 (OK) INVITE User Agent User Agent
 
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object],RTP packets of audio data going in both directions over ports 49170 & 3456 using PCMU/8000 encoding.  .
[object Object]
[object Object]
class 1: Provisional messages  ,[object Object],[object Object],[object Object],[object Object],[object Object]
Class 2 : Success Messages ,[object Object],[object Object]
Class 3 : Redirection Messages ,[object Object],[object Object],[object Object],[object Object],[object Object]
Class 4: Request Failures  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Class 5: Server Failures ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Class 6: Global Failures ,[object Object],[object Object],[object Object],[object Object]
Stunned!! ,[object Object],[object Object],[object Object]
What is an ENUM? ,[object Object],[object Object],[object Object]
Debugging SIP
 
 
 
 
 
Companies using SIP
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Sales of mobile phones with active SIP functionality will reach 275 million units in 2007
Useful Web Sites
http://www.sipcenter.com/ http://voiptroubleshooter.com/ http://www.wireshark.org/ http://wiki.wireshark.org/ http://www.winpcap.org/ http://www.touchstone-inc.com/tbfeatures.htm
http://www.asterisk.org/ http://www.counterpath.com/ http://www.iptel.org/ http://www.freeworlddialup.com/ http://www.voiptalk.org/products/index.html http://www.productsandservices.bt.com/consumerProducts/displayCategory.do?categoryId=CON-BB-TALK-R1
What’s on your CD
Documentation How to configure a 3300 to work with Asterisk Mitel SIP Primer Rfc3261 SIP and the new network communications model SIP For Dummies SIP Migration SIP PSTN Call Flow Wireshark
Software 3CX PBX and SIP Server Audacity 1.2.6 FWD Communicator HoverIP JMF Netcheck
More Software rtptools_1_18_win_bin SIP Scenario Generator Touchstone TraceBuster UDP Test Tool WireShark X-Lite
Call Traces aaa.Pcap Sending_Video_and_Audio_to_an_EyeBeam_Soft_Phone.pcap Sending_Video_to_an_EyeBeam_Soft_Phone.pcap SIP_Invite_to_Busy_End_Point.pcap SIP_Unknown_URI.pcap sip-rtp-g711.cap UK_Initiator-Responder.pcap
Lets build a system!
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
If someone would care to dial 0560 104 8333 from their mobile………… And a few internal test call between extensions Think about the possibilities………………
Well that’s just GREAT for THEM!!!! Ok – so we have just built a SIP PBX – we’ve added a few phones and made a couple of calls. Was it difficult? – NO!! On the notes for this file you will find 10 rather compelling reasons for customers to adopt SIP based systems.  Many manufacturers are positioning themselves ready for SIP All great news for them………………… I wonder where that leaves us?????????
Lets GO HOME!

More Related Content

What's hot

Voice Quality Metrics in VoIP
Voice Quality Metrics in VoIPVoice Quality Metrics in VoIP
Voice Quality Metrics in VoIPFraj Alshahibi
 
Session Initiation Protocol - In depth analysis
Session Initiation Protocol - In depth analysisSession Initiation Protocol - In depth analysis
Session Initiation Protocol - In depth analysischinmaypadhye1985
 
6293213 sip-presentation
6293213 sip-presentation6293213 sip-presentation
6293213 sip-presentationJoe Trial
 
Session initiation protocol SIP
Session initiation protocol SIPSession initiation protocol SIP
Session initiation protocol SIPLaraib Khan
 
Introduction into SIP protocol
Introduction into SIP protocolIntroduction into SIP protocol
Introduction into SIP protocolMichal Hrncirik
 
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...ALTANAI BISHT
 
SIP (Session Initiation Protocol)
SIP (Session Initiation Protocol)SIP (Session Initiation Protocol)
SIP (Session Initiation Protocol)KHNOG
 
Session Initiation Protocol
Session Initiation ProtocolSession Initiation Protocol
Session Initiation ProtocolMatt Bynum
 
session initiation protocol - SIP
session initiation protocol - SIPsession initiation protocol - SIP
session initiation protocol - SIPMahmoud Abudaqa
 
Voice over Internet Protocol (VoIP) using Asterisk
Voice over Internet Protocol (VoIP) using AsteriskVoice over Internet Protocol (VoIP) using Asterisk
Voice over Internet Protocol (VoIP) using AsteriskSameer Verma
 
Introduction to SIP(Session Initiation Protocol)
Introduction to SIP(Session Initiation Protocol)Introduction to SIP(Session Initiation Protocol)
Introduction to SIP(Session Initiation Protocol)William Lee
 
Sip call flows all cases ccmigration
Sip call flows all cases ccmigrationSip call flows all cases ccmigration
Sip call flows all cases ccmigrationcoolrahul28
 

What's hot (20)

Voice Quality Metrics in VoIP
Voice Quality Metrics in VoIPVoice Quality Metrics in VoIP
Voice Quality Metrics in VoIP
 
Session Initiation Protocol - In depth analysis
Session Initiation Protocol - In depth analysisSession Initiation Protocol - In depth analysis
Session Initiation Protocol - In depth analysis
 
6293213 sip-presentation
6293213 sip-presentation6293213 sip-presentation
6293213 sip-presentation
 
Session initiation protocol SIP
Session initiation protocol SIPSession initiation protocol SIP
Session initiation protocol SIP
 
Introduction into SIP protocol
Introduction into SIP protocolIntroduction into SIP protocol
Introduction into SIP protocol
 
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
 
VOIP
VOIPVOIP
VOIP
 
Indroduction to SIP
Indroduction to SIPIndroduction to SIP
Indroduction to SIP
 
SIP (Session Initiation Protocol)
SIP (Session Initiation Protocol)SIP (Session Initiation Protocol)
SIP (Session Initiation Protocol)
 
Session Initiation Protocol
Session Initiation ProtocolSession Initiation Protocol
Session Initiation Protocol
 
SIP for geeks
SIP for geeksSIP for geeks
SIP for geeks
 
Sip crash course
Sip crash courseSip crash course
Sip crash course
 
session initiation protocol - SIP
session initiation protocol - SIPsession initiation protocol - SIP
session initiation protocol - SIP
 
Voice over Internet Protocol (VoIP) using Asterisk
Voice over Internet Protocol (VoIP) using AsteriskVoice over Internet Protocol (VoIP) using Asterisk
Voice over Internet Protocol (VoIP) using Asterisk
 
Introduction to VoIP
Introduction to VoIPIntroduction to VoIP
Introduction to VoIP
 
Voip
VoipVoip
Voip
 
Introduction to SIP(Session Initiation Protocol)
Introduction to SIP(Session Initiation Protocol)Introduction to SIP(Session Initiation Protocol)
Introduction to SIP(Session Initiation Protocol)
 
Vo ip sip
Vo ip sipVo ip sip
Vo ip sip
 
Sip call flows all cases ccmigration
Sip call flows all cases ccmigrationSip call flows all cases ccmigration
Sip call flows all cases ccmigration
 
IP and VoIP Fundamentals
IP and VoIP FundamentalsIP and VoIP Fundamentals
IP and VoIP Fundamentals
 

Viewers also liked

Investigatory paper sample
Investigatory paper sampleInvestigatory paper sample
Investigatory paper sampleMarlo Ortinez
 
Sip Fundamentals and Prospects Tutorial - VoiceCon Orlando 2010
Sip Fundamentals and Prospects Tutorial - VoiceCon Orlando 2010Sip Fundamentals and Prospects Tutorial - VoiceCon Orlando 2010
Sip Fundamentals and Prospects Tutorial - VoiceCon Orlando 2010Voxeo Corp
 
Uip Sip Implementation Best Practices060409
Uip Sip Implementation Best Practices060409Uip Sip Implementation Best Practices060409
Uip Sip Implementation Best Practices060409Abdel-Fattah M. Hmoud
 
Imp sip basics-presentation[1]
Imp sip basics-presentation[1]Imp sip basics-presentation[1]
Imp sip basics-presentation[1]volkanakdugan
 
Bad error messages
Bad error messagesBad error messages
Bad error messagesHanokh Aloni
 
Voxeo Summit Day 2 -What's new in CXP 14
Voxeo Summit Day 2 -What's new in CXP 14Voxeo Summit Day 2 -What's new in CXP 14
Voxeo Summit Day 2 -What's new in CXP 14Voxeo Corp
 
Tài liệu Full VOIP
Tài liệu Full VOIPTài liệu Full VOIP
Tài liệu Full VOIPThanh Sơn
 
Audio codes technical_advantage_for_microsoft_uc_1_
Audio codes technical_advantage_for_microsoft_uc_1_Audio codes technical_advantage_for_microsoft_uc_1_
Audio codes technical_advantage_for_microsoft_uc_1_Tran Thanh
 
Internet telephony by abhishek mahajan
Internet telephony by abhishek mahajanInternet telephony by abhishek mahajan
Internet telephony by abhishek mahajanAbhishek Mahajan
 
Internet Telephony by Aria technologies
  Internet Telephony by Aria technologies  Internet Telephony by Aria technologies
Internet Telephony by Aria technologiesDavid Meadow
 
Efficient Telecommunication Infrastructure with Internet Telephony (VoIP)
Efficient Telecommunication Infrastructure with Internet Telephony (VoIP)Efficient Telecommunication Infrastructure with Internet Telephony (VoIP)
Efficient Telecommunication Infrastructure with Internet Telephony (VoIP)Thomas Siegers
 
SIP Trunking & Security in an Enterprise Network
SIP Trunking & Security  in an Enterprise NetworkSIP Trunking & Security  in an Enterprise Network
SIP Trunking & Security in an Enterprise NetworkDan York
 
Common channel Signalling System No 7 ppt
Common channel Signalling System No 7 pptCommon channel Signalling System No 7 ppt
Common channel Signalling System No 7 pptSrashti Vyas
 
SIP Trunking Case Study (Medtronic) Part 2
SIP Trunking Case Study (Medtronic) Part 2SIP Trunking Case Study (Medtronic) Part 2
SIP Trunking Case Study (Medtronic) Part 2ekrapf
 

Viewers also liked (19)

Investigatory paper sample
Investigatory paper sampleInvestigatory paper sample
Investigatory paper sample
 
Sip Fundamentals and Prospects Tutorial - VoiceCon Orlando 2010
Sip Fundamentals and Prospects Tutorial - VoiceCon Orlando 2010Sip Fundamentals and Prospects Tutorial - VoiceCon Orlando 2010
Sip Fundamentals and Prospects Tutorial - VoiceCon Orlando 2010
 
SIP - The Basics
SIP - The BasicsSIP - The Basics
SIP - The Basics
 
Science investigatory project
Science investigatory projectScience investigatory project
Science investigatory project
 
Uip Sip Implementation Best Practices060409
Uip Sip Implementation Best Practices060409Uip Sip Implementation Best Practices060409
Uip Sip Implementation Best Practices060409
 
Imp sip basics-presentation[1]
Imp sip basics-presentation[1]Imp sip basics-presentation[1]
Imp sip basics-presentation[1]
 
Bad error messages
Bad error messagesBad error messages
Bad error messages
 
Voxeo Summit Day 2 -What's new in CXP 14
Voxeo Summit Day 2 -What's new in CXP 14Voxeo Summit Day 2 -What's new in CXP 14
Voxeo Summit Day 2 -What's new in CXP 14
 
Tài liệu Full VOIP
Tài liệu Full VOIPTài liệu Full VOIP
Tài liệu Full VOIP
 
Audio codes technical_advantage_for_microsoft_uc_1_
Audio codes technical_advantage_for_microsoft_uc_1_Audio codes technical_advantage_for_microsoft_uc_1_
Audio codes technical_advantage_for_microsoft_uc_1_
 
Internet telephony by abhishek mahajan
Internet telephony by abhishek mahajanInternet telephony by abhishek mahajan
Internet telephony by abhishek mahajan
 
Internet Telephony by Aria technologies
  Internet Telephony by Aria technologies  Internet Telephony by Aria technologies
Internet Telephony by Aria technologies
 
Personality
PersonalityPersonality
Personality
 
SS7
SS7SS7
SS7
 
IP PBX
IP PBXIP PBX
IP PBX
 
Efficient Telecommunication Infrastructure with Internet Telephony (VoIP)
Efficient Telecommunication Infrastructure with Internet Telephony (VoIP)Efficient Telecommunication Infrastructure with Internet Telephony (VoIP)
Efficient Telecommunication Infrastructure with Internet Telephony (VoIP)
 
SIP Trunking & Security in an Enterprise Network
SIP Trunking & Security  in an Enterprise NetworkSIP Trunking & Security  in an Enterprise Network
SIP Trunking & Security in an Enterprise Network
 
Common channel Signalling System No 7 ppt
Common channel Signalling System No 7 pptCommon channel Signalling System No 7 ppt
Common channel Signalling System No 7 ppt
 
SIP Trunking Case Study (Medtronic) Part 2
SIP Trunking Case Study (Medtronic) Part 2SIP Trunking Case Study (Medtronic) Part 2
SIP Trunking Case Study (Medtronic) Part 2
 

Similar to Introduction To SIP

1 VoIP Overview[1]
1 VoIP Overview[1]1 VoIP Overview[1]
1 VoIP Overview[1]William Giba
 
1 Vo Ip Overview
1 Vo Ip Overview1 Vo Ip Overview
1 Vo Ip OverviewMayank Vora
 
1 Vo I P Overview
1  Vo I P  Overview1  Vo I P  Overview
1 Vo I P OverviewMayank Vora
 
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIPAN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIPSean Flores
 
VoIP and multimedia networking
VoIP and multimedia networkingVoIP and multimedia networking
VoIP and multimedia networkingsangusajjan
 
End to End volte ims sip call flow Guide - Mobile originating and Mobile term...
End to End volte ims sip call flow Guide - Mobile originating and Mobile term...End to End volte ims sip call flow Guide - Mobile originating and Mobile term...
End to End volte ims sip call flow Guide - Mobile originating and Mobile term...Vikas Shokeen
 
Apple Facetime Protocol
Apple Facetime ProtocolApple Facetime Protocol
Apple Facetime Protocolkshitijmehta23
 
D04.VoLTE SIP Call Flow – Mobile Originating (MO) & Terminating (MT).pdf
D04.VoLTE SIP Call Flow – Mobile Originating (MO) & Terminating (MT).pdfD04.VoLTE SIP Call Flow – Mobile Originating (MO) & Terminating (MT).pdf
D04.VoLTE SIP Call Flow – Mobile Originating (MO) & Terminating (MT).pdfElyDaliman
 
Sinnreich Henry Johnston Alan Pt 2
Sinnreich Henry Johnston Alan   Pt 2Sinnreich Henry Johnston Alan   Pt 2
Sinnreich Henry Johnston Alan Pt 2Carl Ford
 
VOIP Design & Implementation
VOIP Design & ImplementationVOIP Design & Implementation
VOIP Design & ImplementationAhmed A. Arefin
 
VOIP: VOICE OVER IP
VOIP: VOICE OVER IPVOIP: VOICE OVER IP
VOIP: VOICE OVER IPVideoguy
 
Yeastar Certified Technician S-Series Handouts
Yeastar Certified Technician S-Series HandoutsYeastar Certified Technician S-Series Handouts
Yeastar Certified Technician S-Series HandoutsDemeu Ltd.
 
Authenticated Identites in VoIP Call Control
Authenticated Identites in VoIP Call ControlAuthenticated Identites in VoIP Call Control
Authenticated Identites in VoIP Call ControlWarren Bent
 
Presentation To Vo Ip Round Table V2
Presentation To Vo Ip Round Table V2Presentation To Vo Ip Round Table V2
Presentation To Vo Ip Round Table V2Warren Bent
 
Review of SIP based DoS attacks
Review of SIP based DoS attacksReview of SIP based DoS attacks
Review of SIP based DoS attacksEditor IJCATR
 
Voice over IP: Issues and Protocols
Voice over IP: Issues and ProtocolsVoice over IP: Issues and Protocols
Voice over IP: Issues and ProtocolsVideoguy
 
Sinnreich Henry Johnston Alan Pt 3
Sinnreich Henry Johnston Alan   Pt 3Sinnreich Henry Johnston Alan   Pt 3
Sinnreich Henry Johnston Alan Pt 3Carl Ford
 

Similar to Introduction To SIP (20)

1 VoIP Overview[1]
1 VoIP Overview[1]1 VoIP Overview[1]
1 VoIP Overview[1]
 
1 Vo Ip Overview
1 Vo Ip Overview1 Vo Ip Overview
1 Vo Ip Overview
 
1 Vo Ip Overview
1 Vo Ip Overview1 Vo Ip Overview
1 Vo Ip Overview
 
1 Vo I P Overview
1  Vo I P  Overview1  Vo I P  Overview
1 Vo I P Overview
 
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIPAN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
 
VoIP and multimedia networking
VoIP and multimedia networkingVoIP and multimedia networking
VoIP and multimedia networking
 
End to End volte ims sip call flow Guide - Mobile originating and Mobile term...
End to End volte ims sip call flow Guide - Mobile originating and Mobile term...End to End volte ims sip call flow Guide - Mobile originating and Mobile term...
End to End volte ims sip call flow Guide - Mobile originating and Mobile term...
 
Apple Facetime Protocol
Apple Facetime ProtocolApple Facetime Protocol
Apple Facetime Protocol
 
D04.VoLTE SIP Call Flow – Mobile Originating (MO) & Terminating (MT).pdf
D04.VoLTE SIP Call Flow – Mobile Originating (MO) & Terminating (MT).pdfD04.VoLTE SIP Call Flow – Mobile Originating (MO) & Terminating (MT).pdf
D04.VoLTE SIP Call Flow – Mobile Originating (MO) & Terminating (MT).pdf
 
Sinnreich Henry Johnston Alan Pt 2
Sinnreich Henry Johnston Alan   Pt 2Sinnreich Henry Johnston Alan   Pt 2
Sinnreich Henry Johnston Alan Pt 2
 
VOIP Design & Implementation
VOIP Design & ImplementationVOIP Design & Implementation
VOIP Design & Implementation
 
VOIP: VOICE OVER IP
VOIP: VOICE OVER IPVOIP: VOICE OVER IP
VOIP: VOICE OVER IP
 
Yeastar Certified Technician S-Series Handouts
Yeastar Certified Technician S-Series HandoutsYeastar Certified Technician S-Series Handouts
Yeastar Certified Technician S-Series Handouts
 
Authenticated Identites in VoIP Call Control
Authenticated Identites in VoIP Call ControlAuthenticated Identites in VoIP Call Control
Authenticated Identites in VoIP Call Control
 
Presentation To Vo Ip Round Table V2
Presentation To Vo Ip Round Table V2Presentation To Vo Ip Round Table V2
Presentation To Vo Ip Round Table V2
 
Review of SIP based DoS attacks
Review of SIP based DoS attacksReview of SIP based DoS attacks
Review of SIP based DoS attacks
 
Voice over IP: Issues and Protocols
Voice over IP: Issues and ProtocolsVoice over IP: Issues and Protocols
Voice over IP: Issues and Protocols
 
Sinnreich Henry Johnston Alan Pt 3
Sinnreich Henry Johnston Alan   Pt 3Sinnreich Henry Johnston Alan   Pt 3
Sinnreich Henry Johnston Alan Pt 3
 
VOIP
VOIPVOIP
VOIP
 
Voip
VoipVoip
Voip
 

Recently uploaded

Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 

Recently uploaded (20)

Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 

Introduction To SIP

Editor's Notes

  1. This is an introductory (toe in the water) course for SIP. The idea is to touch lightly on some of the many facets of a technology which is revolutionising the field of communications. The idea is to stir the imagination – let you see some of the opportunities (and pitfalls) of the latest ‘new fangled’ technology to assault our peaceful engineering lives.
  2. So batten back your ‘lugs’ pay attention and SWITCH YOUR PHONES OFF!!!!!
  3. The Agenda for today; 1/. To test your tolerance to PowerPoint while you are introduced to SIP 2/. Look at the necessary hardware 3/. Look at the signalling 4/. Look at how we can debug SIP 5/. Finally to build a SIP PBX 6/. Program the PBX 7/. Configure some handsets 8/. Place a few calls 9/. Review some of the new opportunities…………………..
  4. WOW!!!! – That’s GREAT!!!!!! Slide number 6 and Its time to turn my brain off already!!!!!!! OK – so you walk up to a voice engineer point to the limp of plastic on his desk and says ‘What’s that?’ You will get an answer like ‘It’s me phone!’ Now – ask the same question of a data guy And the reply will be along the line of…. Ah – that would be a user endpoint capable of originating and terminating analogue audio streams, providing SMPFT/OC (Simple Management Protocol For Terminating and Originating Calls) – (hanging up / picking up) – a rich feature set of call deliver sub systems based upon a multi selection user interface (its got a keypad) which complies to multinational standards. (Its BT approved!!) which facilitates full user portability (its got a plug!!!) What both guys MEAN is it’s a Statesman KT1 Welcome to the world of ‘Data Speak’ - That’s great news for the data guys – unfortunately for us voice guys what it means is that (if you are lucky) you might see something on someone's desk that resembles a telephone – other than that its ALL CHANGE!!!!!!! No longer are we circuit switching voice – gone are the days of Voice over IP. Welcome to the days of everything over IP which terminates on a thing that might look like a telephone Alexander Graham Bell's notebook entry of March 10, 1876, describes the first successful experiment with the telephone, during which he spoke through the instrument to his assistant, Thomas A. Watson, in the next room. Bell writes, "I then shouted into M [the mouthpiece] the following sentence: 'Mr. Watson--come here--I want to see you.' To my delight he came and declared that he had heard and understood what I said.“ Never again will Watson have to come charging through the house just so that the Master can see him!!!!!!!!!!!! So, what are they REALLY saying; SIP is a way to make, transfer and cleardown calls – but not just voice calls – multimedia calls. WICKED!!!!! – now you can conference your mates into your latest porn film!!!!!!!!
  5. And that’s just for starters…………………… The Session Initiation Protocol (SIP) is a signalling protocol with great significance to the telecommunications industry. Chances are you're already using SIP (Session Initiation Protocol). It is one of the key innovations driving the current evolution of communications systems. Its first major use has been signalling in Internet telephony. Large carriers have been using SIP inside their networks for interconnect and trunking across long distances for several years. If you've made a long-distance call, part of that call probably used SIP. More recently, SIP has made it into the hands of the end user through a variety of devices that look and act a lot like telephones (but have only an Ethernet jack) and service providers such as iptel/FWD/VoIPTalk that offer telephony over any existing Internet connection. The next generation of mobile phones will use SIP as the primary signalling technology. SIP's utility does not end with telephony: it is already employed as a basic technology for IM (instant messaging) and presence.
  6. SIP solves two fundamental problems in establishing real-time communication sessions. First, it helps two parties wanting to communicate find each other. Then it allows those parties to negotiate how they are going to communicate (session negotiation). The majority of these negotiations in systems running today result in voice sessions, but nothing prevents negotiating an IM session or even an online game. SIP is an open standard developed by the IETF (Internet Engineering Task Force). SIP provides a framework for developing communications systems. It is not just a simple telephony application protocol. It is being used to construct peer-to-peer systems, residential telephony services, PBX replacement systems, and large-scale carrier next-generation networks, such as the IMS (IP Multimedia Subsystem) of the 3GPP (Third Generation Partnership Project)
  7. SIP carries routing information for both signalling and media in several fields scattered throughout the messages. For media in particular, these fields frequently carry explicit IP addresses and ports. A SIP endpoint behind a NAT will send messages with its private address and unmapped port, each of which will be useless to other endpoints not behind the same NAT. Furthermore, most NATs (and firewalls) will prevent incoming TCP connections and UDP traffic that doesn't line up with a temporary pinhole that outgoing UDP traffic establishes. As a result, SIP endpoints that implement only the base protocols will not work without external help when behind a NAT. Work on extensions to make NAT traversal easier for the endpoint is well under way. The STUN (Simple Traversal Underneath NATs) protocol has been available for a few years and is widely used by SIP endpoints to discover what their IP address and port look like on the other side of a NAT (the endpoint can then put its external addresses in all the right places, sacrificing talking to other endpoints behind the same NAT). We will see this later when we configure out SIP PBX and handsets. In the worst case, an endpoint might find itself behind a firewall or NAT that prevents all incoming traffic. Only packets belonging to a TCP stream that the endpoint opened will make it through. Incorrectly configured routers Quote from Cisco ‘ The causes of one-way audio in IP Telephony can be varied, but the root of the problem usually involves IP routing issues. This section takes a look at some of the scenarios and solutions that have been found in the field. ‘
  8. SIP Users Agents (Some People Might call them phones?????
  9. User Agents An application that initiates receives and terminates calls. User Agent Clients (UAC) – An entity that initiates a call. User Agent Server (UAS) – An entity that receives a call. Both UAC and UAS can terminate a call. Proxy Server An intermediary program that acts as both a server and a client to make requests on behalf of other clients. Requests are serviced internally or by passing them on, possibly after translation, to other servers. Interprets, rewrites or translates a request message before forwarding it. Location Server A location server is used by a SIP redirect or proxy server to obtain information about a called party’s possible location(s). Redirect Server A server that accepts a SIP request maps the address into zero or more new addresses and returns these addresses to the client. Unlike a proxy server, the redirect server does not initiate its own SIP request. Unlike a user agent server, the redirect server does not accept or terminate calls. Registrar Server A server that accepts REGISTER requests. The register server may support authentication. .
  10. All you have to remember is that before we let the data guys joint the party we needed two phones and a PBX…………. Data guys like it to be in lots of little boxes – so now we have what they call the SIP trapezoid!!!!!!! This is what happens when you let the rif raf in!!!!!!!!!!
  11. Is SIP Significant? It's been said that what HTTP did for the Web, SIP will do for telecommunications. SIP has colossal repercussions in the telecommunications industry. Cellular-technology companies have decided to standardize on SIP for all future applications. VoIP (Voice over IP) vendors, Internet telephony, and instant messaging applications (for example, Microsoft MSN Messenger) are all standardising on SIP. Some signalling protocols as well as peer-to-peer technology already exist. This begs the question, what advantage does SIP have over them? SIP offers some definite advantages: Stability: The protocol has been used for years now and is rock-solid. Speed: This UDP-based tiny protocol is extremely efficient. Flexibility: This text-based protocol is easily extensible. Security: Features like encryption (SSL, S/MIME) and authentication are available. Extensions to SIP offer other security features. Standardisation : With the entire telecommunications industry moving to it, SIP is rapidly becoming the standard. Other technologies may have some advantages over SIP, but they lack global adoption.
  12. Basic Peer to Peer (P2P) SIP Communication
  13. Each time a user turns on the SIP user client (SIP IP Phone, PC, or other SIP device), the client registers with the proxy/registration server. Registration can also occur when the SIP user client needs to inform the proxy/registration server of its location. The registration information is periodically refreshed and each user client must re-register with the proxy/registration server. Typically the proxy/registration server will forward this information to be saved in the location/redirect server.
  14. However – in reality – we all like to have a PBX to control things so it would be best to have a server to deal with registering users and directing calls.
  15. And as we have let the Data Guys join the party they will need to add a few servers so that they don’t feel left out…………………….. SIP is a lightweight, extensible, request/response protocol for starting communication sessions between two end-points. Does this sound familiar? SIP was inspired by HTTP and SMTP conceptually, although its intent is different. You can compare SIP messages to the CB lingo 10-codes, and Q-signals. Belle to Pete, do you copy, over Roger this is Pete, over Buy some bread on the way home Pete. Over OK 10-4 Over and Out In this example, the real message is surrounded with special call negotiation messages – Well so is SIP!!!!
  16. Anatomy of a SIP Call Let's now look more closely at the technology. SIP is usually transported over UDP although TCP must also be supported by SIP tools. A SIP message contains two parts: An envelope that describes a request or the result of a request (response) in the form of header fields. An optional payload or content that contains data about the request. The envelope is text, but the content may be text or binary. As an example, let's dissect a typical SIP call. In this scenario, User A wants to call User B.
  17. 1. User Agent A sends a SIP request "INVITE" to User Agent B to indicate User A's wish to talk to User B. This request contains the details of the voice streaming protocol. The Session Description Protocol (SDP) is used in the payload for this purpose. The SDP message contains a list of all media codecs supported by User A. (These codecs are using RTP for transport.)
  18. 2. User Agent B reads the request and tells User Agent A it has been received.
  19. 3. While the phone rings, User Agent B sends provisional messages (ringing) to User Agent A just so it doesn't time out and give up
  20. 4. Eventually User B decides to accept the call. At this point User Agent B sends an OK response to User Agent A. In the payload of the response, there's another SDP message. It contains a set of media codecs that are supported by both user agents. At this point both parties are officially in the call. All types of SIP requests are accepted using 200-type responses.
  21. 5. User Agent A finally confirms with an ACK message. There are no retries and no response messages for this request type, even if the message is lost. ACK is only used in the case of an INVITE message.
  22. 6. Both user agents are now connected using the method selected in the last SDP message.
  23. 7. At the end of the communication session, one of the users hangs up. At this point this user's user agent sends a new request BYE. This message can be sent by any of the parties.
  24. 8. The other user's user agent accepts the request and replies with an OK message. The call is disconnected.
  25. SIP response codes, class 1: Provisional messages These are sent within a SIP dialogue 100 Trying 180 Ringing 181 Call Is Being Forwarded 182 Queued 183 Session Progress
  26. SIP Response codes, Class 2 : Success Messages The 2xx class of responses indicates a success 200 OK 202 accepted: Used for referrals
  27. SIP response codes, Class 3 : Redirection Messages The 3xx class of responses indicates a redirection of the call 300 Multiple Choices 301 Moved Permanently 302 Moved Temporarily 305 Use Proxy 380 Alternative Service
  28. SIP response codes, Class 4: Request Failures 400 Bad Request 401 Unauthorized: Used only by registrars. Proxys should use proxy authorization 407 402 Payment Required (Reserved for future use) 403 Forbidden 404 Not Found: User not found 405 Method Not Allowed 406 Not Acceptable 407 Proxy Authentication Required 408 Request Timeout: Couldn't find the user in time 409 Conflict 410 Gone: The user existed once, but is not available here any more. 413 Request Entity Too Large 414 Request-URI Too Long 415 Unsupported Media Type 416 Unsupported URI Scheme 420 Bad Extension: Bad SIP Protocol Extension used, not understood by the server 421 Extension Required 423 Interval Too Brief 480 Temporarily Unavailable 481 Call/Transaction Does Not Exist 482 Loop Detected 483 Too Many Hops 484 Address Incomplete 485 Ambiguous 486 Busy Here 487 Request Terminated 488 Not Acceptable Here 491 Request Pending 493 Undecipherable: Could not decrypt S/MIME body part
  29. SIP response codes, Class 5: Server Failures 500 Server Internal Error 501 Not Implemented: The SIP request method is not implemented here 502 Bad Gateway 503 Service Unavailable 504 Server Time-out 505 Version Not Supported: The server does not support this version of the SIP protocol 513 Message Too Large
  30. SIP response codes, Class 6: Global Failures 600 Busy Everywhere 603 Decline 604 Does Not Exist Anywhere 606 Not Acceptable
  31. Other similar protocols are; TURN ICE
  32. To try out this dialog, a small capture file containing a VoIP call can be found the pcap traces folder on this disk (sip-rtp-g711.cap) The VoIP calls list shows the following information per call: Start Time: Start time of the call. Stop Time: Stop time of the call. Initial Speaker: The IP source of the packet that initiated the call. From: For H323 and ISUP calls, this is the calling number. For SIP calls, it is the "From" field of the INVITE. For MGCP calls, the EndpointID or calling number. For UNISTIM the Terminal ID. To: For H323 and ISUP calls, this is the called number. For SIP calls, it is the "To" field of the INVITE. For MGCP calls, the EndpointID or dialled number. For UNISTIM the dialled number. Protocol: Any of the protocols listed above Packets: Number of packets involved in the call. State: The current call state. The possible values are CALL SETUP: call in setup state (Setup, Proceeding, Progress or Alerting) RINGING: call ringing (only supported for MGCP calls) IN CALL: call is still connected CANCELLED: call was released before connect from the originated caller COMPLETED: call was connected and then released REJECTED: call was released before connect by the destination side UNKNOWN: call in unknown state Comment: An additional comment, this is protocol dependent. For H323 calls it shows if the call uses Fast Start or/and H245 Tunnelling. Filtering a call To prepare a filter for a particular call, just select the desired call and press "Prepare Filter" button. This will create a filter in the Main Wireshark windows to filter the packets related to this call.
  33. To Graph analysis one or multiple calls from the VoIP List, select them from the list and then press the "Graph" button. The Graph will show the following information: Up to Ten columns representing an IP address each one. All packets that belong to the same call are colorized with the same colour An arrow showing the direction of each packet in the calls The label on top of the arrow shows message type. When available, it also shows the media codec. The RTP traffic is summarized in a wider arrow with the corresponded Codec. Shows the UDP/TCP source and destination port per packet. The comment column has protocol dependent information: H323: Fast Start and H245 Tunnelling ON/OFF for the packet. The SETUP message shows the calling and called number The RELEASE message shows the Q.931 Release cause code SIP: Shows if the packet is a "Request" or a "Status" message. The INVITE message also shows the "From" and "To" fields ISUP: The format is as follows: NetworkID-Originating Point Code -> NetworkID-Destination Point Code, CIC MGCP: The MGCP Endpoint ID, and if the packet is a "Request" or "Response" message. UNISTIM: Details of the message, and the sequence #. RTP: Number of RTP packets in the stream, the duration in seconds and the SSRC field. When clicking a packet in the Graph, the selected frame will be selected in the Main Wireshark window. NOTE All available communications protocols are shown in the original ‘invite’ G711A law, G711u Law, GSM etc stc. Lower down the stack the negotiated protocol is shown
  34. Playing VoIP calls Is this a security issue? Damn right!!!!!!! Note: For the moment, this feature works only for G711 A-Law and G711 u-Law RTP streams (other codecs not implemented). To play the RTP audio stream of one or multiple calls from the VoIP List, select them from the list and then press the "Player" button:
  35. Choose an initial value for the jitter buffer and then press the "Decode button". The jitter buffer emulated by Wireshark is a fixed size jitter buffer and can efficiently be used to reproduce what clients can effectively hear during the VoIP call. You can now see all RTP streams available for the calls that you selected: Note that all RTP packets that are dropped because of the jitter buffer are reported ("Drop by Jitter Buff"), as well as the packets that are out of sequence (Out of Seq). Pressing the "Play" button plays the RTP stream from within Wireshark. A progress bar indicates the position in the stream and is synchronized amongst all RTP streams that are played.
  36. RTP stream analysis If you want to analyze an RTP stream, there are two ways to select the one to analyse: use the menu entry "Statistics->RTP->Show All Streams..." and select a stream in the upcoming "RTP Streams" dialog select an RTP packet in the Packet List Pane and use "Statistics->RTP->Stream Analysis..." Both ways will lead to the same "RTP Stream Analysis" dialog. You can get the Delay, jitter, bandwidth, etc. of that RTP stream. Also get general statistics like Packet Loss, max delay and sequence errors. Use the "Graph" button to see the jitter and difference between packets over the time.
  37. Please Note SKYPE does not use SIP Microsoft LCS is based on SIP Mitel 3300 and Dual Mode Phones Avaya SIP Application Server and 4600 Series Phones Cisco SIP proxy servers and phones D-Link SIP Phones Polycom SIP Phones
  38. These are sites of general interest / reference for SIP and Debug Tools
  39. These are the best sites to set up your own SIP PBX or just to get yourself your own SIP trunk and save a few quid!!!!!!
  40. Support documentation on this CD The Wireshark document details how to diagnose SIP faults using Wireshark
  41. 3CX PBX and SIP Server: The SIP PBX built during this course Audacity Audio Editing Software FWD Communicator Free World Dialup SIP Phone HoverIP Diagnostic Software (Includes IP Config / NSLookup / Route Table / Ping / Traceroute / Port Scanner JMF Plays back RTP Streams Netcheck Quick and easy SIP connectivity testing tool
  42. aaa.pcap - Part of the wirshark document Audio and Video over SIP - This is a trace of sending audio and video to a softphone. Video over SIP - This is a trace of sending just video to a softphone. IP Invite to Busy End Point - Here is a SIP call flow to an endpoint that is busy. SIP Unknown URI - A sample trace that demonstrates the call flow for a SIP INVITE with a URI that is not know by the System Under Test (SUT). SIP RTP G711 - This trace is a SIP call flow using RTP and the g711 codec. ISUP over SIP - UK Initiator Responder - This trace captures a send receive call flow of call between two phones using the UK format of ISUP over SIP
  43. As a demonstration we will build a 3CX SIP PBX. In REAL life I would use Asterisk – however as Asterisk runs on a Linux Enterprise Server and as this is a one day course………………………….. If, however anybody wants to take this further then have a look at http://www.asterisk.org for the software and http://www.voiptalk.org/products/Asterisk+PBX+Cards for cards, http://www.voiptalk.org/products/Asterisk+PBX+Cards for handsets and http://www.counterpath.com/xlitedownload.html for a softphone. AND while we are on the subject of Counterpath and Softphones – lets have a look at some of their other options Bria EyeBeam Quick Conference DA90 Anybody recognise anything…………………………………
  44. Ok – So, most of you are familiar with the concept but here is the schematic anyway……………….. Today we will NOT be connecting to the PSTN (we've all done that before) and we only have a limited amount of time and this is a SIP course not a PSTN course. However there is more than one way to connect to PSTN. So what we are going to do is to connect our PBX to a SIP carrier. Then we will dial in and via the wonder of ENUM the PSTN call will arrive at our PBX and from there to whichever UA or group you want it to go to (or maybe voicemail or we could be REALLY smart and configure an auto attendant……………………..)
  45. Next
  46. I Agree
  47. Default
  48. Default
  49. Default = 3
  50. Default = mail.mycompany.com [email_address] These would be changed to suite the customers requirements. This would be provided (no doubt incorrectly) by their IT Department
  51. Here we go!!!!!
  52. Now was not that easy!!!!!
  53. Log on with the credential you entered during the installation process
  54. Management Console On the top segment of the screen click ‘Click here to add an extension’
  55. Add a few extensions – one each would be good – then we will need a few for the other devices!!!!!
  56. At the end of each extension installation screen you will be presented with the information you will need to configure the ‘telephone’ and also a set of help files…………
  57. Next – Lets set up a trunk Go to Lines Add Voip
  58. Leave EVERYTHING on default (you did the hard work on the last screen!!)
  59. External Number = 05601048333 Authorisation ID = 844105170 Password = 75XCzf Everything else on default
  60. For the demo leave this as it is – but you have to watch out for rules like this!!! You’ll see why in a bit????????
  61. Lines Done!!!!!
  62. Extensions Done – we just need a quick test………………….
  63. Click on ‘Line Status’ top of the screen Great – Lines working – No phones – Guess we do the phones next!!!!!!
  64. From the folder on your CD install X-Lite onto your lap top
  65. Once started right click on the X-Lite phone screen to access the setup menu Click Add and enter the information from the 3CX PBX at the end of the extension setup screens
  66. Like this
  67. Apply / Ok They you should get something like this
  68. Back to the PBX – you should see something like this
  69. Dial 0 9 0 2 That’s ‘0’ for an outside line – remember the dialling rule!!!!!!!!!!!!!!
  70. Dial 999 (another strange rule) To access your voicemail NOTE THE PADLOCK – this is NOT secure!!!!!! Secure requires SRTP
  71. If someone would care to dial 0560 104 8333 from their mobile…………….. And a few internal test call between extensions Think about the possibilities……………… Lets check out www.counterpoint.com to help Effects on traditional PBX’s (pricing) New skill required by installation/maintenance engineers How do you know which server in a comms room of 100 servers is the one running the phones??????? Why buy applications like YA when this is virtually FREE!!!!!! Check out http://www.voiptalk.org/products/Asterisk+PBX+Cards for card prices Also try http://www.iptelephones.co.uk/ for handsets http://www.voiptalk.org/products/VoIP+Phones again for handsets
  72. Benefit #1: Much easier to install & configure than a proprietary phone system: An IP PBX runs as software on a computer and can use the processing power of the computer and user interface as well as Windows’ features. Anyone proficient in networking and computers can install and maintain an IP PBX. By contrast a proprietary phone system often requires an installer trained on that particular proprietary system! Benefit #2: Easier to manage because of web/GUI based configuration interface: An IP PBX can be managed via a web-based configuration interface or a GUI, allowing you to easily maintain and fine tune your phone system. Proprietary phone systems have difficult-to-use interfaces which are often designed to be used only by the phone technicians. Benefit #3: Significant cost savings using VOIP providers: With an IP PBX you can easily use a VOIP service provider for long distance and international calls. The monthly savings are significant. If you have branch offices, you can easily connect phone systems between branches and make free phone calls. Benefit #4 Eliminate phone wiring! An IP Telephone system allows you to connect hardware phones directly to a standard computer network port (which it can share with the adjacent computer). Software phones can be installed directly onto the PC. You can now eliminate the phone wiring and make adding or moving of extensions much easier. In new offices you can completely eliminate the extra ports to be used by the office phone system! Benefit #5: Eliminate vendor lock in! IP PBXs are based on the open SIP standard. You can mix and match any SIP hardware or software phone with any SIP-based IP PBX, PSTN Gateway or VOIP provider. In contrast, a proprietary phone system often requires proprietary phones to use advanced features, and proprietary extension modules to add features. Benefit #6: Scalable Proprietary systems are easy to outgrow: Adding more phone lines or extensions often requires expensive hardware modules. In some cases you need an entirely new phone system. Not so with an IP PBX: a standard computer can easily handle a large number of phone lines and extensions – just add more phones to your network to expand! Benefit #7: Better customer service & productivity: With an IP PBX you can deliver better customer service and better productivity: Since the IP telephone system is now computer-based you can integrate phone functions with business applications. For example: Bring up the customer record of the caller automatically when you receive his/her call, dramatically improving customer service and cutting cost by reducing time spent on each caller. Outbound calls can be placed directly from Outlook, removing the need for the user to type in the phone number. Benefit #8: Twice the phone system features for half the price! Since an IP PABX is software-based, it is easier for developers to add and improve feature sets. Most VOIP phone systems come with a rich feature set, including auto attendant, voice mail, ring groups, advanced reporting and more. These options are often very expensive in proprietary systems. Benefit #9 Allow hot desking & roaming Hot desking – the process of being able to easily move offices/desks based on the task at hand, has become very popular. Unfortunately traditional PBXs require extensions to be re-patched to the new location. With an IP PBX the user simply takes his phone to his new desk – No patching required! Users can roam too – if an employee has to work from home, he/she can simply fire up their SIP software phone and are able to answer calls to their extension, just as they would in the office. Calls can be diverted anywhere in the world because of the SIP protocol characteristics! Benefit #10 Better phone usability: SIP phones are easier to use Employees often struggle using advanced phone features: Setting up a conference, transferring a call – On an old PBX it all requires instruction. Not so with an IP PBX – all features are easily performed from a user friendly Windows GUI. In addition, users get a better overview of the status of other extensions and of inbound lines and call queues via the IP PBX Windows client. Proprietary systems often require expensive ‘system’ phones to get an idea what is going on, on your phone system. Even then, status information is cryptic at best. Conclusion Investing in a software-based IP PBX makes a lot of sense, not only for new companies buying a phone system, but also for companies who already have a PBX. An IP PBX delivers such significant savings in management, maintenance, and ongoing call costs, that upgrading to an IP PBX, should be the obvious choice for any company.