asterisk deployments

29
Asterisk Deployment in Large Enterprise and Cloud Solutions Ali Pey Sr. Software Eng Architect Wed Jan 30, 2013

Upload: asterisk-community

Post on 18-Nov-2014

1.354 views

Category:

Documents


8 download

DESCRIPTION

Asterisk Deployment in Large Enterprise and Cloud Solutions

TRANSCRIPT

Page 1: Asterisk Deployments

Asterisk Deployment in

Large Enterprise and Cloud Solutions

Ali Pey

Sr. Software Eng Architect

Wed Jan 30, 2013

Page 2: Asterisk Deployments

Cloud Services for Business

• eFax®• eVoice®• FuseMail®• Campaigner®• KeepItSafe®• Onebox®• www.j2.com

2

Page 3: Asterisk Deployments

Outline

• Why Asterisk?• What can you do with Asterisk?• Network Diagrams• Large Enterprise and Could requirements• *** Proxy Servers (SBCs)• Load balancing, routing and failure

detection• Security• NAT• Questions?

3

Page 4: Asterisk Deployments

Why Asterisk? (1/3)

• It is Open Source• It has a Community– Numerous companies and resources– Forums, mailing lists– Tools

• No Cost

Open Source is revamping telecom

4

Page 5: Asterisk Deployments

Why Asterisk? (2/3)

• More Independence (Not depending on a single company)

• Continued Enhancements– The community is growing so are the features– Interoperability– WebRTC

5

Page 6: Asterisk Deployments

Why Asterisk? (3/3)

• Flexibility, Customization and Integration– Integrates with your back end– Business Logic Integration– Database Integration– Special Features or Requirements

6

Page 7: Asterisk Deployments

What can you do with Asterisk? (1/3)

• Make a phone Call

• Conference, Hold, Transfer, Park, Announcement, Click to call, and many many more.

• Basically any Telephony Feature you can imagine

7

Page 8: Asterisk Deployments

What can you do with Asterisk? (2/3)

• Connect Phones/Clients:– Analog– SIP Phones– Soft phone– Web phone– Mobile– WebRTC

• Trunks: – IP (SIP)– Digital: T1/E1– Analog

8

Page 9: Asterisk Deployments

What can you do with Asterisk? (3/3)

• PBX• Telephony and Voice Applications• Presence and BLF• Google Voice and WebRTC• Conferencing, Video, Fax, Auto Attendant, etc.

etc.

• The question is: What can’t you do with Asterisk?

9

Page 10: Asterisk Deployments

Diagram 1 - SIP Clients: SIP Phones, Soft phones, Web Phones, Mobile or even WebRTC

10

Page 11: Asterisk Deployments

Diagram 2: SIP Trunks

11

Page 12: Asterisk Deployments

Diagram 3 - Analog/Digital Cards/Gateways(Single point of failure)

12

Page 13: Asterisk Deployments

Large Enterprise and Cloud Solutions(or simply: Bigger Systems)

• Redundancy • High Availability (Failure Detection)• Distribution and Routing Rules• Performance and Reliability• Security• NAT Traversal

13

Page 14: Asterisk Deployments

Proxy ServersWhat is a Proxy Server? (1/2)

• Registrar Server for Clients• Routing, Rules, Failure Detection and Re-

Routing• SIP Signaling, Codec and Digit

Manipulation• Load Balancing• Scripting• Resource Allocation• Rate Limiting

14

Page 15: Asterisk Deployments

What is a Proxy Server? (2/2)

• NAT Traversal• Media Proxy (or Direct Media Path)• Performance• Redundancy and High Availability• Security and Authentication

15

Page 16: Asterisk Deployments

Two Asterisk Servers and One Proxy Server

16

Page 17: Asterisk Deployments

Two Asterisk – Two Proxy servers

17

Page 18: Asterisk Deployments

Fully Redundant Distributed Environment

18

Page 19: Asterisk Deployments

Proxy Servers (SBCs)

• Open Source vs. Commercial

19

Page 20: Asterisk Deployments

Open Source Proxy Servers

• OpenSIPS • Kamailio• OverSIP (Ruby, WebSocket)

20

Page 21: Asterisk Deployments

Commercial SBCs (Session Border Controller)

• Acme Packet• Dialogic• Audiocodes• Sonus• And quite a few others

21

Page 22: Asterisk Deployments

Fully Redundant Large Enterprise and Could Solution

• Performance• Redundancy• High Availability• Routing, Rules, Load Balancing and

Distribution• Security• NAT Traversal

22

Page 23: Asterisk Deployments

Performance, Redundancy, High Availability and Distribution

23

Page 24: Asterisk Deployments

Call Flow Diagram Examples

• SIP Phone to SIP Phone Call• SIP Phone to SIP Trunk Call• SIP Trunk to SIP Trunk Call• Analog (Trunk or Phone) to SIP Trunk Call

24

Page 25: Asterisk Deployments

Call Routing

• Load Balancing• Resources• Dynamic Routing• Rules• Failure detection

25

Page 26: Asterisk Deployments

Security

• Sooner or later• Close network vs. Open and in between• What to look for?• What to examine? • Each deployment has its own unique

characteristics that can make it safe.• Secure VoIP – Insecure system => Call

patterns

26

Page 27: Asterisk Deployments

NAT

• What is NAT?• Public IP vs. Private IP• SIP Signaling• Media

27

Page 28: Asterisk Deployments

Questions?

28

Page 29: Asterisk Deployments

29