SlideShare une entreprise Scribd logo
1  sur  78
Scaling Asterisk Installations ,[object Object],Copyright Edvina AB, Sollentuna, Sweden 2010. All rights reserved.
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Many slides copied from the  Asterisk SIP Masterclass ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],Many slides copied from the  Asterisk SIP Masterclass
Disclaimer ,[object Object],[object Object],[object Object]
The big question What do you want to do today?
[object Object],Audio Video Text White-board 3D Hologr ????
[object Object]
#1 : The Internet. ,[object Object],[object Object],[object Object],[object Object]
#2: Open Standards making it possible making it possible ,[object Object],[object Object],[object Object],[object Object],[object Object]
#3: Open Source ,[object Object],[object Object],[object Object],[object Object]
#4: Voice interfaces ,[object Object],[object Object],[object Object]
#5: Commodity hardware ,[object Object],[object Object]
#6: API’s ,[object Object],[object Object],[object Object],[object Object],[object Object]
#7: Unified, federated identity ,[object Object],LDAP OpenID SAML 2.0 Oauth
In order to follow this ,[object Object]
Conclusion ,[object Object]
Consider If you invest in a unified communication network today and design it for voice/PBX services only,  it won’t work for future services
Without the Internet you still have  an old telephony PBX. an old telephony PBX. an old telephony PBX.
Without the Internet you are on an isolated island. isolated island. isolated island. So how do we get away from it?
Where are we today? ,[object Object],[object Object],[object Object],[object Object]
How do we solve this? ,[object Object],[object Object]
Kamailio & Asterisk Session Border controller Proxy Core proxy Proxy Registrar/Location server Asterisk PSTN Gateway Asterisk Voicemail Server Asterisk Feature/IVR Server Asterisk Proxy
Scaling using SIP ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The problem with Kamailio ,[object Object],[object Object]
A proxy SIP call and an Asterisk SIP call AUDIO STREAM AUDIO STREAMS One SIP call (dialog) One SIP call (dialog) from Alice to Asterisk One SIP call (dialog) from Asterisk to Bob Alice Bob Two SIP calls, and two media streams SIP Proxy Asterisk
SIP proxy & b2bua working together ,[object Object]
Let’s play together Kamailio Proxy Asterisk PBX Call stateful Transaction stateful *
Asterisk’s view of SIP
Where we should be going... SIP SIP SIP Asterisk interoperating with a SIP infrastructure with full interoperability
SuperQuick Intro to Kamailio
A SIP proxy ,[object Object],[object Object],[object Object],[object Object]
Kamailio ,[object Object],[object Object],[object Object],[object Object],[object Object]
Step 1 ,[object Object]
Simple scenario ,[object Object],[object Object],[object Object],[object Object],User database *
Changes from Asterisk PoV ,[object Object],[object Object],[object Object],[object Object],[object Object]
Possible next step ,[object Object],[object Object],[object Object],* *
Stage 2 ,[object Object]
Simple scenario User database ,[object Object],[object Object],[object Object],*
Changes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Possible next step User database ,[object Object],[object Object],[object Object],* *
Issues ,[object Object],[object Object],[object Object],[object Object]
Using Realtime ,[object Object]
Realtime in SIP ,[object Object],[object Object],[object Object],[object Object],Proxy with load balancing * * * *
Realtime in SIP with Dundi Dundi cluster SIP Database Server Calls and registrations are distributed with a SIP proxy or DNS or... * * * *
Realtime in SIP with SysName Database Server Calls and registrations are distributed with DNS The DB contains the SystemName of the server that accepted registration for outbound calls (NAT traversal) * * * *
Pro’s and con’s ,[object Object],[object Object]
Realtime hybrid
Sharing data ,[object Object],[object Object],[object Object],User database *
PBX hosting
Requirements ,[object Object],[object Object],[object Object]
PBX hosting ,[object Object],[object Object],[object Object],Pbx customer 1 Pbx customer 2 Pbx customer 3 Voicemail, conferencing services * * * *
What you can do ,[object Object],[object Object],[object Object],Pbx customer 1 Pbx customer 2 Standby Voicemail, conferencing services * * * * *
Configuration
Configuring a peer for the proxy [mypeer] type=peer host=mypeer.mydomain.mytld context=mypeer-in With this configuration, we can place calls and receive calls. Asterisk will match on IP for incoming calls and send outbound calls to the proxy.
Receiving calls ,[object Object],[object Object],sip: 123456 @ kamailioguru.org ${EXTEN} exten=> 123456,1,noop ${SIPDOMAIN} [kamailio_in] exten =>_X.,1,goto(${SIPDOMAIN},${EXTEN},1) [kamailioguru.org] exten => _X.,1,verbose(hello ${EXTEN})
Sending calls [kamailio] type=peer host=mypeer.mydomain.mytld context=mypeer-in exten => 12345,1,dial(SIP/12345@kamailio) INVITE sip:12345@mypeer.mydomain.mytld To: sip:12345@mypeer.mydomain.mytld
Sending calls (2) [kamailio] type=peer host=mypeer.mydomain.mytld context=mypeer-in exten => 12345,1,dial(SIP/12345@kamailio! 0812346 ) INVITE sip:12345@mypeer.mydomain.mytld To: sip:  0812346 @mypeer.mydomain.mytld From: sip:yyyy@asterisk
Sending calls (2) [kamailio] type=peer host=mypeer.mydomain.mytld context=mypeer-in exten => 12345,1,dial(SIP/12345@kamailio! [email_address] ) INVITE sip:12345@mypeer.mydomain.mytld To: sip:  0812346 @kamailio.org From: sip:yyyy@asterisk
SBC behaviour ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example ; Get the full FROM Uri ; The username part is already the caller ID exten => _.,1,set(fromuri=${SIPCHANINFO(from)}) ; Get the domain and set it for the outbound call ; Note! This requires a patch. Exist in 1.6.2 and later. exten => _.,n,set(SIPFROMDOMAIN=${CUT(fromuri,@,2}) ; Dial out. The ! part only exist in 1.6.0 and later exten => _.,n,dial(SIP/${EXTEN}@${SIPDOMAIN}!${SIP_HEADER(To)}) The outbound proxy setting will route calls to the proxy
Asterisk as PSTN gateway, not pbx ,[object Object],[object Object],[object Object],[object Object]
Asterisk media server
Playing prompts ; Don’t answer immediately, that confuses people exten => invalidnumber,1,ringing() exten => invalidnumber,n,wait(1) exten => invalidnumber,n,answer ; Let the RTP streams settle exten => invalidnumber,n,wait(.5) exten => invalidnumber,n,playback(invalid-number) ; Let the RTP streams settle exten => invalidnumber,n,wait(.5) exten => invalidnumber,n,hangup
Future and current work
Pinetree ,[object Object],[object Object],[object Object],Pbx customer 1 Pbx customer 2 Standby * * *
Appleraisin ,[object Object],[object Object],[object Object],MySQL MySQL * *
PineFrog ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Pinana ,[object Object],[object Object],[object Object]
Other branches ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Summary
Migration is hard ,[object Object],[object Object],[object Object],[object Object]
Building a new platform ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
One last issue. ,[object Object]
Why are we still building with PSTN focus? PSTN SIP SIP SIP SIP SIP SIP Isolated islands of SIP!
Put the Internet where it belongs @ SIP SIP SIP SIP SIP SIP One Unified Communications Network PSTN PSTN PSTN PSTN PSTN PSTN
IPv6 is the new glue No NAT.  Enough network addresses to build anything you need.  Go and have fun. Discover the new oppurtunities with IPv6!
Questions? ?
© Copyright Edvina AB, Sollentuna, Sweden 2010. All rights reserved. Open Unified Communication Connecting Internet Users in real time.

Contenu connexe

Tendances

Barry Hesk: Cisco Unified Communications Manager training deck 1
Barry Hesk: Cisco Unified Communications Manager training deck 1Barry Hesk: Cisco Unified Communications Manager training deck 1
Barry Hesk: Cisco Unified Communications Manager training deck 1
Barry Hesk
 

Tendances (20)

Astricon 10 (October 2013) - SIP over WebSocket on Kamailio
Astricon 10 (October 2013) - SIP over WebSocket on KamailioAstricon 10 (October 2013) - SIP over WebSocket on Kamailio
Astricon 10 (October 2013) - SIP over WebSocket on Kamailio
 
rtpengine - Media Relaying and Beyond
rtpengine - Media Relaying and Beyondrtpengine - Media Relaying and Beyond
rtpengine - Media Relaying and Beyond
 
Kamailio - SIP Routing in Lua
Kamailio - SIP Routing in LuaKamailio - SIP Routing in Lua
Kamailio - SIP Routing in Lua
 
SIP - The Basics
SIP - The BasicsSIP - The Basics
SIP - The Basics
 
Session Initiation Protocol
Session Initiation ProtocolSession Initiation Protocol
Session Initiation Protocol
 
Kamailio - SIP Firewall for Carrier Grade Traffic
Kamailio - SIP Firewall for Carrier Grade TrafficKamailio - SIP Firewall for Carrier Grade Traffic
Kamailio - SIP Firewall for Carrier Grade Traffic
 
VoLTE Service Monitoring - VoLTE Voice Call
VoLTE Service Monitoring - VoLTE Voice CallVoLTE Service Monitoring - VoLTE Voice Call
VoLTE Service Monitoring - VoLTE Voice Call
 
Kamailio :: A Quick Introduction
Kamailio :: A Quick IntroductionKamailio :: A Quick Introduction
Kamailio :: A Quick Introduction
 
Aynchronous Processing in Kamailio Configuration File
Aynchronous Processing in Kamailio Configuration FileAynchronous Processing in Kamailio Configuration File
Aynchronous Processing in Kamailio Configuration File
 
Introduction into SIP protocol
Introduction into SIP protocolIntroduction into SIP protocol
Introduction into SIP protocol
 
Using Kamailio for Scalability and Security
Using Kamailio for Scalability and SecurityUsing Kamailio for Scalability and Security
Using Kamailio for Scalability and Security
 
Barry Hesk: Cisco Unified Communications Manager training deck 1
Barry Hesk: Cisco Unified Communications Manager training deck 1Barry Hesk: Cisco Unified Communications Manager training deck 1
Barry Hesk: Cisco Unified Communications Manager training deck 1
 
Kamailio - Load Balancing Load Balancers
Kamailio - Load Balancing Load BalancersKamailio - Load Balancing Load Balancers
Kamailio - Load Balancing Load Balancers
 
Why is Kamailio so different? An introduction.
Why is Kamailio so different? An introduction.Why is Kamailio so different? An introduction.
Why is Kamailio so different? An introduction.
 
SIP & TLS - Security in a peer to peer world
SIP & TLS - Security in a peer to peer worldSIP & TLS - Security in a peer to peer world
SIP & TLS - Security in a peer to peer world
 
checkpoint
checkpointcheckpoint
checkpoint
 
Taking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionTaking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout Session
 
Session Border Controllers - Top 10 FAQ
Session Border Controllers - Top 10 FAQSession Border Controllers - Top 10 FAQ
Session Border Controllers - Top 10 FAQ
 
rtpengine and kamailio - or how to simulate calls at scale
rtpengine and kamailio - or how to simulate calls at scalertpengine and kamailio - or how to simulate calls at scale
rtpengine and kamailio - or how to simulate calls at scale
 
CCDE Experience
CCDE ExperienceCCDE Experience
CCDE Experience
 

Similaire à Astricon 2010: Scaling Asterisk installations

From MSS to TelScale - Mobicents Summit 2011
From MSS to TelScale - Mobicents Summit 2011From MSS to TelScale - Mobicents Summit 2011
From MSS to TelScale - Mobicents Summit 2011
telestax
 
Introduction to IP Telephony
Introduction to IP TelephonyIntroduction to IP Telephony
Introduction to IP Telephony
Videoguy
 

Similaire à Astricon 2010: Scaling Asterisk installations (20)

Presentation
PresentationPresentation
Presentation
 
SIP in action Itexpo West
SIP in action Itexpo WestSIP in action Itexpo West
SIP in action Itexpo West
 
Ruby voip
Ruby voipRuby voip
Ruby voip
 
OST Market - Hybrid Case Histories
OST Market - Hybrid Case HistoriesOST Market - Hybrid Case Histories
OST Market - Hybrid Case Histories
 
Uip Sip Implementation Best Practices060409
Uip Sip Implementation Best Practices060409Uip Sip Implementation Best Practices060409
Uip Sip Implementation Best Practices060409
 
From MSS to TelScale - Mobicents Summit 2011
From MSS to TelScale - Mobicents Summit 2011From MSS to TelScale - Mobicents Summit 2011
From MSS to TelScale - Mobicents Summit 2011
 
Vo ip sip
Vo ip sipVo ip sip
Vo ip sip
 
Adhearsion and Telegraph Framework Presentation
Adhearsion and Telegraph Framework PresentationAdhearsion and Telegraph Framework Presentation
Adhearsion and Telegraph Framework Presentation
 
Pwning Your Phone with Adhearsion and Asterisk
Pwning Your Phone with Adhearsion and AsteriskPwning Your Phone with Adhearsion and Asterisk
Pwning Your Phone with Adhearsion and Asterisk
 
Build HA Asterisk on Microsoft Azure using DRBD/Heartbeat
Build HA Asterisk on Microsoft Azure using DRBD/HeartbeatBuild HA Asterisk on Microsoft Azure using DRBD/Heartbeat
Build HA Asterisk on Microsoft Azure using DRBD/Heartbeat
 
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
 
High Availability Asterisk and FreePBX on Microsoft Azure
High Availability Asterisk and FreePBX on Microsoft AzureHigh Availability Asterisk and FreePBX on Microsoft Azure
High Availability Asterisk and FreePBX on Microsoft Azure
 
200706 kathmann shared by voip.com.vn
200706 kathmann shared by voip.com.vn200706 kathmann shared by voip.com.vn
200706 kathmann shared by voip.com.vn
 
Asterisk Phone Systems
Asterisk Phone SystemsAsterisk Phone Systems
Asterisk Phone Systems
 
respond_to :voice - the convergence of voice and web interfaces with Rails an...
respond_to :voice - the convergence of voice and web interfaces with Rails an...respond_to :voice - the convergence of voice and web interfaces with Rails an...
respond_to :voice - the convergence of voice and web interfaces with Rails an...
 
Setup VoIP System and Interconnection with LTE network
Setup VoIP System and Interconnection with LTE networkSetup VoIP System and Interconnection with LTE network
Setup VoIP System and Interconnection with LTE network
 
Asterisk Complete Training
Asterisk Complete TrainingAsterisk Complete Training
Asterisk Complete Training
 
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 SIP
Introduction  To  SIPIntroduction  To  SIP
Introduction To SIP
 
Introduction to IP Telephony
Introduction to IP TelephonyIntroduction to IP Telephony
Introduction to IP Telephony
 

Plus de Olle E Johansson

Plus de Olle E Johansson (20)

Cybernode.se: Securing the software supply chain (CRA)
Cybernode.se: Securing the software supply chain (CRA)Cybernode.se: Securing the software supply chain (CRA)
Cybernode.se: Securing the software supply chain (CRA)
 
CRA - overview of vulnerability handling
CRA - overview of vulnerability handlingCRA - overview of vulnerability handling
CRA - overview of vulnerability handling
 
Introduction to the proposed EU cyber resilience act (CRA)
Introduction to the proposed EU cyber resilience act (CRA)Introduction to the proposed EU cyber resilience act (CRA)
Introduction to the proposed EU cyber resilience act (CRA)
 
The birth and death of PSTN
The birth and death of PSTNThe birth and death of PSTN
The birth and death of PSTN
 
WebRTC and Janus intro for FOSS Stockholm January 2019
WebRTC and Janus intro for FOSS Stockholm January 2019WebRTC and Janus intro for FOSS Stockholm January 2019
WebRTC and Janus intro for FOSS Stockholm January 2019
 
Kamailio World 2018: Having fun with new stuff
Kamailio World 2018: Having fun with new stuffKamailio World 2018: Having fun with new stuff
Kamailio World 2018: Having fun with new stuff
 
Kamailio on air
Kamailio on airKamailio on air
Kamailio on air
 
Webrtc overview
Webrtc overviewWebrtc overview
Webrtc overview
 
Realtime communication over a dual stack network
Realtime communication over a dual stack networkRealtime communication over a dual stack network
Realtime communication over a dual stack network
 
The Realtime Story - part 2
The Realtime Story - part 2The Realtime Story - part 2
The Realtime Story - part 2
 
Sip2016 - a talk at VOIP2DAY 2016
Sip2016 - a talk at VOIP2DAY 2016Sip2016 - a talk at VOIP2DAY 2016
Sip2016 - a talk at VOIP2DAY 2016
 
Sips must die, die, die - about TLS usage in the SIP protocol
Sips must die, die, die - about TLS usage in the SIP protocolSips must die, die, die - about TLS usage in the SIP protocol
Sips must die, die, die - about TLS usage in the SIP protocol
 
SIP :: Half outbound (random notes)
SIP :: Half outbound (random notes)SIP :: Half outbound (random notes)
SIP :: Half outbound (random notes)
 
Kamailio World 2016: Update your SIP!
Kamailio World 2016: Update your SIP!Kamailio World 2016: Update your SIP!
Kamailio World 2016: Update your SIP!
 
Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)
Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)
Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)
 
