Professional Documents
Culture Documents
Training
SIP is a very simple protocol with very few client/server style messages
2008 Avaya Inc. All rights reserved. 2
What is Session Initiation Protocol (SIP)?
http://www.ietf.org/html.charters/sip-charter.html
SIP is an IETF application layer-protocol that can establish, modify, and terminate
multimedia sessions
RFC 3261
Media agnostic
Voice, video, instant messaging, etc.
Media negotiation
Offer-Answer model
Similar to HTTP
Request-Response model
Text message-based protocol
Easy to debug
Reuses other IETF protocols
UDP, TCP, TLS, DHCP, DNS, SDP, RTP, MIME, etc.
SIP Phone
Softphone
Edge proxy
INVITE sip:joe@company.com
ACK sip:bob@example.com
INVITE sip:bob@example.com
INVITE sip:bob@example.com
100 Trying Bob
180 Ringing answers
180 Ringing
200 Ok
200 Ok
ACK sip:bob@example.com
ACK sip:bob@example.com
Bob
RTP hangs up
BYE sip:alice@example.com
BYE sip:alice@example.com
200 Ok
200 Ok
Request URI
Header
Body
The contact will identify to the caller what the address of the callee is.
The information returned with the response depends on the method used in the request.
Enterprise
VoIP
Media Internet
Residential
Firewall
SIP
Registration SIP Phone
WiFi SIP
& Signaling IM
Enterprise
SIP Enabled
Firewall
CM Features
Remote Enterprise Employees
Connected via Internet w/o VPN
SBC
ISDN or
ISDN
G860
SBC
VS
The G860 management is on
both the T3 side and the CM
side.
PSTN Off-net
GW
PSTN
SIP
Avaya SIP 3rd Party SIP
Services Services
2008 Avaya Inc. All rights reserved. 48
NAT traversal
Network Address Translation
Its basically when the address presented on the inside of the firewall is
changed to present a different address on the outside of the firewall and vice
versa.
Whats this got to do with SIP?
In a regular firewall the traversal only manipulates the IP in the header of the
message at the physical layer. With SIP technology if the body of the
message doesnt reflect that same change then the packets are directed to
the wrong place. Usually they are directed to the firewall instead of the
device inside/outside the firewall hence they get dropped.
Terms you may hear
Sip ready, enabled
This means it will accept SIP packets but in most cases will not change the packet
at the application layer.
Results of a poor firewall installation?
Calls drop after 32 seconds.
One way Voice path.
Works inbound but not outbound.
2008 Avaya Inc. All rights reserved. 49
Wheres the Voip?
CO MPACT
N
CO MPACT
Y/N
PSTN
Y N
C OM PACT
SES
Y Y
H.323 SIP
P HONE /E X IT P AGE P AGE OP T IO NS
LEF T RIG HT
PHONE /EXI T S PE AK ER HO L D
P AG E PAGE OP TI ONS
L EF T R IGHT
SP EA KE R HO LD HE AD S ET TRAN S FER
ABC D EF
1 2 3
M U TE C ON FE RE NCE
HEADS ET TR ANS FE R
GHI J KL M NO
ABC DEF
4 5 6 DROP
M UTE
1 2 3 CONF ERENCE
PQ RS T UV W XYZ
7 8 9
RE DIAL
GHI JKL MNO
4 5 6 DROP
PQRS
7
TUV
8
WX YZ
9
RE DIAL * 0 #
* 0 #
Modular Messaging
PSTN
Voice Portal
CO MPACT
5
CO MPACT
4
3
PSTN
CLAN
MAP Firewall
2
C OM PACT
SES 1
M UTE
PQRS
7
SP EA KE R
HEADS ET
GHI
4
1
TUV
8
PHONE /EXI T
JKL
5
ABC
2
WX YZ
9
P AG E
L EF T
6
MNO
3
DEF
RE DIAL
PAGE
R IGHT
DROP
OP TI ONS
TR ANS FE R
CONF ERENCE
HO LD
*
M U TE
PQ RS
7
4
0
SIP
S PE AK ER
HE AD S ET
GHI
1
T UV
8
P HONE /E X IT
J KL
#
ABC
W XYZ
9
P AGE
LEF T
M NO
6
3
D EF
RE DIAL
P AGE
RIG HT
DROP
OP T IO NS
TRAN S FER
C ON FE RE NCE
HO L D
* 0 #
CO MPACT
CO MPACT
2 3
PSTN
1 C OM PACT
PHONE /EXI T S PE AK ER HO L D
P AG E PAGE OP TI ONS
L EF T R IGHT
SP EA KE R HO LD HE AD S ET TRAN S FER
ABC D EF
1 2 3
M U TE C ON FE RE NCE
HEADS ET TR ANS FE R
GHI J KL M NO
ABC DEF
4 5 6 DROP
M UTE
1 2 3 CONF ERENCE
PQ RS T UV W XYZ
7 8 9
RE DIAL
GHI JKL MNO
4 5 6 DROP
PQRS
7
TUV
8
WX YZ
9
RE DIAL * 0 #
* 0 #
CO MPACT
CO MPACT
2 1
3 PSTN
CLAN
MAP Firewall
4
C OM PACT
SES
5
SIP
P HONE /E X IT P AGE P AGE OP T IO NS
LEF T RIG HT
PHONE /EXI T S PE AK ER HO L D
P AG E PAGE OP TI ONS
L EF T R IGHT
SP EA KE R HO LD HE AD S ET TRAN S FER
ABC D EF
1 2 3
M U TE C ON FE RE NCE
HEADS ET TR ANS FE R
GHI J KL M NO
ABC DEF
4 5 6 DROP
M UTE
1 2 3 CONF ERENCE
PQ RS T UV W XYZ
7 8 9
RE DIAL
GHI JKL MNO
4 5 6 DROP
PQRS
7
TUV
8
WX YZ
9
RE DIAL * 0 #
* 0 #
CO MPACT
CO MPACT
2 1
PSTN
3 C OM PACT
PHONE /EXI T S PE AK ER HO L D
P AG E PAGE OP TI ONS
L EF T R IGHT
SP EA KE R HO LD HE AD S ET TRAN S FER
ABC D EF
1 2 3
M U TE C ON FE RE NCE
HEADS ET TR ANS FE R
GHI J KL M NO
ABC DEF
4 5 6 DROP
M UTE
1 2 3 CONF ERENCE
PQ RS T UV W XYZ
7 8 9
RE DIAL
GHI JKL MNO
4 5 6 DROP
PQRS
7
TUV
8
WX YZ
9
RE DIAL * 0 #
* 0 #
SES
PSTN
The file will be saved to /var/log/ecs as a .log file. This should be the latest
file to date.
su - sroot
If you have multiple files with saved MST then a >> can be used to the same destination destination.
################################################################
### The above commands extract the MST messages from the log ###
################################################################
### The below command converts it from hex to text ###
"mst" 26 lines, 915 characters########################
Port 20
Run solaris
These have individual addresses as well as a virtual for
the active.
These are what push the configuration to the TP cards.
Business Center A
Dual provider
redundancy
strategy
IP
PSTN CM - A
G860 - A
See Figure 1A for
additional details
CM - B
IP
Business Center B
G860 - B
ISDN WAN
Covergence
(SBC)
Home2
CM
CoreRouter
DO
Home1