Welcome Connecting Your Enterprise With Asterisk: IAX to Kinky - - PowerPoint PPT Presentation
Welcome Connecting Your Enterprise With Asterisk: IAX to Kinky - - PowerPoint PPT Presentation
Welcome Connecting Your Enterprise With Asterisk: IAX to Kinky Adult Call Centers Dayton Turner Voxter Communications Just kidding! Connecting Your Enterprise With Asterisk: IAX to Carriers Dayton Turner Voxter Communications What is IAX?
Connecting Your Enterprise With Asterisk: IAX to Kinky Adult Call Centers
Dayton Turner Voxter Communications
Just kidding!
Connecting Your Enterprise With Asterisk: IAX to Carriers
Dayton Turner Voxter Communications
What is IAX?
What is IAX?
Inter Asterisk eXchange
What is IAX?
Inter Asterisk eXchange Developed by Digium and the Open Source Community
What is IAX?
Inter Asterisk eXchange Developed by Digium and the Open Source Community Alternative to SIP , H.323
What is IAX?
Inter Asterisk eXchange Developed by Digium and the Open Source Community Alternative to SIP , H.323 Pronounced “eeks”
Where is IAX used?
Where is IAX used?
Between Asterisk Servers for inter-PBX communication
Where is IAX used?
Between Asterisk Servers for inter-PBX communication Links to your ITSP
Where is IAX used?
Between Asterisk Servers for inter-PBX communication Links to your ITSP IAXy - Digium’s IAX enabled ATA
Where is IAX used?
Between Asterisk Servers for inter-PBX communication Links to your ITSP IAXy - Digium’s IAX enabled ATA Soft Phones, some hard phones
Who Implements IAX?
Asterisk (of course) FreeSWITCH Yate SofaSwitch OPAL No commercial vendors (yet!)
Benefits of IAX
Benefits of IAX
Single Port (UDP 4569), makes for easy scalability!
Benefits of IAX
Single Port (UDP 4569), makes for easy scalability! Advanced Media Transfers
Benefits of IAX
Single Port (UDP 4569), makes for easy scalability! Advanced Media Transfers “Real” trunking!
Benefits of IAX
Single Port (UDP 4569), makes for easy scalability! Advanced Media Transfers “Real” trunking! Encryption (AES128)
Benefits of IAX
Single Port (UDP 4569), makes for easy scalability! Advanced Media Transfers “Real” trunking! Encryption (AES128) Authentication (Plaintext, MD5, RSA)
Scalability
Scalability
Load Balance-able (iax-proxy, LVS, etc)
Scalability
Load Balance-able (iax-proxy, LVS, etc) Dynamically Sized Thread Pool
Scalability
Load Balance-able (iax-proxy, LVS, etc) Dynamically Sized Thread Pool Binary Encoded for efficiency
Comparison: SIP vs IAX
Bandwidth Usage
Codec
SIP
1st Call
G.711 (64kbps)
80kbps
G.726 (32kbps)
48kbps
G.729 (8kbps)
24kbps
G.722 (64kbps)
80kbps
GSM (13kbps)
29kbps * Bandwidth includes IP overhead, and accounts for only one side of the call. Total usage is double the shown value since VoIP traffic usage is symmetric.
Comparison: SIP vs IAX
Bandwidth Usage
Codec
SIP
1st Call Additional Calls
G.711 (64kbps)
80kbps 80kbps
G.726 (32kbps)
48kbps 48kbps
G.729 (8kbps)
24kbps 24kbps
G.722 (64kbps)
80kbps 80kbps
GSM (13kbps)
29kbps 29kbps * Bandwidth includes IP overhead, and accounts for only one side of the call. Total usage is double the shown value since VoIP traffic usage is symmetric.
Comparison: SIP vs IAX
Bandwidth Usage
Codec
SIP IAX (Trunked)
1st Call Additional Calls 1st Call
G.711 (64kbps)
80kbps 80kbps 80kbps
G.726 (32kbps)
48kbps 48kbps 46kbps
G.729 (8kbps)
24kbps 24kbps 23kbps
G.722 (64kbps)
80kbps 80kbps 80kbps
GSM (13kbps)
29kbps 29kbps 28kbps * Bandwidth includes IP overhead, and accounts for only one side of the call. Total usage is double the shown value since VoIP traffic usage is symmetric.
Comparison: SIP vs IAX
Bandwidth Usage
Codec
SIP IAX (Trunked)
1st Call Additional Calls 1st Call Additional Calls
G.711 (64kbps)
80kbps 80kbps 80kbps 64kbps
G.726 (32kbps)
48kbps 48kbps 46kbps 32kbps
G.729 (8kbps)
24kbps 24kbps 23kbps 8kbps
G.722 (64kbps)
80kbps 80kbps 80kbps 64kbps
GSM (13kbps)
29kbps 29kbps 28kbps 13kbps * Bandwidth includes IP overhead, and accounts for only one side of the call. Total usage is double the shown value since VoIP traffic usage is symmetric.
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls (G729)
SIP IAX (Trunked)
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls (G729)
128kbps 256kbps 768kbps 1mbit 2mbit 60 120 180 240
5
SIP IAX (Trunked)
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls (G729)
128kbps 256kbps 768kbps 1mbit 2mbit 60 120 180 240
5 10
SIP IAX (Trunked)
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls (G729)
128kbps 256kbps 768kbps 1mbit 2mbit 60 120 180 240
5 10 32
SIP IAX (Trunked)
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls (G729)
128kbps 256kbps 768kbps 1mbit 2mbit 60 120 180 240
5 10 32 42
SIP IAX (Trunked)
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls (G729)
128kbps 256kbps 768kbps 1mbit 2mbit 60 120 180 240
5 10 32 42 84
SIP IAX (Trunked)
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls (G729)
128kbps 256kbps 768kbps 1mbit 2mbit 60 120 180 240
13 5 10 32 42 84
SIP IAX (Trunked)
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls (G729)
128kbps 256kbps 768kbps 1mbit 2mbit 60 120 180 240
13 30 5 10 32 42 84
SIP IAX (Trunked)
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls (G729)
128kbps 256kbps 768kbps 1mbit 2mbit 60 120 180 240
13 30 93 5 10 32 42 84
SIP IAX (Trunked)
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls (G729)
128kbps 256kbps 768kbps 1mbit 2mbit 60 120 180 240
13 30 93 120 5 10 32 42 84
SIP IAX (Trunked)
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls (G729)
128kbps 256kbps 768kbps 1mbit 2mbit 60 120 180 240
13 30 93 120 240 5 10 32 42 84
SIP IAX (Trunked)
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 19 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 19 11 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 19 11 23 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 19 11 23
G.726 (32kbps)
16 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 19 11 23
G.726 (32kbps)
16 32 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 19 11 23
G.726 (32kbps)
16 32 23 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 19 11 23
G.726 (32kbps)
16 32 23 47 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 19 11 23
G.726 (32kbps)
16 32 23 47
G.729 (8kbps)
32 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 19 11 23
G.726 (32kbps)
16 32 23 47
G.729 (8kbps)
32 64 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 19 11 23
G.726 (32kbps)
16 32 23 47
G.729 (8kbps)
32 64 93 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 19 11 23
G.726 (32kbps)
16 32 23 47
G.729 (8kbps)
32 64 93 190 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 19 11 23
G.726 (32kbps)
16 32 23 47
G.729 (8kbps)
32 64 93 190
G.722 (64kbps)
9 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 19 11 23
G.726 (32kbps)
16 32 23 47
G.729 (8kbps)
32 64 93 190
G.722 (64kbps)
9 19 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 19 11 23
G.726 (32kbps)
16 32 23 47
G.729 (8kbps)
32 64 93 190
G.722 (64kbps)
9 19 11 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 19 11 23
G.726 (32kbps)
16 32 23 47
G.729 (8kbps)
32 64 93 190
G.722 (64kbps)
9 19 11 23 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 19 11 23
G.726 (32kbps)
16 32 23 47
G.729 (8kbps)
32 64 93 190
G.722 (64kbps)
9 19 11 23
GSM (13kbps)
26 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 19 11 23
G.726 (32kbps)
16 32 23 47
G.729 (8kbps)
32 64 93 190
G.722 (64kbps)
9 19 11 23
GSM (13kbps)
26 52 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 19 11 23
G.726 (32kbps)
16 32 23 47
G.729 (8kbps)
32 64 93 190
G.722 (64kbps)
9 19 11 23
GSM (13kbps)
26 52 57 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
Comparison: SIP vs IAX
Bandwidth Usage, Total Calls
Codec
SIP IAX (Trunked)
DSL T1 DSL T1
G.711 (64kbps)
9 19 11 23
G.726 (32kbps)
16 32 23 47
G.729 (8kbps)
32 64 93 190
G.722 (64kbps)
9 19 11 23
GSM (13kbps)
26 52 57 117 * DSL bandwidth presuming 768kbps available, T1 presuming 1.5mbps
IAX Pro’s
IAX Pro’s
Bandwidth: IAX Trunks, SIP does not.
IAX Pro’s
Bandwidth: IAX Trunks, SIP does not. Network Configuration: IAX traverses NAT and firewalls with ease. SIP requires more effort (STUN, ICE, TURN)
IAX Pro’s
Bandwidth: IAX Trunks, SIP does not. Network Configuration: IAX traverses NAT and firewalls with ease. SIP requires more effort (STUN, ICE, TURN) Internationalization: IAX sends language info in headers
IAX Pro’s
Bandwidth: IAX Trunks, SIP does not. Network Configuration: IAX traverses NAT and firewalls with ease. SIP requires more effort (STUN, ICE, TURN) Internationalization: IAX sends language info in headers QoS: IAX gathers its own performance stats (latency, jitter measurements)
IAX Pro’s
Bandwidth: IAX Trunks, SIP does not. Network Configuration: IAX traverses NAT and firewalls with ease. SIP requires more effort (STUN, ICE, TURN) Internationalization: IAX sends language info in headers QoS: IAX gathers its own performance stats (latency, jitter measurements) Remote Dialplan: IAX can ask a peer about its dial plan, allowing dialplans to be centralized
SIP Pro’s
SIP Pro’s
SIP has been around longer and has much greater adoption in the industry
SIP Pro’s
SIP has been around longer and has much greater adoption in the industry Greater numbers of hardware manufacturers (PBX, IP Phones) implement SIP than IAX in their equipment
SIP Pro’s
SIP has been around longer and has much greater adoption in the industry Greater numbers of hardware manufacturers (PBX, IP Phones) implement SIP than IAX in their equipment There is a much more broad audience looking at and using SIP . Because of this you will find many more SIP tools (diagnostic, monitoring, load testing, etc) than IAX tools.
SIP Pro’s
SIP has been around longer and has much greater adoption in the industry Greater numbers of hardware manufacturers (PBX, IP Phones) implement SIP than IAX in their equipment There is a much more broad audience looking at and using SIP . Because of this you will find many more SIP tools (diagnostic, monitoring, load testing, etc) than IAX tools.
Planning your IAX setup
Codec Selection Audio Quality or Bandwidth Efficiency? CPU - Are we going to transcode? QoS LAN Switches that honor QoS (DiffServ), set ToS bits in Asterisk WAN Traffic shaping at your router, consider your endpoints.
Topology Example
Voice Gateway (Asterisk)
Topology Example
Voice Gateway (Asterisk) PSTN
(T1 PRI)
Internet
Topology Example
Voice Gateway (Asterisk)
Client
(ADSL)
PSTN
(T1 PRI)
Internet
Topology Example
Voice Gateway (Asterisk)
Client
(ADSL)
PSTN
(T1 PRI)
Topology Example
Voice Gateway (Asterisk)
Client
(ADSL)
PSTN
(T1 PRI)
Internet
Topology Example
Voice Gateway (Asterisk)
Peering
Client
(ADSL)
PSTN
(T1 PRI)
Internet
Topology Example
Voice Gateway (Asterisk)
Peering DSL Provider
Client
(ADSL)
PSTN
(T1 PRI)
Internet
Topology Example
Voice Gateway (Asterisk)
Peering DSL Provider
Client
(ADSL)
PSTN
(T1 PRI)
Internet
Topology Example
Voice Gateway (Asterisk)
Peering DSL Provider SIP Provider
Client
(ADSL)
PSTN
(T1 PRI)
Internet
Topology Example
Voice Gateway (Asterisk)
Peering DSL Provider SIP Provider
Client
(Far Away) PSTN
(T1 PRI)
Internet MPLS
Config Example
Client
register => clientname:mysecret@myitsp.com [servername] type=friend host=myitsp.com secret=mysecret notransfer=yes dtmfmode=rfc2833 context=inbound qualify=yes trunk=yes disallow=all allow=g729
Server
[clientname] type=friend host=dynamic secret=mysecret notransfer=yes dtmfmode=rfc2833 context=outbound qualify=yes trunk=yes disallow=all allow=g729
IAX Capable ITSPs
Voxter Communications - POPs in Vancouver, BC, Canada, Seattle WA, Phoenix AZ, full North American Termination/Origination VoicePulse TelIAX More listed at voip-info.org
Thanks for coming!
Any questions?