Documente Academic
Documente Profesional
Documente Cultură
SIP Trunk
Today’s Agenda:
• What is SIP?
• PRI Vs SIP Trunk
• Benefits of SIP Trunk
• SIP Trunk Infrastructure
• Setup Overview
• ABL Kashmir Road Call Center Setup
• ABL Allied Tower Call Center Setup
• ABL Mobile Banking
What is SIP?
The Session Initiation Protocol (SIP) is a communications protocol for signaling and controlling
multimedia communication sessions. SIP works in conjunction with several other application
layer protocols that identify and carry the session media.
SIP is just one component in the set of protocols and services needed to support multimedia
exchanges over the Internet. SIP is the signaling protocol that enables one party to place a call to
another party and to negotiate the parameters of a multimedia session. The actual audio, video,
or other multimedia content is exchanged between session participants using an appropriate
transport protocol. In many cases, the transport protocol to use is the Real-Time Transport
Protocol (RTP). Directory access and lookup protocols are also needed.
User location: Users can move to other locations and access their telephony or other application
features from remote locations.
User availability: This step involves determination of the willingness of the called party to engage in
communications.
User capabilities: In this step, the media and media parameters to be used are determined.
Session setup: Point-to-point and multiparty calls are set up, with agreed session parameters.
Session Management: Transfer, modifying and termination session, also involved invoking services.
SIP History:
• SIP was originally designed in 1996.
• The protocol was standardized as RFC 2543 in 1999
(SIP 1.0).
• SIP latest version (2.0) was introduced in 2002.
• While originally developed based on voice
applications, the protocol was envisioned and
supports a diverse array of applications,
including video conferencing, streaming multimedia
distribution, instant messaging, presence
information, file transfer, fax over IP and online
games.
SIP Operation:
• It runs on the Transmission Control Protocol (TCP), the User
Datagram Protocol (UDP) or the Stream Control Transmission
Protocol (SCTP).
• SIP can be used for two-party (unicast) or multiparty (multicast)
sessions.
• SIP works in concert with several other protocols and is only
involved in the signaling portion of a communication session.
• SIP clients typically use TCP or UDP on port numbers5060 or
5061 to connect to SIP servers and other SIP endpoints.
• Port 5060 is commonly used for non-encrypted signaling traffic
whereas port 5061 is typically used for traffic encrypted
with Transport Layer Security (TLS).
What is PRI and SIP Trunking?
PRI and SIP Trunking are two different ways of connecting your
business to the PSTN (Public Switched Telephone Network).
PRI: SIP:
• PRI (Primary Rate Interface) is a • (Session Initiating Protocol)
physical connection to the PSTN Trunking is a virtual connection to
over a dedicated line that only the PSTN over a physical line that is
serves voice transmission. often shared over your existing data
• PRI uses a circuit switched model connection.
for making voice connections • SIP Trunking uses a packet
between people switched model for making voice
• PRI has a guaranteed Quality of connections between people
Service (QoS). • SIP Trunking is typically Best
Effort.
More Specifically, What is PRI?
A PRI is a single line (typically a E1 connection in in the Europe and rest of the WORLD) with 30 voice
channels (and a Two data/control channel), that allows your business to hold 30 calls simultaneously. This
is not always equivalent to the number of phone numbers a business has. Your business may have 100
phone numbers that are directed to come across a single PRI, however, you will only be allowed to hold 30
phone conversations at once.
More Specifically, What is SIP?
In short, SIP Trunking is a method of sending your voice connection over an existing data line, and therefore is
commonly referred to as VoIP (Voice over Internet Protocol).
Your call goes out over the SIP Trunk, is treated exactly like every other piece of data on that connection and is
not given priority over webpages, emails, or instant messages.
Remember
SIP Trunking is nothing more than the virtual connection between your PBX and your carriers SIP Network,
over the already existing Physical Data Line.
Benefits Of SIP Trunking:
• Eliminates costly BRIs (Basic Rate Interfaces) and PRIs (Primary Rate Interfaces)
subscriptions.
• No need to invest in PSTN gateways and additional line cards as you grow.
• Optimal utilization of bandwidth by delivering both data and voice in the same connection.
• Maximum flexibility in dimensioning and usage of lines as you avoid having to buy capacity in
chunks of 23 (T1) or 30 (E1) lines.
• Flexible termination of calls to preferred providers; calls to anywhere worldwide can be made
for the cost of a local one.
Client: A client is any network element that sends SIP requests and receives SIP responses. Clients
may or may not interact directly with a human user. User agent clients and proxies are clients.
Server: A server is a network element that receives requests in order to service them and sends back
responses to those requests. Examples of servers are proxies, user agent servers, redirect servers, and
registrars.
Proxy Server: The proxy server is an intermediary entity that acts as both a server and a client for the
purpose of making requests on behalf of other clients. A proxy server primarily plays the role of routing,
meaning that its job is to ensure that a request is sent to another entity closer to the targeted user. Proxies are
also useful for enforcing policy (for example, making sure a user is allowed to make a call). A proxy interprets,
and, if necessary, rewrites specific parts of a request message before forwarding it.
Registrar: A registrar is a server that accepts REGISTER requests and places the information it receives
(the SIP address and associated IP address of the registering device) in those requests into the location service
for the domain it handles.
Location Service: A location service is used by a SIP redirect or proxy server to obtain information about
a callee's possible location(s). For this purpose, the location service maintains a database of SIP-address/ IP-
address mappings.
SIP Components and Protocols:
SIP URIs have a format based on e-mail address formats, namely user@domain. There are two common
schemes. An ordinary SIP URI is of the form:
sip:bob@biloxi.com
Setup Overview:
Allied Tower:
• Call Center:
1. Multinet
2. PTCL
• Mobile Banking
1. Multinet Master No. 0423-2560901
2. Wateen Master No. 042-8356999
Kashmir Road:
• Call Center:
1. PTCL
2. Multinet [ UAT ]
202.125.143.x
Gi0/20
Vlan 400
Primary
10.225.1.155
Internet
Primary
HSRP
Provider
172.17.224.X
MOD-01-SWD
192.168.86.X NAT 10.128.0.42
Secondary
Internet
Outgoing Traffic
User
GigabitEthernet0/3.286
192.168.86.1 Incoming Traffic
202.125.143.x
Gi0/20
Vlan 400
Gi0/3 Gi0/1 Gig 0/0
Trunk Primary
10.225.1.155
Trunk
Internet
Primary
HSRP
Outside Gi0/24 Provider
GigabitEthernet0/0 Vlan 111
10.225.1.156 MOD-01-SWD Gig 0/23 Gig 0/1
172.17.224.X Gi0/2 10.128.0.42
Trunk
GigabitEthernet0/3.286 NAT
Call
192.168.86.1 Secondary
192.168.86.X Internet
User
Gi9/16
Trunk
Static NAT:
nat (Prod-CC,OUTSIDE) source static obj-192.168.86.10 obj-172.17.224.4
nat (Prod-CC,OUTSIDE) source static obj-192.168.86.4 obj-172.17.224.3
nat (Prod-CC,OUTSIDE) source static obj-192.168.86.2 obj-172.17.224.2
interface GigabitEthernet0/0.400
description **** PTCL SIP Call Center ****
encapsulation dot1Q 400
ip address 202.125.143.106 255.255.255.248
ip access-group 101 in
ip access-group 102 out
ip nat outside
ip virtual-reassembly
AT Call Center Logical View and Call Flow : 202.125.143.X
Internet Primary
59.103.224.20 125.209.93.196
PTCL SIP Server Multinet SIP Server
172.18.224.X
Telecom Service
Provider
172.18.224.X
Gi 0/2
192.168.250.X
VSS
Allied Tower Call Center Setup:
202.125.143.X
NAT
10.133.50.19
10.133.50.20
59.103.224.20 Gi0/1 Gi0/0 Gi0/0 125.209.93.196
PTCL SIP Server Multinet SIP Server
172.18.224.X
ll
Ca
172.18.224.X
Gi 0/2 Gi 0/2
10.133.50.18
10.133.50.17
Gi 0/0 Po Gi 0/0
NAT
10
Gi 0/1 Gi 0/1
192.168.250.X Po 30 Po 31
VSS
Po
254
Call Center
AT Internet ASA 10.133.50.17:
GigabitEthernet0/2 OUTSIDE 103.247.66.1 255.255.255.248
Management0/0 management 10.133.50.17 255.255.255.192
Port-channel30.254 CallCentre 192.168.250.193 255.255.255.240
Static NAT:
object network CC_SRV-SIP
host 192.168.250.203
object network CC_SRV-SIP-3
host 192.168.250.194
object network CC_SRV-SIP-2 route OUTSIDE 59.103.224.20 255.255.255.255 103.247.66.2
host 192.168.250.195
interface GigabitEthernet1/0/38
description *** AT-Internet-1 2951-Gi0/1 ***
switchport trunk allowed vlan 280,349,370,371,375,376
switchport mode trunk
interface GigabitEthernet1/0/37
description *** Connected to Internet-ASA-Pri ***
switchport access vlan 508
switchport mode access
interface GigabitEthernet1/0/47
description *** AT-Internet-1 2951-Gi0/0 ***
switchport trunk allowed vlan 111,264,375,376,508
switchport mode trunk
interface GigabitEthernet1/0/23
description **** SIP-CallCenter-Multinet ****
switchport access vlan 376
AT Internet 10.133.50.19:
interface GigabitEthernet0/1.375 ip nat inside source static 172.18.224.3 202.125.143.100
description **** PTCL SIP Call Center **** ip nat inside source static 172.18.224.6 202.125.143.101
encapsulation dot1Q 375 ip nat inside source static 172.18.224.4 202.125.143.102
ip address 202.125.143.98 255.255.255.248
ip access-group 101 in
ip access-group 102 out ip route 59.103.224.20 255.255.255.255 202.125.143.97 name PTCL-SIP-CC-Proxy
ip nat outside
ip virtual-reassembly in ip route 125.209.93.196 255.255.255.255 10.99.35.97 name Multinet-SIP-CC-Proxy
10.133.50.19
10.133.50.20
Multinet Mobile Banking SIP
Wateen Mobile Banking SIP 125.209.93.196
10.64.1.39
Gi 1/0/38 Gi 1/0/47
10.133.50.26 10.133.50.27
IP-Sec Tunnel
10.133.50.18
a
10.133.50.17
Internet Cloud
l
l E-Ocean Server
SMS 110.93.218.34
Active Standby
VSS
S
M Telecom Service
Provider
S Telecom Service
Provider
Call
User
Sybase
Application DB
IVR
Allied Tower Mobile Banking:
Internet Primary Internet Secondary
10.133.50.19
10.133.50.20
Gi0/1 Gi0/0 Multinet Mobile Banking SIP
Wateen Mobile Banking SIP 125.209.93.196
10.64.1.39 Call
Gi 1/0/38 Gi 1/0/47
Gi 1/0/8 Po1
Gi 1/0/38
VLAN 370 VLAN 371
10.133.50.26 10.133.50.27
Gi 1/0/37 Gi 1/0/26
IP-Sec Tunnel
l
Cal
Gi 0/2 Gi 0/2
10.133.50.18
10.133.50.17
Internet Cloud
Call
Gi 0/0 Po Gi 0/0
10
Gi 0/1 Gi 0/1
E-Ocean Server
SMS
110.93.218.34
Active Standby
Po Po
30 31
VSS
SMS
Po
Telecom Service
254 Provider
Telecom Service
Provider
Call S
SM
Call
User
Sybase
Application DB
IVR
AT Internet ASA 10.133.50.17:
Phase 2
Phase 1:
crypto ipsec ikev1 transform-set FirstSet-2 esp-3des esp-md5-hmac
crypto ikev1 policy 3
authentication pre-share crypto map mymap 3 match address e-ocean
encryption 3des crypto map mymap 3 set peer MB-EOcean-GW
hash md5 crypto map mymap 3 set ikev1 transform-set FirstSet
group 2 crypto map mymap 3 set security-association lifetime seconds 28800
lifetime 28800 crypto map mymap interface OUTSIDE