2015 update: SIP and IPv6 issues - staying Happy in SIP
2015 update: SIP and IPv6 issues - staying Happy in SIP2015 update: SIP and IPv6 issues - staying Happy in SIP
2015 update: SIP and IPv6 issues - staying Happy in SIP
 
TCP/IP Geeks Stockholm :: Introduction to IPv6
TCP/IP Geeks Stockholm :: Introduction to IPv6TCP/IP Geeks Stockholm :: Introduction to IPv6
TCP/IP Geeks Stockholm :: Introduction to IPv6
 
RFC 7435 - Opportunistic security - Some protection most of the time
RFC 7435 - Opportunistic security - Some protection most of the timeRFC 7435 - Opportunistic security - Some protection most of the time
RFC 7435 - Opportunistic security - Some protection most of the time
 
SIP and DNS - federation, failover, load balancing and more
SIP and DNS - federation, failover, load balancing and moreSIP and DNS - federation, failover, load balancing and more
SIP and DNS - federation, failover, load balancing and more
 
TCP/IP geeks Stockholm :: Manifesto
TCP/IP geeks Stockholm :: ManifestoTCP/IP geeks Stockholm :: Manifesto
TCP/IP geeks Stockholm :: Manifesto
 

Dernier

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Dernier (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Astricon 2010: Scaling Asterisk installations

  • 1.
  • 2.
  • 3.
  • 4.
  • 5. The big question What do you want to do today?
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17. Consider If you invest in a unified communication network today and design it for voice/PBX services only, it won’t work for future services
  • 18. Without the Internet you still have an old telephony PBX. an old telephony PBX. an old telephony PBX.
  • 19. Without the Internet you are on an isolated island. isolated island. isolated island. So how do we get away from it?
  • 20.
  • 21.
  • 22. Kamailio & Asterisk Session Border controller Proxy Core proxy Proxy Registrar/Location server Asterisk PSTN Gateway Asterisk Voicemail Server Asterisk Feature/IVR Server Asterisk Proxy
  • 23.
  • 24.
  • 25. A proxy SIP call and an Asterisk SIP call AUDIO STREAM AUDIO STREAMS One SIP call (dialog) One SIP call (dialog) from Alice to Asterisk One SIP call (dialog) from Asterisk to Bob Alice Bob Two SIP calls, and two media streams SIP Proxy Asterisk
  • 26.
  • 27. Let’s play together Kamailio Proxy Asterisk PBX Call stateful Transaction stateful *
  • 29. Where we should be going... SIP SIP SIP Asterisk interoperating with a SIP infrastructure with full interoperability
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44. Realtime in SIP with Dundi Dundi cluster SIP Database Server Calls and registrations are distributed with a SIP proxy or DNS or... * * * *
  • 45. Realtime in SIP with SysName Database Server Calls and registrations are distributed with DNS The DB contains the SystemName of the server that accepted registration for outbound calls (NAT traversal) * * * *
  • 46.
  • 48.
  • 50.
  • 51.
  • 52.
  • 54. Configuring a peer for the proxy [mypeer] type=peer host=mypeer.mydomain.mytld context=mypeer-in With this configuration, we can place calls and receive calls. Asterisk will match on IP for incoming calls and send outbound calls to the proxy.
  • 55.
  • 56. Sending calls [kamailio] type=peer host=mypeer.mydomain.mytld context=mypeer-in exten => 12345,1,dial(SIP/12345@kamailio) INVITE sip:12345@mypeer.mydomain.mytld To: sip:12345@mypeer.mydomain.mytld
  • 57. Sending calls (2) [kamailio] type=peer host=mypeer.mydomain.mytld context=mypeer-in exten => 12345,1,dial(SIP/12345@kamailio! 0812346 ) INVITE sip:12345@mypeer.mydomain.mytld To: sip: 0812346 @mypeer.mydomain.mytld From: sip:yyyy@asterisk
  • 58. Sending calls (2) [kamailio] type=peer host=mypeer.mydomain.mytld context=mypeer-in exten => 12345,1,dial(SIP/12345@kamailio! [email_address] ) INVITE sip:12345@mypeer.mydomain.mytld To: sip: 0812346 @kamailio.org From: sip:yyyy@asterisk
  • 59.
  • 60. Example ; Get the full FROM Uri ; The username part is already the caller ID exten => _.,1,set(fromuri=${SIPCHANINFO(from)}) ; Get the domain and set it for the outbound call ; Note! This requires a patch. Exist in 1.6.2 and later. exten => _.,n,set(SIPFROMDOMAIN=${CUT(fromuri,@,2}) ; Dial out. The ! part only exist in 1.6.0 and later exten => _.,n,dial(SIP/${EXTEN}@${SIPDOMAIN}!${SIP_HEADER(To)}) The outbound proxy setting will route calls to the proxy
  • 61.
  • 63. Playing prompts ; Don’t answer immediately, that confuses people exten => invalidnumber,1,ringing() exten => invalidnumber,n,wait(1) exten => invalidnumber,n,answer ; Let the RTP streams settle exten => invalidnumber,n,wait(.5) exten => invalidnumber,n,playback(invalid-number) ; Let the RTP streams settle exten => invalidnumber,n,wait(.5) exten => invalidnumber,n,hangup
  • 65.
  • 66.
  • 67.
  • 68.
  • 69.
  • 71.
  • 72.
  • 73.
  • 74. Why are we still building with PSTN focus? PSTN SIP SIP SIP SIP SIP SIP Isolated islands of SIP!
  • 75. Put the Internet where it belongs @ SIP SIP SIP SIP SIP SIP One Unified Communications Network PSTN PSTN PSTN PSTN PSTN PSTN
  • 76. IPv6 is the new glue No NAT. Enough network addresses to build anything you need. Go and have fun. Discover the new oppurtunities with IPv6!
  • 78. © Copyright Edvina AB, Sollentuna, Sweden 2010. All rights reserved. Open Unified Communication Connecting Internet Users in real time.