310 likes | 329 Views
Introduction to SIP Based ENUM IP Telephony Infrastructure. 資策會 網路及通訊實驗室 Conference over IP Team 楊政遠 博士 yzy@netrd.iii.org.tw. Outline. Review The Next Generation Converged Network SIP based IP Telephony System Integrate ENUM with SIP Based IP Telephony system
E N D
Introduction to SIP Based ENUM IP Telephony Infrastructure 資策會 網路及通訊實驗室 Conference over IP Team 楊政遠 博士 yzy@netrd.iii.org.tw
Outline • Review • The Next Generation Converged Network • SIP based IP Telephony System • Integrate ENUM with SIP Based IP Telephony system • The first run of SIP project in III NCL
Review • PSTN • Signaling: System Signal No: 7 • Carrier: T1 and successors …... Signaling plane STP CO Bearer plane CPE Local loop DTMF
1. ? 2. Call setup signaling 3. Digital voice packets Review • Internet (IP) Phone AD/DA compress/decompress AD/DA compress/decompress
Review (cont.) • Telephony Issues • Signaling • Addressing • PSTN - SS7 (ITU E.164) • VoIP - H.323、SIP、MGCP、Megaco/H.248 • Capability exchange • PSTN - Analog voice / -law、A-law PCM • VoIP - Digital voice / G.711、G.723.1 、G.729
Review (cont.) • Telephony Issues • Bearer • Transport • PSTN - TDM T1 trunk • VoIP - RTP over UDP/IP • Delay and Jitter • PSTN - circuit switching / propagation delay • VoIP - packet switching / unbounded delay and jitter • Internetworking between PSTN & IP Telephony
INVITE SIP:abc@xyz.com.tw SIP/2.0 ……. 180, Ringing 200, OK ACK RTP (voice) BYE ACK SIP based IP Telephony System SIP BASIC Call flow Caller Callee Pickup & dial Ringing Pick up On-hook
Redirect Server Registrar Server Location Server Proxy Server Proxy Server SIP based IP Telephony System SIP Distributed Architecture SIP Components PSTN User Agent Gateway
Location server ? INVITE sip:ab@xx.com SIP/2.0 ……. INVITE sip:ab@xy.com SIP/2.0 ……. SIP proxy server SIP based IP Telephony System Maybe rewrite SIP request User Agent Proxy server Proxy servers are, for example, used to route requests, enforce policies, control firewalls.
? INVITE sip:ab@xx.com SIP/2.0 …………. ACK 302 moved temporarily contract ……. INVITE sip:ab@xx.com SIP/2.0 ……. SIP based IP Telephony System SIP redirect server Location server Proxy server or caller redirect server Unlike a proxy server, it does not initiate its own SIP request. Unlike a user agent server, it does not accept call.
Proxy Server Location/Redirect Server Proxy Server INVITE 180 (Ringing) 180 (Ringing) 200 (OK) 200 (OK) 200 (OK) 200 (OK) INVITE INVITE 180 (Ringing) ACK ACK BYE BYE 200 (OK) 200 (OK) RTP MEDIA PATH INVITE ACK BYE User Agent User Agent Simple SIP call setup and teardown 302 (Moved Temporarily) ACK INVITE Call Setup 302 (Moved Temporarily) ACK MediaPath Call Teardown
SIP based IP Telephony System must support SIP based IP Telephony System Feature and Application Creation Operation System Support SIP Based Call Control and Switching
PSTN Gateway SIP proxy Server SIP proxy Server SIP proxy Server SIP proxy Server 3rd Party Billing System SIP proxy Server Provisioning Server(s) Feature Server(s) CDR Server(s) Internet Clearing House RADIUS H.323/SIP Translator MGCP/SIP Translator SNMP Network Manager MGCP Device SIP IP Phone H.323 Terminal SIP based IP Telephony System SIP based VOCAL System [http://www.vovida.org/
H.323 Translator: Acts as a Gatekeeper to control H.323 endpoints. Talks SIP to the rest of the network for routing and features. SIP based IP Telephony System
MGCP Translator: Acts as a call agent to control MGCP end points. Talks SIP to the rest of the network for routing and features. SIP based IP Telephony System
SIP based IP Telephony System SIP proxy Server: Acts as a trusted boundary for calls entering or leaving a network. Provides authentication and collects billing information for the CDR server.
SIP based IP Telephony System CDR Server: Collects billing information from Marshal Servers and interfaces with billing systems using the RADIUS accounting protocol.
SIP based IP Telephony System Provisioning Server: Used to provision, configure and manage subscribers and servers from a GUI.
SIP based IP Telephony System Feature Server:Provide CPL based or XML scripts that run basic telephony features.
1. Invite 3. Invite 2. Invite SIP based IP Telephony System Basic call initiation SIP proxy server SIP proxy server SIP Phone SIP Phone
5. 180, Ringing 6. 180, Ringing 4. 180, Ringing 8. 200, OK 9. 200, OK 7. 200, OK 10. ACK 11. ACK 12. ACK 13. RTP Basic call establishment SIP based IP Telephony System SIP proxy server SIP proxy server SIP Phone SIP Phone
16. BYE 15. BYE 14. BYE 17. 200, OK 18. 200, OK 19. 200, OK 20. Tear down Basic call tear down SIP based IP Telephony System Redirect SIP proxy server SIP proxy server RTP SIP Phone SIP Phone
SIP based IP Telephony System • Operation System Support (OSS) includes • Provision • adding and maintaining network users • Authentication • Access list / Digest • Billing • Network management
17.BYE 15. BYE 13. BYE 19. 200, OK 20. 200, OK 18. 200, OK 16. Notify for end record 14. Notify for end record 21. Tear down Billing (CDR ends to record) SIP based IP Telephony System SIP Proxy SIP Proxy CDR server RTP SIP Phone SIP Phone
SIP based IP Telephony System • Feature services are the value-added functions of the phone system • Core features • Calling Information • Calling Number Delivery (CND) or Calling Line Identification (CLID) / Calling Party Identity Blocking (CIDB) • Calling Forwarding • Forward All Calls (CFA) / Forward - No Answer Mode (CFNA) / Forward - Busy Mode ( CFB ) • Call Blocking / Call Screening • Set features • Call transfer / Call Return / Call waiting / Cancel Call Waiting ( CCW ) • Scriptable features • Call Processing Language (CPL)
2. Invite 4. ACK 3. 320, move ... 2. Invite 1. Invite 3. 403, Forbidden 4. ACK 5, 403 Forbidden Features service - call blocking SIP based IP Telephony System Redirect Call blocking feature server SIP proxy SIP Phone
2. ENUM DNS Query 3. NAPTR RR 4. Front End Protocols 5. Gateway location 1. Invite 11. PSTN 7. Invite ENUM SIP Based Telephony system SIP phone to PSTN ENUM DNS SIP Proxy Clearinghouses 6. Invite Gateway SIP Phone Gateway SIP proxy
1. ENUM Query 2. NAPTR RR 3. DNS Query 4. A RR 5. Invite 6. Invite 7. Invite ENUM SIP Based Telephony system PSTN to SIP phone ENUM DNS DNS Softswitch SIP proxy STP SCP PSTN SSP Media Gateway SIP proxy
16. 180, Ringing 19. 200, OK 20. ACK 21. ACK 15. 180, Ringing 18. 200, OK 23. voice 14. 180, Ringing 22. ACK 23. RTP 17. 200, OK ENUM SIP Based Telephony system PSTN to SIP phone SIP proxy ENUM DNS DNS Softswitch STP SCP SIP proxy PSTN SSP Media Gateway