Your SlideShare is downloading. ×
SIP
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
742
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
49
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Samsung TECOM IP2050
  • ICE: TURN, STUN, ALG
  • Transcript

    • 1. Introduction to SIP deployment TNC2004 VoIP workshop Rodos, 11 June 2004 Erik Dobbelsteijn [email_address]
    • 2. Agenda
      • What can you do with SIP
      • What is SIP
      • SIP and H.323
      • VoIP deployment schemes
      • Basic deployment
      • Extended deployment
      • Client configuration
      • Session example
      • Issues
      • Looking forward
      • Referals
    • 3. Your Deployment Bible: http://www.terena.nl/tech/IPtel
    • 4. Group communication on internet text audio video synchronous a-synchronous data Video-mail, Streaming Video conf. .ppt, .doc attachment Voice-mail E-mail, forum , Listserv , News Desktop- sharing, Application- sharing Voice over IP Instant Messaging, chat
    • 5. What can you do with SIP now
      • Set up a real-time communication session in an e-mail kind of fasion
      • Voice, or Video & Voice
      • Call for free from IP to IP
      • Cheap deployment
      • Set up gateway to POTS for calls to regular phones
      • Integrate with messaging
    • 6. What is SIP
      • Deals with signaling for setting up a real-time communication session
      • Messages are HTTP like (plain text, not binary)
      • Registration of User Agents (‘telephones’) at SIP Registrar
      • Call handling by SIP proxy
      • Audio and/or videostreams follow straight path between User Agents
    • 7. SIP and H.323
      • Religious war: think your requirements through, first
      • SIP++: Use it like e-mail, forget the number!
      • SIP++: Find each other through DNS
      • SIP++: Multi-client support
      • SIP++: Easy integration with messaging
    • 8. VoIP deployment schemes
      • PABX replacement
      • Campus population (SIP.edu)
      • Inter-office switching (trunking)
      • Public internet service (Pulver Free World Dialup service: http://fwd.pulver.com)
    • 9. Basic deployment
      • Calls between IP phones and/or Soft phones
        • Each User Agent (UA) registers with Registrar
        • Proxy forwards call requests to correct UA
    • 10. Basic Setup LAN SIP proxy SIP registrar Software UA Hardware UA PC PC Hardware UA
    • 11. Step 1: registering client LAN SIP proxy SIP registrar Software UA Hardware UA PC PC Hardware UA REGISTER sip:192.87.116.77 SIP/2.0 Via: SIP/2.0/UDP 192.168.0.134:5060 To: Erik Dobbelsteijn<sip:Erik.Dobbelsteijn@192.87.116.77> From: Erik Dobbelsteijn<sip:Erik.Dobbelsteijn@192.87.116.77> Call-ID: 0df084e8ad91deed8f70d79fe9c9cf19@192.168.0.134 CSeq: 24297 REGISTER Max-Forwards: 70 Expires: 3600 Contact: <sip:3110149008@192.87.109.50:5060> SIP/2.0 200 OK
    • 12. Step 2: call setup LAN SIP proxy SIP registrar Software UA Hardware UA PC PC Hardware UA INVITE Erik.dobbelsteijn@surfnet.nl Multiple UA’s Can answer 200 OK
    • 13. Step 3: voice and video streams LAN SIP proxy SIP registrar Software UA Hardware UA PC PC Hardware UA Audio (+video) stream
    • 14. Basic deployment issues (to do list)
      • Hardphones and/or Soft phones?
      • Which SIP Proxy Manufacturer?
      • Dialplan
      • Authentication
      • NAT/Firewall
      • Redundancy
      • Logging
      • End-user support
    • 15. Soft phones & hard phones +/+ flexible +/+ cheap +/+ messaging -/- audio setup -/- always on +/+ audio setup +/+ always on -/- more expensive -/- messaging
    • 16. Manufacturer
      • Free (Open Source):
        • SER ( www.iptel.org / ser )
        • Asterisk ( www.asterisk.org )
      • Commercial:
        • See www.sipcenter.com or www.pulver.com
        • Microsoft Live Communications Server
        • Wave3 Sessions
        • Radvision ViaIP
    • 17. Dialplan
      • Keep it simple: identify users by e-mailadres
      • To support easy in/outside dialing: make number aliases: ‘real’ telephone number, consisting of:
        • short number
        • Prefix
        • (+31302305)309 = [email_address]
      • Process numbers: add/strip prefix
    • 18. Authentication
      • basic vs Digest (MD5): use Digest
      • TLS/Kerberos: interop problems
      • Re-use existing backend:
      • RADIUS
      • LDAP
    • 19. NAT/Firewall
      • Main problem: dynamic UDP ports for media
      • Campus deployment:
      • Probably no NAT necessary/implemented 
      • Firewall: keep all SIP components behind firewall
      • Firewall: if SIP server needs to be protected from campus infrastructure: enable port 5060. Audio streams go between UAs directly, so no firewall issue
      • NAT traversal: see Interactive Connectivity Establishment (ICE)
    • 20. Redundancy
      • Double Registrar
      • Double Proxy
      • Double RADIUS
      • Double LDAP
      • (host userdata database and webserver separately)
    • 21. Logging
      • Text based logging: REGISTER, INVITE, OK etc
      • Accounting to RADIUS
      • Accounting to PSTN: get it out of PABX
    • 22. Extended deployment
      • DNS service records: resolve SIP UA locations
      • Voicemail to E-mail
      • End-user self provisioning
      • Integration with Messaging (SIMPLE/JABBER)
      • Click to Dial
      • Calls to POTS (a.k.a. PSTN)
      • MultiConference Unit (for multi party calls)
      • ENUM: resolve POTS numbers to IP domain
      • Interfacing with H.323
      • Multi-domain hosting
    • 23. DNS Service records
      • Find users’ Proxy like mailservers do: by DNS Service Record
      _sip._udp.surfnet.nl server selection 0 0 5060 sip.showcase.surfnet.nl If a SIP request for @surfnet.nl arrives over UDP at port 5060… … ask this server
    • 24. Web based self provisioning (SER)
      • Configure a mailserver and local message handling (restricted sendmail)
      • Install Apache and PHP
      • Install SER web
    • 25. Web based self provisioning (SER)
    • 26. Integration with Messaging (SER)
      • SIMPLE is integrated and enabled by default: test it with Microsoft Windows Messenger 4.7
      • SER can act as a SIMPLE to JABBER gateway
    • 27. POTS gateway LAN Software UA SIP proxy Hardware UA SIP registrar Gateway POTS SIP User Agents PC PC Hardware UA PABX
    • 28. POTS gateway
      • Provides call handling and media conversion towards PSTN
      • If number is not a short number/starts with a 0: send call request to gateway
      • PC or router with ISDN2/ISDN30 interface
      Cisco: dial-peer voice 112 voip destination-pattern 31302305... session target sip-server no vad sip-ua nat symmetric role passive nat symmetric check-media-src retry invite 4 retry response 3 retry bye 2 retry cancel 2 sip-server dns:surfnet.nl
    • 29. SIP-H.323 gatewaying
      • Not quite stable yet
      • Easiest way: use a mixed-protocol gateway or MCU.
    • 30. MultiConference Unit (for multi party calls)
      • Mix audio and video signals
      • MCU is registered at the Proxy
      • Mixed H.323/SIP available (RADVision, FVC)
      Multi Conference Call
    • 31. ENUM
      • Resolve PSTN numbers (E.164) to IP
      • +31 30 2305109 will go first to SIP phone, then to H.323 phone and e-mail otherwise
      $ORIGIN 9.0.1.5.0.3.2.0.3.1.3.e164.arpa IN NAPTR 10 100 &quot;u&quot; &quot;E2U+sip&quot; &quot;!^.*$!sip:erik.dobbelsteijn@surfnet.nl!&quot; . IN NAPTR 10 101 &quot;u&quot; &quot;E2U+h323&quot; &quot;!^.*$!h323:erik.dobbelsteijn@surfnet.nl!&quot; . IN NAPTR 10 102 &quot;u&quot; &quot;E2U+msg:mailto&quot; &quot;!^.*$!mailto:erik.dobbelsteijn@surfnet.nl!&quot; .
    • 32. Multi-Domain hosting (SER) if (uri=~&quot;surfnet.nl&quot;) { route(1); break; } else if (uri=~&quot;chat.surfnet.nl&quot;) { route(2); break; } else if (uri=~&quot;sip.showcase.surfnet.nl&quot;) { route(3); break; };
    • 33. Client configuration
      • Accountname, sign-in name, password
    • 34. Session example
      • Start from the menu, or the Buddy List:
    • 35. Issues
      • Interoperability (single vendor can be good choice
      • MS Windows Messenger 4.7/ 5 /MSN mixup
      • Presence/IM not widely supported yet
      • PC based configuration: instable audio setup (mute button, headphone not plugged in etc)
    • 36. The (near) future:
      • Context aware and Location Based communication (see http://pic.internet2.edu)
      • Extended reachability via database (H.350)
      • Added security and anti-spam
      • IPv6
    • 37. For rainy Sunday afternoons… TERENA VoIP cookbook: http://www.terena.nl/tech/voip SIP.edu cookbook: http://voip.internet2.edu/SIP.edu SURFnet VoIP pages (Dutch) http://www.surfnet.nl/innovatie/surfworks/voip http :// www.sipcenter.com http://fwd.pulver.com

    ×