Вы находитесь на странице: 1из 390

http://openlib.org.

ua/

.. ,.. ,..

SIP.

http://openlib.org.ua/

:
: ,2005.
,456.
ISBN5820601238
: 3000.
:60x90/8

SIP
(SessionInitiationProtocol),IP
NGN.
SIP,IP
IP,,,.
SIP,IP
IP,IPIP.
SIP
NGN.SIP
.

http://openlib.org.ua/

1.
1.1. SIP
1.2. SIPIP
1.3. SIP

(SIP)

2.

2.1 (UA)
2.1.1 (UAC)
2.1.1.1
2.1.1.2

2.1.2

(UAS)

2.1.2.1
2.1.2.2

2.2 SIP
2.2.1
2.2.2
2.2.3
2.2.4
2.3
2.3.1

2.3.1.1
2.3.1.2
2.3.1.3

2.3.2

2.3.2.1
2.3.2.2

2.3.3

2.3.3.1 REGISTER
2.3.3.2 REGISTER

2.3.4
2.3.4.1 OPTIONS
2.3.4.2 OPTIONS
2.3.5
2.3.5.1
2.3.5.2

http://openlib.org.ua/

2.3.6

2.3.6.1 UAC
2.3.6.2 UAS

2.3.7
2.3.8

2.4
2.4.1
2.4.1.1
2.4.1.2
2.4.1.3
2.4.1.4
2.4.1.5
2.4.1.6
2.4.1.7

2.4.1.8 CANCEL

2.4.2
2.4.3
2.4.4

RouteRequestURI

2.5
2.6
2.6.1
2.6.2
2.6.3 Digest
2.7 S/MIME
2.7.1 S/MIME
2.7.2 S/MIME
2.7.3
2.7.4 SIPS/MIME(SIP)
2.7.4.1 SIP
2.7.4.2

2.8
2.8.1
2.8.1.1
2.8.1.2
2.8.1.3
2.8.1.4
2.8.1.5

2.8.2

2.8.2.1

http://openlib.org.ua/

2.8.2.2 SIPSURI
2.8.2.3 HTTP
2.8.2.4 S/MIME
2.8.3
2.8.3.1SIP
2.8.3.2

2.9
2.9.1
2.9.2
2.10 SIP
2.10.1
2.10.1.1
2.10.1.2

2.10.2

2.10.2.1
2.10.2.2

2.10.3
2.10.4

3.

SIP(SIPT)

3.1 SIPT
3.2
3.2.1SIPT(IP)
3.2.2IP
3.2.3IP

3.3 SIPT
3.3.1SIP
3.3.2
3.3.3
3.3.4

3.4 SIP
3.5
3.6 ISUPSIP

http://openlib.org.ua/

3.6.1
3.6.2SIP
3.6.2.1ISUP
3.6.2.2MIME
3.6.2.3DTMF
3.6.2.4
3.6.2.5,
SIP,
3.6.2.6
3.6.2.7,CANCEL

3.6.3ISUPSIP
3.6.3.1
3.6.3.2.SIPTISUPSIP
3.6.3.3SIP

3.6.4SIPISUP
3.6.4.1
3.6.4.2SIPTSIPISUP
3.6.4.3SIP

3.6.5URI
3.6.5.1ISUPtelURL
3.6.5.2telURLISUP

http://openlib.org.ua/

1. SIP
1.1 SI P
Session Initiation Protocol
,
: ,
.
SIPIETF,
RFC3261[].:
.
,
. ,
, .
.
, ,
. ,
SIP,.


.SIP
.
, IETF.
SIP,IETF.
(ResourceReservation
Protocol,RSVP;RFC2205),(RealTimeTransport
Protocol, RTP; RFC 1889), (RealTime
Streaming Protocol, RTSP; RFC 2326), (Session
DescriptionProtocol,SDP;RFC2327).SIP
.
. SIP

http://openlib.org.ua/

.323.SIP
EDSS17.
SIPSIP,
.164 . , SIP,
H.323 ISUP,
,
MGCPMEGACO.

1.2 SIPIP

SIP
. .25, Frame Relay,
AAL5, IPX . SIP
.
SIP
UDP,.UDP,TCP,
(),

.,
,.
,,
TCP,
TCP.1.1,
SIPTCP/IP.

http://openlib.org.ua/

(SIP)

TCPUDP

IPv4IPv6

PPP,AAL5
ATM,Ethernet,V.34.
UTP5,.

.1.1.SIPTCP/IP.

IP
:,,,
.
,
(), ,
.,
SIP
.
SDP(SessionDescriptionProtocol).
, SIP
SDP.
IETFRTP,
SIP
.
SIP
. , SIP
,
.
SIPIP,
.
,SIP:

http://openlib.org.ua/

,multicast
,;

,
,,,
(..);

.
SIP

,...

1.3

SIP

IP
SIP ,
.
URL(UniversalResourceLocators),SIP
URL.
SIP:

@ ,

@ ,

@IP,

@ .

,.,
.
,.
, .
IPDomain
NameService(DNS).SIPIP,
.
SIPsip:,,SIP,..
(,tel:).SIP:

http://openlib.org.ua/

sip:Alexander@niits.ru.
sip:user1@192.168.0.215
sip:3877547@sipgateway.ru

http://openlib.org.ua/

2. (SIP)
SIP
SIP.
.SIP
,,,
.,SIP,.
,,SIP,,
.SIP
.
SIP.
BackusNaurForm(BNF).BNF
SIPRFC3261,SIP2.2.
.,

.2.10.
.,
SIP,
,.
,
.
,(UAC),
.2.3.2.
(UA)(stateful
).
(stateless).
,,
.(state
machine),.
,,
(transactionuserTU).SIP,stateless,
.TU,
IP,
,
.TU,,.
,,
,
.CANCEL,
,
(2.3.5).
SIP,,statefulstateless

http://openlib.org.ua/

,(core),
.,stateless,
(TU).,
UACUAS,
.2.1.UAC
,UAS.
SIP,UAS,c
REGISTER,(registrar).2.3.3
UACUASREGISTER.2.3.4.UAC
UASOPTIONS,
UA.,RFCSIP(RFC3261),
.
SIP,.
UA
.INVITE,
,RFC3261(
SUBSCRIBEREFER).
UAC,UAC,
2.1,.
2.3.1
.
SIPINVITE,
.
,.2.3.6
,.
2.3.7,
INVITE.2.3.8,.

2.1. (UA)
(UA),
, . SIP
.,
(UAC), ,
(UAS),.UACUAS
, .
UACUAS.

2.1.1. (UAC)
,
, .
(,

http://openlib.org.ua/

).
2.1.1.1.
,,
, , RequestURI SIP,
: To, From, CSeq, CallID, MaxForwards Via.,
RequestURI, SIP.
SIP,
, ,
,,
.2.2.2
.
UAC . ,
, INVITE (. 2.3.1), ,
OPTION(.2.3.4.)

RequestURI

RequestURI , .
RequestURI , URI
To. REGISTER; Request
URI REGISTER 2.3.3.
(privacy)
RequestURI To , , UA
,RequestURI.
RequestURI
.
URI,,
UAC .
UA (service provider),
SIP .
URI,.
,
RequestURIRoute,2.3.1.2(,
)RequestURIURI
.

http://openlib.org.ua/

To
To
(addressofrecord),.
, . To
SIP SIPS URI. SIPS ,
(,TLS).
URI(,tel(RFC
2806)). SIP SIP URI, ,
TLS, SIPS URI. To
.
To
.,
(, anton); UA
.
SIP(user part), UA
, @ SIP URI (, sip:anton@niits.ru).
SIPS
, UA ,
. (home domain)
;
. SIP ,
. ,
,.
tag To. tag
To (
,)SIP
.TagTotagFromCallID
.,
tag.
To:
To:Anton<sip:anton@niits.ru>
From
From ,
,.ToURI

http://openlib.org.ua/

,,(displayname),.
SIP , ,
(,)., URI
From IP FQDN (FullyQualified DomainName) ,
UA,.
From (display name). UAC
"Anonymous",
(identity).
, From , UA,
,
. UA ,
,URI,
.,
,,From.
Fromtag,UA.
:
From:"Anton"<sips:anton@niits.ru>;tag=a48s
From:sip:+79213434329@gateway.protei.ru;tag=887s
From:Anonymous<sip:c8oqz84zk7z@privacy.org>;tag=hyh8
CallID
CallID,.
,UA
.
, CallID UAC
. SIP ,,
CallID, , UA.
,
, (, ),
CallID
(.42.1.1.2).
CallID
(RFC1750),
CallID.
localid@host. CallID
.

http://openlib.org.ua/

:
CallID:f81d4fae7dec11d0a76500a0c91e6bf6@niits.ru
CSeq
CSeq .
.,REGISTER,
.
32 , 231.
CSeq.
:
CSeq:4711INVITE
MaxForwards
MaxForwards
.,
.0,
,483(TooManyHops).
UAC MaxForwards .
:70.,
, SIP ,
, .
,
.
Via
Via ,
(location),.SIP,
Via ,
.
UAC , Via.
SIP,2.0.Via
branch. ,

http://openlib.org.ua/

.,.
branch,UA.
CANCEL ACK ,2.
CANCEL branch,,
.ACK,2
branch, INVITE,.
. branch,
SIP,"z9hG4bK".,
magiccookie,,,,
,.
Via (maddr,ttlsentby)
SIP.
Contact
Contact SIP SIPS URI,
UA,(
).
SIP SIPS URI ,
.,,INVITE.
Contact , .. Contact URI,
UA , URI ,
.
RequestURIRouteSIPSURI,Contact
SIPS URI. Route
.
SupportedRequire
UACSIPSIP,
, UAC
Supported (option tag) .
ptiontagSIP
SIP,RFC.
, ,
, ,
. , RFC Standard,
Supported ,
.

http://openlib.org.ua/

UAC , UAS , UAC


, Require,
optiontag . UAC
, ,
ProxyRequire, optiontag
.

,,,
,.
SIPMIME(.Multipurpose
InternetMailExtensionsPartTwo:MediaTypes",RFC2046).,
,,
(ContentDisposition,ContentEncoding,Content
Language,ContentLength,ContentType).2.2.2).


.
,
DNS, RFC 3263: "SIP: Locating SIP Servers".
strictrouter(,RequestURI
Route),DNS
RequestURI,.
RouteRequestURI,
Route .
,.
, URI Locating
SIP Servers, RequestURI SIPS , UAC
,URISIPSURI.

.RequestURISIPSURI,
TLS.
,,
Route.
, .
,
URI.

http://openlib.org.ua/

Route,,
Route, ,
RouteRequestURI,UA.,UA,
, ,
Route,
.,,
RecordRoute, .
, Route,
.
UAC ,"SIP:LocatingSIPServers",RFC3263
stateful SIP ,,
.,
Viabranch.
2.1.1.2.
SIP,
.
(transaction user, TU).
TU,.
.

,,, SIP ,
.
(timeout error),,
408(RequestTimeout).SIP
(fatal transport error),,503
(ServiceUnavailable).ICMPUDP
TCP.

UAC , x00
, x00 .
, UAC 431,,
,,400(Bad Request). UAC
,100,183(Session

http://openlib.org.ua/

Progress).UAC100,183.
Via
Via, UAC
, , ,
.
3
(,301),
() Contact
,.
(target set), URI
RequestURI .
3 ,
targetset.UAC,URI,
Contact, target set. , 3,
URI target set .
SIPS URI RequestURI, SIPS URI,
URI.
,targetset,UAC,
target set .
q
Contact. q ,
Contact 01.
.
q
q .
q,
q.
,SIP
.,.
( 399). ,
( )
(TU).,
;.
,
.

http://openlib.org.ua/

.
, ,
3,UACURItargetsetRequest
URI, methodparam header. header
,,
.
(, Contact)
.
. ,
,

.
,
.,
:
sip:anton@niits.ru?Subject=organization&CallInfo=http://www.niits.ru,

Subject,
HTTPURLCallInfo.
,UACTo,FromCallID,
, UAC,,
CallID . , ,
, ,
branchVia.
,,,
,.
, Contact

.
4
4xx UA
,.

401 (Unauthorized) 407 (Proxy Authentication Required)


,.

http://openlib.org.ua/

, UAC
.
6

413 (Request Entity Too Large) , ,


,UAS.UAC
,.

415 (Unsupported Media Type) , ,


,UAS.
UAC ,
Accept , Accept
Encoding AcceptLanguage,
.

416(UnsupportedURIScheme),URI,
RequestURI, . UAC
,SIPURI.

420(BadExtension),Require
ProxyRequire,optiontag,
UAS.UAC,
,Unsupported.

10

494 (Security Agreement Required)


.
SecurityServer,
.UAC
.

,
.
CallID, To From, , CSeq
,.
4
.

2.1.2. (UAS)
,
, ,
.
2.1.2.1.

http://openlib.org.ua/

,,
. , .
,
,,.
,
( , ,
).

(),UAS
.UAS,,
405 (Method Not Allowed); Allow,
,UAS.
,.

UAS,,
. UAS
,.
ToRequestURI
To . UAS
,
ToUAS.,UAS
,URI(,tel)To,
To,
UAS. , UAS , 403
(Forbidden) (
2.3.2).
RequestURIUAS,.Request
URI , ,
416(Unsupported URI Scheme). RequestURI
,UAS,
404(Not Found)., UA,
REGISTER (addressofrecord)

http://openlib.org.ua/

, , RequestURI
. RequestURI
Contact , UA
.

tagTo,UAS(UAScore)
. tag From,
CallID CSeq ,
,, UAS
482 (Loop Detected) .
,,
. UAS
482 (Loop Detected)
.
Require
, UAS ,,
Require.
RequireUAC,UASSIP,
UAS . UAS
optiontag, Require,
420 (Bad Extension). UAS
Unsupported,Require.
, Require ProxyRequire
CANCEL, ACK, 2xx.
,.
ACK 2xx Require Proxy
Require,,:

UAC>UAS:

INVITEsip:vladimir@protei.ruSIP/2.0
Require:100rel

UAS>UAC:

SIP/2.0420BadExtension
Unsupported:100rel

http://openlib.org.ua/

,
, (options) ,
,,.
,
. , ,
,,.

,UAS,,UAS
,.
(ContentType),(ContentLanguage)
( ContentEncoding),
(ContentDisposition),UAS
415(UnsupportedMediaType). Accept
, UAS,
,.,
UAS,AcceptEncoding,
UAS. UAS ,
AcceptLanguage,UAS.
,.


UAS ,
Supported .
, SIP
,.,
,
421 (Extension Required). ,
.
Require.
,421,
Require, . ,
Supported.
, ,
.

http://openlib.org.ua/

2.1.2.2.
UAS,,.
,
.
,UAS
,.

,,,
UA INVITE.
INVITE
.
100(Trying)Timestamp(,UAC
UAS) .
RTT.
,UAS,
Timestamp .
,.
tag
From,CallID,
Cseq Via CallID, Cseq Via .
ViaVia
.
tagTo,To,
. To tag, URI To
URI To ;,UAStag
To (100(Trying),tag
). tag ,
(100(Trying)).
UAS

http://openlib.org.ua/

UAS (stateless) UAS,


.,UAS
(stateful).stateless
UAS,
, . UAS
stateless ,
. Stateless UAS:
SIP
.
statelessUAS,
.
, ,
,,
UAS.
statelessUAS:

statelessUAS(1xx)

statelessUAS

statelessUASACK

statelessUASCANCEL

tag To

tag.

, stateless UAS stateful UAS.


UAS,.

2.2. SIP
2.2.1.
SIP , ISO 10646
UTF8(RFC2279).SIP
,.
, ,
.:

http://openlib.org.ua/

,;

().

2.1SIP

,
(CRLF).
,.
SIP.
,,
. ,
,,
.
, ,
, ..
. .
,SIP
HTTP/1.1,SIPHTTP.
SIP.
ACK,INVITEOPTIONS,,
SDP,BYE.

2.2.2.

http://openlib.org.ua/

SIPHTTP
. , SIP
HTTP/1.1
.
,:
:

(SP) .

.
Subject:
Subject:
Subject:
Subject:
,.
,
(SP) (HT).
(line break) (whitespase)
SP..
Subject:,,!
Subject:,
,
!

.
, (Via, Route, RecordRoute,
ProxyRequire, MaxForwards, ProxyAuthorization ),
.
.
,
,.

http://openlib.org.ua/

: , ,
;
.
WWWAuthenticate, Authorization, ProxyAuthenticate,

ProxyAuthorization.
,
,
SIP.

, ,
,.
, ,
.
Route:<sip:anton@niits.ru>
Subject:
Route:<sip:vladimir@protei.ru>
Route:<sip:alexander@loniis.ru>
Route:<sip:anton@niits.ru>,<sip:vladimir@protei.ru>
Route:<sip:alexander@loniis.ru>
Subject:
Subject:
Route:<sip:anton@niits.ru>,<sip:vladimir@protei.ru>,
<sip:alexander@loniis.ru>
,.

Route:<sip:anton@niits.ru>
Route:<sip:vladimir@protei.ru>
Route:<sip:alexander@loniis.ru>
Route:<sip:vladimir@protei.ru>
Route:<sip:anton@niits.ru>
Route:<sip:alexander@loniis.ru>

http://openlib.org.ua/

Route:<sip:anton@niits.ru>,<sip:alexander@loniis.ru>,
<sip:vladimir@protei.ru>
.
UTF8
(tokens),(whitespace),,
.
,
,.
:;=;=

, ,
.
, .
,,
.,
,,.,
Contact:<sip:anton@niits.ru>;expires=3600

CONTACT:<sip:anton@niits.ru>;ExPiReS=3600

ContentDisposition:session;handling=optional

contentdisposition:Session;HANDLING=OPTIONAL
.

http://openlib.org.ua/

Warning:370niits.ru""
Warning:370niits.ru""

.
, .
(,),.
SIP,
UDP,,
,.
,,
SDP..

2.1

ContentType
E
ContentEncoding
F
From
I
CallID
K
Supported
L
ContentLength
M
Contact(moved)
S
Subject
O
Event
R
ReferTo
T
To
U
AllowEvents
V
Via

Accept

Accept , , .
,,
, ,
.
Accept,.
Accept,

http://openlib.org.ua/

application/sdp.
Accept:application/sdp;level=1,application/xprivate,text/html

AcceptEncoding

AcceptEncoding Accept,
.
.:AcceptEncoding:identity,:
.,
identity.HTTP,
,
identity().
:
AcceptEncoding:gzip

AcceptLanguage

AcceptLanguage,
, , ,
.,
,.

q.:
AcceptLanguage:da,engb;q=0.8,en;q=0.7

AlertInfo

AlertInfo,INVITE,
UAS.
180(Ringing), UAC.

.
.
SIP ,
.:
AlertInfo:<http://www.niits.ru/sounds/moo.wav>

http://openlib.org.ua/

Allow

Allow c ,
,.,UA,
ACKCANCEL,.Allow,
UA ;
,
,.
Allow(
OPTION).:
Allow:INVITE,ACK,OPTIONS,CANCEL,BYE

AllowEvents
AllowEvents,

eventpackage,(
)().,
,AllowEvents,,
SUBSCRIBENOTIFY,
eventpackage.
,eventpackage,
AllowEvents,
(events),,,INVITE,
,OPTIONS.
,AllowEvents.
:
AllowEvents:refer

AuthenticationInfo

AuthenticationInfo
HTTP Digest. UAS
2 , ,
,Authorization.:
AuthenticationInfo:nextnonce="47364c23432d2e131a5fb210812c"

http://openlib.org.ua/

Authorization

Authorization.
ProxyAuthorization ,
.
.
,,
.
2.6.3.
Authorization:Digestusername="Anton",realm="niits.ru",
nonce="84a4cc6f3082121f32b42a2187831a9e",
response="7587245234b3434cc3412213e5f113a5432"

CallID

CallID
.,
. :
CallID.
,
. @.
CallID.:
CallID:f81d4fae7dec11d0a76500a0c91e6bf6@loniis.ru
i:f81d4fae7dec11d0a76500a0c91e6bf6@192.0.2.4

CallInfo

CallInfo
,:
.URI,,purpose.
icon,
. info
,, web. card
, , ,
,..,,Vcard("vCardMIME
Directory Profile", RFC 2426) LDIF ("The LDAP Data Interchange Format (LDIF)
TechnicalSpecification",RFC2849).
CallInfo
. URI,

http://openlib.org.ua/

,
, .. ,
,UACallInfo,
SIP ,,
SIP . UA;
.:
CallInfo:<http://www.serv1.niits.ru/anton/photo.jpg>;purpose=icon,
<http://www.serv1.niits.ru/anton/>;purpose=info

Contact

Contact URI,
. Contact
, .
Contact (display name),
.
Contact q expires.
,REGISTER,
3.
, URI
< >. ,
URI,.
, ,
.
, URI , ,
, .
<(LWS).
ToFrom.
Contact , Location HTTP.
HTTP,
.URI
,
.
:
Contact:"Alexander"<sip:alexander@loniis.ru>
;q=0.7;expires=3600,
"Alexander"<mailto:alexander@loniis.ru>;q=0.1

http://openlib.org.ua/

ContentDisposition

ContentDisposition,
, multipart
().SIP
,ContentType.
SIP ContentDisposition.
session ,
.
render,
.ContentDisposition,
application/sdp Content
Dispositionsession,render.
icon , ,
;
UA
,
. alert ,
,
, , ; ,

, 180
(Ringing).
MIMEContentDisposition,
,,
.
handlingparam UAS
ContentDisposition ContentType.
: optional required.handling
param,required.
ContentDisposition , MIME
ontentDisposition.
render.:
ContentDisposition:session

ContentEncoding

ContentEncoding
. , ,

http://openlib.org.ua/


,
ContentType.
ContentEncoding ,
.
,
,.
.
.
.,UAS,
AcceptEncoding.
:
ContentEncoding:gzip

ContentLanguage

ContentLanguage
(
).,
. ContentLanguage
,
.
ContentLanguage,
.
:
ContentLanguage:fr

ContentLength

ContentLength
,,.
,,.
(
TCP),ContentLength.
,
.ContentLength,
.,

http://openlib.org.ua/

ContentLength.
ContentLength
cgi,.
:
ContentLength:349

ContentType

ContentType , .
ContentType,.
,ContentType,,
(,).
:
ContentType:application/sdp

c:text/html;charset=ISO88594

CSeq

CSeq ,
.,
. :
1232 .
.CSeq
, , .
.
:
CSeq:4711INVITE

Date

Date .
HTTP/1.1, SIP ,RFC1123,
, GMT, RFC1123
. Date

http://openlib.org.ua/

GMT.
:
Date:Sat,13Nov201023:29:00GMT

ErrorInfo

ErrorInfo,
.
SIP

, . ,

,,
ErrorInfo.
,
.
UAC SIP SIPS URI ErrorInfo ,
Contact ,
INVITE, .
,,
, , sip,
tel.
:
SIP/2.0404Thenumberyouhavedialedisnotinservice
ErrorInfo:<sip:notinservicerecording@niits.ru>

Event
(
eventpackage),(subscription)
(notification).
NOTIFYSUBSCRIBE
(eventtype)id().
Event,id,
.
.
.

Event:refer;id=1234

http://openlib.org.ua/

Expires

Expires ,
.
.REGISTERINVITE.REGISTER,
. INVITE
, URI
.
, .
, , 0 (232 1),
.
:
Expires:5

From

From URI .,
. From
.
.
,
display name ( ) Anonymous. , URI
,,
,.
From,URI.
,,
.,
.
:
From:"Vladimir"<sip:vladimir@protei.ru>;tag=a48s
From:sip:+79213434329@gateway.protei.ru;tag=887s

InReplyTo

InReplayTo
(CallID), .

InReplayTo .

http://openlib.org.ua/

.
.. ,
, .
,.
:
InReplyTo:70710@lonis.ru,17320@loniis.ru

MaxForwards

MaxForwards SIP ,
,.
0 255,
,.
, .
70.
MaxForwards ,
.
:

MaxForwards:6
MinExpires

MinExpires ,
SIP .
Contact,
registrar.
0(2321).423(IntervalTooBrief).
:
MinExpires:60

MIMEVersion

MIMEVersion
.

MIME,

:
MIMEVersion:1.0

Organization

http://openlib.org.ua/

Organization , SIP
, .
.
:
Organization:Niits
Path
UA,,
.REGISTER
.REGISTER
.
Path.REGISTER
2.
PathREGISTERSIP,
.Path
:
,.,
Route.
REGISTER,
.UA
,,
.
PathRecordRoute,Path
REGISTER2,,
RecordRoute.,
RecordRoute,
Path.
Path,
Route.
PathSIP,
optiontagpath
Supported.:

Path:<sip:P3.niits.ru;lr>,<sip:P1.niits.ru;lr>

Priority

Priority .
SIP UA.,

. , Priority, ,

http://openlib.org.ua/

normal.Priority
, ,
. : nonurgent
(),normal(),urgent()emergency();
. , emergency
.
:
Subject:!
Priority:emergency

Subject:
Priority:nonurgent

Privacy
SIP,
,,
.
,
,.
,(privacy
services).Privacy.UA
Privacy,
,.
:header,session,
user,none,critical.header,
(ViaContact),
.
session,(),
,,SDP,.
,IP,
,.user
,
,,
,,
.user
REGISTER.none,
.critical,

http://openlib.org.ua/

,
.
,none
user,headersession,
;()critical.
Privacy:none

ProxyAuthenticate

ProxyAuthenticate,,
,,
RequestURI.
407(ProxyAuthenticationRequired)
401(Unauthorized).
2.6.3.
:
ProxyAuthenticate:Digestrealm="niits.ru",
qop="auth",nonce="f84f1cec41e6cbe5aea9c8e88d359",
opaque="",stale=FALSE,algorithm=MD5

ProxyAuthorization

ProxyAuthorization,
.,
,
.
,
,.
ProxyAuthorizationAuthorization,
.
,
,.
2.6.3.
:

ProxyAuthorization:Digestusername="Anton",realm="niits.ru",
nonce="c60f3082ee1212b402a21831ae",
response="245f23415f11432b3434341c022"

http://openlib.org.ua/

ProxyRequire

ProxyRequire,
.
:
ProxyRequire:100rel
PAssertedIdentity
PAssertedIdentity
SIP,(
),,(
).URI
.URIsip,sips,tel.
;sip
sips,tel.
(TrustDomain).
,
.
,PAssertedIdentity,

,,
PAssertedIdentity.,
,PAssertedIdentity,
.
,UA,c
,P
AssertedIdentity,
.:

PAssertedIdentity:"Anton"<sip:anton@niits.ru>
PAssertedIdentity:tel:+79213434329
PPreferredIdentity
PPreferredIdentity,
,.
,,
PAssertedIdentity,
.PPreferredIdentity
sip,sips,tel.
;sip
sips,tel..

http://openlib.org.ua/

PPreferredIdentity:"Anton"<sip:anton@niits.ru>
PMediaAuthorization
PMediaAuthorization
QoSSIP.
denialofservice().
,
.PMediaAuthorization
,QoS,
(100),12
UAINVITE,ACK,
UPDATEPRACKUAS.
PMediaAuthorization
QoS.UA
/,QoS,
,(
RSVPSIP,
PMediaAuthorizationPATH).
QoS().
PMediaAuthorizationSIP,
offeranswer(SDP
SDP).

ThePAssociatedURI

,SIP,

.PAssociatedURI
200(OK)REGISTER
.registrar,
PAssociatedURI200(OK)REGISTER,
UA:,

PCalledPartyID

PCalledPartyID(INVITE).
RequestURI
(RequestURI).RequestURI,
,.,
PCalledPartyID,UAS

http://openlib.org.ua/

(,
).
,
,
..
PCalledPartyID:sip:antonwork@niits.ru

PVisitedNetworkID

,3GPP(3rdGenerationPartnershipProgect),
(homenetwork)
(visitednetwork).
(roamingagreements)
.,
,,
.
UA,
,
,UA.
,
.
UA.
PVisitedNetworkID,
UA,(home
proxy);.
,
,UA.
,PVisitedNetworkIDREGISTER,
.
,,
,PVisitedNetworkID
...
PVisitedNetworkID:"Visitednetworknumber1"

http://openlib.org.ua/

PAccessNetworkInfo
UASIP,,(
)SIP,
UA,PAccessNetworkInfo.
,UAIP
.,,
UASIP,.,
,PAccessNetworkInfo
,,
.
;
,
(
).,,
PAccessNetworkInfo.UA,
,
,,

..

PChargingFunctionAddresses

.
SIP,,
SIP,.
.
3GPP,
:ChargingCollectionFunction(CCF)EventChargingFunction(ECF).
CCF(postpaid),ECF
(prepaid).
SIP,SIP,P
ChargingFunctionAddresses,
.
,FECF,
,.
,,
,.
..

PChargingFunctionAddresses:ccf=192.1.1.1;ccf=192.1.1.2;
ecf=192.1.1.3;ecf=192.1.1.4

PChargingVector

http://openlib.org.ua/

.
,
,,
SIP,.
(),
.
,
.
(SIP).
:IMSChargingIdentity(ICID),
,ICIDInterOperatorIdentifiers(IOI).
ICID,
..ICID
.
:IPSIP
,.IOI,
.
PChargingVector.SIP
PChargingVector
,
.SIP,,P
ChargingVector,ICID
.
,,.
.
PChargingVector:icidvalue=1234bc9876e;
icidgeneratedat=192.0.6.8;
origioi=home1protei.ru

PDCSTracePartyID
,,
ustomeroriginatedtrace,

.SIP

,.
,,
UAC,INVITE
PDCSTracePartyID.PDCSTrace
PartyID.
,RequestURI,

,,

http://openlib.org.ua/

PDCSTracePartyID.UAC,,
PDCSTracePartyID.

PDCSOSPS
,
.,
,,
.,,
,.
(BLV)(EI),
OperatorServicesPositionSystem(OSPS).
,SIP,
,PDCSOSPS.
,.
:BLV(busyline
verification),EI(emergencyinterrupt)RING(operatorringback).
INVITE,PDCSOSPSBLVEI,
,UASUAC,c,
.EIRING
UPDATE.PDCSOSPS
UAC,.
(MediaGatewayController)..

PDCSOSPS:BLV
PDCSBILLINGINFO

.SIP
.,,
,,
.
(Accountingrecords),
,.PDCSBILLING
INFO,,
,,
,,
(billableaccount).
,
.
UA
.

http://openlib.org.ua/

PDCSLAESPDCSREDIRECT
PDCSLAES,
(LawfullyAuthorizedElectronicSurveillance).
,
,,
.
SIP,,,
.
,
.
PDCSRedirect,

.,
.
,
.

RAck
RAckPRACK
..
,RSeq
.
CSeq.RAck
.:

RAck:7766561INVITE
Reason
SIP.,
CANCEL,,

.,
,.
,,Reason,
CANCEL;
,
.
,SIP.
Reason.Reason
.
,HERFP(Heterogeneous
ErrorResponseForkingProblem),,,

http://openlib.org.ua/

,
,.
Reason,
,CANCEL,
.SIPcause,
SIP.Q.850
cause,
ITUTQ.850
DSS1OKC7(ISUP).SIP
Reason,
(,SIPQ.850).
Reason,.
,
..
Reason:SIP;cause=200;text="Callcompletedelsewhere"
Reason:Q.850;cause=16;text="Terminated"

RecordRoute

RecordRoute,

.
:
RecordRoute:<sip:serv10.protei.ru;lr>,
<sip:site3.niits.ru;lr>

ReferTo
ReferToREFER.URI
(calltransfer).,,
,
REFER..
ReferToContact,
Route/RecordRoute,2.4.1,
.:

ReferTo:sip:alexander@loniis.ru

ReplyTo

http://openlib.org.ua/

ReplyToURI,
From.,URI
,
. , , ReplyTo
,,
.URI,,
,.
:
ReplyTo:Vladimir<sip:vladimir@protei.ru>

Require

Require UAC , UAS


,.

()optiontag;SIP,
.
:
Require:100rel

RetryAfter

RetryAfter 500(ServerInternalError)
503(ServiceUnavailable),,
,404(NotFound),413(Request
Entity Too Large), 480 (Temporarily Unavailable), 486 (Busy Here), 600 (Busy) 603
(Decline), ,
. (
).
duration,
, . ,
,.

.
:
RetryAfter:18000;duration=3600
RetryAfter:120(I'minameeting)

Route

http://openlib.org.ua/

Route
. , Route
2.4.1.
:
Route:<sip:site5.niits.ru;lr>,
<sip:serv3.protei.ru;lr>
RSeq
RSeq
.1(2321).
(
)RSeq.RSeq
.
:

RSeq:988789
SecurityClient,SecurityServer,SecurityVerify
,
UACSIP
UAS,,
.
SIP.
,SecurityClient
,,.
,
.494(SecurityAgreementRequired)
SecurityServer,
..
,
q,.
.
SIP,,
.
SecurityVerify,,
SecurityServer.
,SecurityVerify,
,.
:digest,tls,ipsecike,
ipsecman..

http://openlib.org.ua/

SecurityClient:digest
SecurityServer:tls;q=0.2
SecurityVerify:ipsecike;q=0.1

Server

Server ,
.

, .
.
:
Server:HomeServerv2
ServiceRoute
ServiceRoute,SIP,
REGISTER,,

(serviceroute)..,
,.UA
,
,.
ServiceRoute
.UA
,,
.ServiceRoute,
Route.,
lr.
,
(R),,HSP(home
serviceproxy),(DBMS),
(P2).UA1P1
REGISTER;
ServiceRoute,,UA1
,,
,P2HSP..,INVITE
UA2ServiceRouteRoute..

UA1P1||R|
|||

http://openlib.org.ua/

P2|DBMS
|||
UA2||HSP|
2.2.,ServiceRoute
ServiceRoute:<sip:p2.home.protei.ru;lr>,

<sip:hsp.home.protei.ru;lr>

Subject

Subject
,.
:
Subject:
s:
SubscriptionState
SubscriptionStateNOTIFY
(subscription).active,pendingterminated.
active,.pending
,,
.terminated,.
activepending,expires,
;
.
terminated,
reasonretryafter,,
.:

SubscriptionState:terminated;reason=noresource

Supported

SupportedUAC
UAS.option
tag,UACUAS.,
.,
,ACK.
:

http://openlib.org.ua/

Supported:sipcc,sipcc02,timer

SIP.

Timestamp

Timestamp , UAC UAS.


SIP RTT (
).
:
Timestamp:54

To

To .
,
. tag
.
ToFrom.
:
To:TheOperator<sip:operator@server10.protei.ru>;tag=287447
t:sip:+79213434329@gateway.protei.ru

Unsupported

Unsupported ,
UAS.420(BadExtension).
:
Unsupported:100rel

UserAgent

UserAgent ,
. UA
,
. UA
.
:
UserAgent:SoftphoneBeta1.5

http://openlib.org.ua/

Via

ViaSIP,
.,,
,,,
.
,:
. branch Via
.
Via ,
, ,,
, .
:maddr,ttl,receivedbranch.
: UDP, TCP, TLS
SCTP(TLSTLSTCP).SIPSURI,
SIP,TLS.

Via:SIP/2.0/UDPserv1.niits.ru:5060;branch=z9hG4bK87asdks7
Via:SIP/2.0/UDP192.0.2.1:5060;received=192.0.2.207
;branch=z9hG4bK77asjd

(multihomedhost)
192.0.2.1 192.0.2.207. ,
. ,
serv1.niits.ru Via,
. ,
.

SIPURI.,:/,
:
Via:SIP/2.0/UDPserv3.niits.ru:4000;ttl=16
;maddr=224.2.0.1;branch=z9hG4bKa7c6a8dlze.1

Via , :
,,,
(,SIP/2.0/UDPserv3.niits.ru:4000)
,,.

http://openlib.org.ua/

Warning

Warning
.Warning
, .
,
.
,,Accept
LanguageContentLanguage.
(warncode)
(warntext).
, .
3, , SIP.
300 329
(keywords) , 330 339 ,
,370379
, , 390 399
,
.
2.2

300


.
,
,.

301


,
.

302


. ,
,.

303

304


.
,


,
,
.

http://openlib.org.ua/

,.
305


.
,
,.

306

307

.
.

330

Multicast
.
multicast

331

Unicast
.
unicast
(,
firewall).

370

,
,
,
.

399


log. ,
,

.

IANA.
:

Warning:307serv1.niits.ru"example"
Warning:301serv1.niits.ru"E.164"

WWWAuthenticate

WWWAuthenticate ,,
,,
RequestURI.

http://openlib.org.ua/

407(ProxyAuthenticationRequired)
401(Unauthorized).
2.6.3.
:
WWWAuthenticate:Digestrealm="niits.ru",
qop="auth",nonce="f84f1cec41e6cbe5aea9c8e88d359",
opaque="",stale=FALSE,algorithm=MD5

SIPv2.0
2.3.
,
.

,
.

M*

, /
.

http://openlib.org.ua/

.
T

, /
.

,.
*

,.
F

.
N/A

.
2.3SIPv2.0.

ACK

BYE

CAN

INV

OPT

REG

IFO

SU

Accept

M*

Accept

M*

N/A

Accept

415

N/A

Accept
Encoding

Accept
Encoding

M*

N/A

Accept
Encoding

415

N/A

Accept
Language

http://openlib.org.ua/

Accept
Language

M*

N/A

Accept
Language

415

N/A

AlertInfo

a,r

N/A

AlertInfo

180

a,r

N/A

Allow

N/A

Allow

M*

M*

Allow

N/A

Allow

405

AllowEvents

N/A

AllowEvents

N/A

AllowEvents

489

Authenticatio
nInfo

N/A

Authorization

CallID

CallInfo

a,r

N/A

N/

Contact

Contact

Contact

Contact

http://openlib.org.ua/

3
Contact

485

Contact

4xx
6xx

Content
Disposition

N/A

Content
Encoding

Content
Language

N/A

Content
Length

A,r

ContentType

Cseq

Date

ErrorInfo


300699

N/A

Event

Expires

Expires

From

/
R

InReplyTo

N/A

Max
Forwards

a,m,r

http://openlib.org.ua/

MinExpires

423

N/A

MIME
Version

N/A

Organization

A,r

Path

a,r

Path

Priority

a,r

Privacy

a,m,r,

d
Proxy
Authenticate

407

a,r

Proxy
Authenticate

401

a,r

N/A

N/

Proxy
Authorization

d,r

Proxy
Require

a,r

PAccess

NetworkInfo

D,r

PAsserted
Identity

A,d,r

PAssociated
URI

PCalled
PartyID

A,m,r

PCharging
Vector

A,

d,m,r

http://openlib.org.ua/

PCharging
Function
Addresses

A,d,r

PDCS
BillingInfo

A,d,m, F

PDCSLAES

A,d,r

PDCS
Redirect

A,d,r

PDCSOSPS

D,r

PDCSTrace
PartyID

D,r

PMedia
Authorization

A,d

PMedia
Authorization

A,d

PMedia
Authorization


101199

A,d

N/A

N/

PPreffered
Identity

A,d,r

PVisited
NetworkID

A,d

RAck

Reason

RecordRoute

A,r

N/A

RecordRoute

18

M,r

N/A

RecordRoute

M,r

N/A

RecordRoute

M,r

http://openlib.org.ua/

401,484
ReferTo

ReplyTo

N/A

Require

a,r

RetryAfter


404,413,480,486,500,
503,600603

Route

a,d,r

RSeq

Security
Client

A,r,d

Security
Server


421,494

Security
Verify

A,r,d

Server

Subscription
State

Subject

Supported

M*

N/A

Supported

M*

M*

N/A

Timestamp

/
R

Unsupported

420

UserAgent

http://openlib.org.ua/

Via

Via

a,m,r

/
d,r

Warning

Warning

WWW
Authenticate

401

a,r

WWW
Authenticate

407

a,r

N/A

N/

2.2.3.
SIPRequestLine.RequestLine
,RequestURI,
(, ACK sip:anton@niits.ru SIP/2.0). RequestLine
(CRLF). ,
,.
(LWS .. RFC
822).

Request
URI

RLF

2.3RequestLine

http://openlib.org.ua/

IETFRFC32616:REGISTER
,INVITE,ACKANCEL,
BYE , OPTION
.
,SIP,
,,.
,.

RequestURI

RequestURI SIP SIPS URI. ,


. RequestURI
,<>.
SIPRequestURI,
sip sips, tel; SIP URI
.
SIPURI,SIPSURI,.
RequestURI , ,
, RequestURI ,
.

, SIP,
, .
,SIP,SIPVersion"SIP/2.0".
SIPVersion ,
.
INVITE.
,
(),
,,
.INVITE,
,,
,(
).

,,,SIP.
INVITE

http://openlib.org.ua/

.
INVITE,.
ACKINVITE.,
INVITE,..
,
INVITE.ACK
,.
CANCEL,
CANCELCallID,To,FromCSeq,,
.,CANCEL,

.,,
CANCEL.
BYE
.,BYE,
()200().
REGISTER.
:
,
.
From.
,,
.
Contact,
INVITE.REGISTER
Contact,.
*.
Expires,
.,
1,.
REGISTERExpires,
0Contact.
OPTIONS
.
.
,
.
.
SIP,
INVITE(.2.4.).

http://openlib.org.ua/

INVITEsip:alexander@serv1.loniis.ruSIP/2.0
Via:SIP/2.0/UDPkton.loniis.ru

From:Anton<sip:anton@loniis.ru>
To:Alexander<sip:alexander@loniis.ru>
CallID:3298420296@kton.loniis.ru
Cseq:1INVITE
ContentType:application/sdp
ContentLength:...
v=0
o=bell536557652353687637INIP4128.3.4.5
C=INIP4kton.loniis.ru
m=audio3456RTP/AVP034

2.4.INVITE

Anton(anton@loniis.ru)Alexander
(alexander@loniis.ru).(serv1.loniis.ru).From
,
.
SDP,3456
,RTP,
:0PCMU,3GSM4G.723.
SIP,
.IETF
.:INFO,PRACK,UPDATE,SUBSCRIBE,
NOTIFY,REFER,MESSAGE.

INFO
INFOSIP
.INFO
SIP,,

http://openlib.org.ua/

SIP.
,
,SIP
.
INFO,
.

SIP,

RecordRouteINVITE.
INFO,
.
INFO:

DTMF,

()

,INFO,
,.
INFO.

,200(OK).
,415(UnsupportedMediaType).
INFO.UAS,CANCEL
INFO,487(RequestCancelled),
.
INFO,
,,BYE.
INFORFC2976.

PRACK
SIP,
.
().
,.,
,,

http://openlib.org.ua/

.
SIP
(optiontag100rel).
,
2INVITE.
TU(),
.,
PRACK.PRACK,ACK,
.PRACK
SIP,BYE...
(hopbyhop)stateful.
BYE(ACK)PRACK.
UAS1(100)
,Supportedoptiontag100rel.
,UAC
.UAC
.
UACRequireoptiontag100rel.
,RSeq(1(2311)).
UAS
.,
.
UACPRACK
,,.
PRACKRAck,
.PRACK
1,..UACPRACK,
.

UASPRACK.PRACK
,2.
,,UAS
.RSeq
.
PRACKRFC3262..
Anton

Vladimir
INVITE
180(Ringing)
PRACK
200(OK)<PRACK>

http://openlib.org.ua/

.2.5.PRACK

UPDATE
,
(,)INVITE.
,(earlymedia),
,INVITE
.,,
.reINVITE(INVITE,
.2.3.7),
reINVITE,
.UPDATE
()
.
UPDATE
.INVITE
.AllowINVITE
UPDATE,
.INVITE.(
)Allow
UPDATE.(
),UPDATE,
offer(SDP),
.answer
(SDP).
UPDATE
offer,answer2UPDATE.
UA2UPDATE,
.
UPDATEoffer(
),offer,
INVITE,,,
PRACKUPDATE,answer.
,INVITE.
,answer,
offer,reINVITEUPDATE.
UPDATE,
(targetrefreshrequest).
UPDATERFC3311.:

http://openlib.org.ua/

INVITE<coffer1>
180Ringing<canswer1>
UPDATE<coffer2>
200OK<canswer2>
UPDATE<coffer3>
200OK<canswer3>
200OK<INVITE>
ACK

.2.6UPDATE

SUBSCRIBENOTIFY
SIP,
,
.:
(),
buddylists(
),(
)
Internet.
SIP
,,(
,),,
.:

http://openlib.org.ua/

UA

UA

SUBSCRIBE(1)
200OK(2)
NOTIFY(3)
200OK(4)
NOTIFY(5)
200(OK)(6)

.2.7
(1)
(2)
(3)
(4)
(5)
(6)
SUBSCRIBE
.SUBSCRIBE,
.(subscriber,
)
,SUBSCRIBE.
SUBSCRIBE,
,
UAC.
,,
SUBSCRIBE:RequestURI,Event
.

RequestURI,
(notification),
,
(,sip:vladimir@protei.ruURI
(userpresencestate),
).

SUBSCRIBEEvent,
,.
,,
.eventpackage

http://openlib.org.ua/

.Event
id..

eventpackageSUBSCRIBE
(eventpackage).
,,,/
.

SUBSCRIBEAllow,,
eventpackage.
,
SUBSCRIBE
idEvent,
..
,,
,Expires.
SUBSCRIBE.
(notifier,
),
.,
eventpackage,(subscriber)
,,
200(OK).
202(Accepted).,
,.
,,
NOTIFY,
.NOTIFY,
SUBSCRIBE().
,,
NOTIFY.NOTIFY
SIP,,
SUBSCRIBE,.,
.
NOTIFY,SUBSCRIBEEventevent
package,;id
SUBSCRIBE.NOTIFY
,eventpackage.
.
NOTIFYSubscriptionState
active,pending,terminated.active,
.pending,,
.terminated,

http://openlib.org.ua/

.
NOTIFY,
(,
NOTIFYEvent).
,,
200(OK).SUBSCRIBENOTIFY
RFC3265.

REFER
REFER,,
(RequestURI),
,.
,(CallTransfer).,
AntonVladimir,Vladimir
Alexander,AntonSIPUA
REFERSIPVladimir,
Alexander.Vladimir,UA
Alexander,.UAVladimirUA
Anton,
Alexander.
,REFER
,BYE.REFERReferTo.,
,,
REFER.,sip:anton@niits.ru.
,UAS202(Accepted),
REFER.UA.
,REFER,,
SUBSCRIBE.REFER,
refer.
NOTIFY.NOTIFY
UA,REFER,.
To,FromCallID
NOTIFYREFER,
REFERSUBSCRIBE.NOTIFY
Eventrefer.NOTIFY
message/sipfrag(message/sipfragRFC3420),
;
.
NOTIFY,
.refer
,.,
NOTIFYNOTIFYNOTIFY,

http://openlib.org.ua/

.NOTIFY
SubscriptionStateterminated()
reasonnoresource.
AgentAAgentB,AgentB
.REFERRFC3515.

Anton

Alexander

REFER(1)
202Accepted(2)
NOTIFY(3)
200OK(4)

NOTIFY(5)
200(OK)(6)

.2.8REFER
F1F5
1(F1)
REFERsip:alexander@loniis.ruSIP/2.0
Via:SIP/2.0/UDPant.loniis.ru;branch=z9hG4bK2293940223
To:<sip:alexander@loniis.ru>
From:<sip:anton@loniis.ru>;tag=193402342
CallID:898234234@ant.loniis.ru
CSeq:93809823REFER
MaxForwards:70
ReferTo:(URI)
Contact:sip:anton@loniis.ru
ContentLength:0

5(F5)
NOTIFYsip:anton@loniis.ruSIP/2.0
Via:SIP/2.0/UDPalx.loniis.ru;branch=z9hG4bK9323394234
To:<sip:anton@loniis.ru>;tag=193402342
From:<sip:alexander@loniis.ru>;tag=4992881234
CallID:898234234@ant.loniis.ru

http://openlib.org.ua/

CSeq:1993403NOTIFY
MaxForwards:70
Event:refer
SubscriptionState:terminated;reason=noresource
Contact:sip:alexander@loniis.ru
ContentType:message/sipfrag;version=2.0
ContentLength:16

MESSAGE
(InstantMessaging)
,.,
.IM,
(),
,.
SIPMESSAGE
(instantmassages),,
SMS.
.(IM)
,,,

.,

(IM),MESSAGE.
RequestURI
,,
.,
,
,.
,.
MIME(text/plain),message/cpim.
,message/cpimIM,
,IM,
message/cpim,
.
MESSAGEContact.
MESSAGE
.,UA
200(OK);,
,,.
MASSAGE.UAC

http://openlib.org.ua/

MESSAGE.
,.
(IM) InstantMessage
URI"im:user@domain".URIim,
URI(SIPURI).
UA IM URI,
SIPURIRequestURIMESSAGE.
.Anton
Alexander,
niits.ru;.
MESSAGERFC3428.

Anton

Alexander

MESSAGE(1)

200OK(4)

MESSAGE(2)
200OK(3)

.2.9MESSAGE
F1:
MESSAGEsip:alexander@niits.ruSIP/2.0
Via:SIP/2.0/TCPserv3.niits.ru;branch=z9hG4bK776sgdkse
MaxForwards:70
From:sip:anton@niits.ru;tag=49583
To:sip:alexander@niits.ru
CallID:asd88asd77a@1.2.3.4
CSeq:1MESSAGE
ContentType:text/plain
ContentLength:18
,.

2.4.

http://openlib.org.ua/

2.4SIP.

INVITE

ACK

INVITE

BYE

.,
.

CANCEL

CallID,To,
FromCSeqCANCEL

REGISTER

OPTION

INFO

PRACK

UPDATE

().

SUBSCRIBE

NOTIFY

REFER

,
,

MESSAGE

(instantmassages)

2.2.4.
SIPStatus

http://openlib.org.ua/

Line.StatusLine:(StatusCode)
(ReasonPhrase), (SP).
(R) (LF)
CRLF.

StatusLine

Status
ode

Reason
Phrase

RLF

.2.10StatusLine

,
.ReasonPhrase
StatusCode,
. ReasonPhrase
:
,AcceptLanguage.
.
.
,
.
,()
.,:
,,
..SIP
.
,.
:.
,.
,1.
,2,3,4,5
6.,
.
(1xx)
,

.1,
, 200 .

http://openlib.org.ua/

ACK;
UA 100rel
1 PRACK.
,.
2.5.SIP

100

Trying..,,
.
,,
INVITE.1,,
stateful.
,,SIP
.
Ringing..
UA.
CallIsBeingForwarded..
,,
.
Queued.,
.,
.ReasonPhrase,
,5.15.
182(Queued)
,.
SessionProgress.,

,,
.,,
SIP,Session
ProgressSDP.

180
181

182

183

(2xx)

2,.
2.6SIP

http://openlib.org.ua/

200

OK..
200INVITE,
,
.
200BYE,
.
200CANCEL,
.
200REGISTER,.
200OPTIONS
,.

202

Accepted.,.
,
.
202.
,
.
,
.

(3xx)
3
,
.

2.7.SIP

300
MultipleChoices..
,
.,
.UA
,
Accept.

http://openlib.org.ua/

301

302

305

380

MovedPermanently.
,
Contact.
,,

.
,404
(NotFound).
MovedTemporarily.
,Contact.
,
().RequestURI
,Contact.
Expires
expiresContact.
URI.
,
.URI
,.
UseProxy.,
.
,,Contact.
UAS.
AlternativeService.,
,.

(4xx)

4,.
,
4,.

2.8SIP

400

BadRequest..,
.
.ReasonPhrase
,:CallID.
.

http://openlib.org.ua/

401

402
403

404

405

406

407
408

410

413

414
415

416

Unauthorized..
UASregistrar.,
.
PaymentRequired..
.
Forbidden.
.,.
,,,
.
NotFound..
,RequestURI.,
,
.
MethodNotAllowed.,
RequestURI.Allow
.
NotAcceptable.,
.
,Accept,,
.
ProxyAuthenticationRequired.
.
RequestTimeout.,
Expires.
.
.
Gone.,,
.,
.
,,
404(NotFound).
RequestEntityTooLarge..
,.
,Retry
After.,
.
RequestURITooLong.,
RequestURI,.
UnsupportedMediaType.,
.
,
Accept,AcceptEncoding,AcceptLanguage.
UnsupportedURIScheme.,URI
RequestURI.

http://openlib.org.ua/

420

421

423

480

481
482

483

484

BadExtension.SIP,
ProxyRequireRequire.
Unsupported.
ExtensionRequired.UAS
,Supported.
Require
.421,
.
,Supported
,421,
SIP,
.
IntervalTooBrief.,,
,.registrar,
,Contact
.
TemporarilyUnavailable.,
(,
,,
,).

RetryAfter.,
.ReasonPhrase
.
Call/TransactionDoesNotExist.,
..
LoopDetected..,
Via,,
.
Via,
,,.
TooManyHops.
,.
MaxForwards.
.
AddressIncomplete.RequestURI.
ReasonPhrase.

http://openlib.org.ua/

485

Ambiguous.RequestURI.
Contact,
.
.

.
,
404(NotFound)
Contact.
sip:anton@niits.ru:
SIP/2.0485Ambiguous
Contact:AntonZarubin<sip:antonzarubin@niits.ru>
Contact:AntonIvanov<sip:antoni@niits.ru>
Contact:PetrovAnton<sips:antonpetr@niits.ru>

486

487
488

489

BusyHere.,
.Retry
After.,
,,,
.
RequestTerminated.BYECANCEL.
NotAcceptableHere.,
,,,
.
.
BadEvent.,,event
package,Event.

491
493

494

RequestPending.,
,.
Undecipherable.,UAS,MIME
,
.,
;
UA.
SecurityAgreementRequired.
.
SecurityClientoptiontag
secagreeSupported,494.
SecurityServer,
.
.

(5xx)

5,

http://openlib.org.ua/

.
2.9SIP

500

501

502

503

504

505

513
580

ServerInternalError..,
.
.,
RetryAfter,
.
NotImplemented.,
.,UAS
.
BadGateway.
.,
.
ServiceUnavailable.
.
RetryAfter,.
UAC,503,
.,
503.
ServerTimeout.,,
,
,,
.
VersionNotSupported.
SIP,.
.
,SIP.
MessageTooLarge.
.
PreconditionFailure.UAS,
offer,,
580answer.
(offer),
INVITEUPDATE.SDP,
offer
answer,.SDP
answer,offer,.

(6xx)

http://openlib.org.ua/

.
.
2.10SIP

600

603
604
606

BusyEverywhere.
..
,,
,486(BusyHere).
Decline.
.
DoesNotExistAnywhere..
NotAcceptable.,
,,,
.Warning
.

2.3.
2.3.1

SIP, .
UA.

(dialog ID), CallID, (local tag)


(remotetag).
.,UA
.,
tagTo.
,
SIP . UAC CallID
CallID ,
tagTo,tag
From. UAS CallID
CallID,tag
From,tagTo.

http://openlib.org.ua/

,
. ,
( UA,
),(
UA), URI, URI, (remote
target),secure(routeset),
URI.,
,.
,
;
2 , .
,,
.

2.3.1.1
, ,
.
1011992tag To INVITE.,
,
(earlydialog).
UAS
UAS,(,
, 2 INVITE), UAS
RecordRoute(,
)
. UAS Contact;
. ,
URI, , IP FQDN. URI,
Contact, SIP URI, SIPS URI.
, , SIPS URI RequestURI
RecordRouteContact(Record
Route), SIPS URI.
, URI
. , , URI Contact INVITE
.

http://openlib.org.ua/

UAS ,
.
TLS, RequestURI SIPS URI, secure
TRUE.
(routeset)URIRecord
RouteURI.
RecordRoute,
. ,
.
(remotetarget)URI
Contact.

CSeq..
allID CallID .
(localtag)tagTo(
),(remote tag)
tagFrom.UAStag
From;0.
URIFrom,URITo.
UAC

UAC,(,
INVITE), SIP SIPS URI
Contact .RequestURI
RouteSIPSURI,ContactSIPSURI.
UA,,
.
TLS,RequestURI SIPS URI,
secureTRUE.
URI RecordRoute
, URI.
RecordRoute ,
. ,
.
(remotetarget)URI
Contact .
CSeq..

http://openlib.org.ua/

allID CallID .
tag From ,
tag To . UA
tag To;
0.
URITo,URIFrom.

2.3.1.2
,
, . UA,
, UA,
, . , ,
.
RecordRouteContact.
(route set),
(remote target).
remotetarget,
. ,
(target refresh requests). reINVITE
UPDATE.

UAC

(.
2.3.1),.URITo
URI,tagTo
. URI From
URI ,tag From
. ,
tagToFrom.
CallID CallID .

http://openlib.org.ua/

( ), Cseq,
ACKCANCEL,
.,,
, CSeq
.,
.
CSeq.
232, ,
136
.,
.

.,,31
32
.
UAC remote target route set RequestURI
Route . UAC
remotetarget RequestURI, Route .
URI lr, UAC
remotetargetRequestURI
Route, .
URI
lr, UAC URI RequestURI,
. Route,
. remote target
Route.
, remotetargetsip:user@remoteuarouteset:
<sip:proxy1>,<sip:proxy2>,<sip:proxy3;lr>,<sip:proxy4> ,
RequestURIRoute:

RequestURIsip:proxy1
Route:<sip:proxy2>,<sip:proxy3;lr>,<sip:proxy4>,<sip:user@remoteua>

URI lr,
,
RequestURI Route .
strictrouter.RequestURI
Route , , strict
router.
UAC Contact ,

http://openlib.org.ua/

,
remotetargetUA.
,secureTRUE,SIPSURI.
,
,(.2.1.1.1).
,
Route ,RequestURI, Route
.

UAC .
,
408(RequestTimeout). UAC 3
,(2.1.1.2).UAC2
, remote target, remote target URI
Contact.481(Call/Transaction Does
Not Exist)408(RequestTimeout), UAC.UAC
,.

UAS
UAS . To
tag, UAS ,
. UAS
,
,(.2.1.2.1).To
tag, ,
, UAS ,
, , UAS.
. UAS, tag
To,.,
tagTo,,
.
,
(, OPTION). ,
.
UAS,

http://openlib.org.ua/

CSeq .
, ,
,;500
(ServerInternalError).
CSeq ., UAS
CSeq,,
.
CSeq
.
,
.UAC,
. CSeq. UAS
.
.
UAS,,
remotetargetURIContact.

2.3.1.3
,
2, , ,
,.
BYE(.2.8.3).

2.3.2
SIP,:
.
(
).INVITE(INVITE
),ACK,,
2; ACK INVITE.
UAC 200 (OK)
INVITE. 200, UAS
, UAC
ACK.

http://openlib.org.ua/

,
.
,.
(stateful). 2.11,
, UAC ,
.
, .
,
UAS.

UAC

UAS

2.11.
,
. UA
UA
.,
( TransactionUser(TU);
UA)
.
TU,,,(,
ACK).,INVITE
ACK
2.
SIPTU.
.TU
SIP ; INVITE,
ACK,2.
2 ACK .2
UA, ACK

http://openlib.org.ua/

. ,
, . (
) 2 ,
ACK,UA,.
2INVITE
ACK.
2.3.2.1
(TU)
. TU ,
SIP,,IP,
,.

, TU.
INVITE ( INVITE).
, INVITE ACK ( INVITE
).ACK:TU
( 2
INVITE), SIP
.
INVITE
:
( 2) .

(threeway handshake). . TU
INVITE,
,.

INVITE
INVITE .
, ,
ACK.
(, UDP)
T1,.
T1 ..
(RTT),T1500.
T1,,T1.
.

http://openlib.org.ua/

( 1) ,
.
1,().
.
,
.
ACK,.
INVITE

()INVITE.
2.12. Calling , TU
INVITE.
SIP .
,
A T1. ( A
).
64 T1
(
INVITE).,
, SIP,,
2 T1.,
,.
,Calling.
,1500.T1RTT
.SIP,T1
, . T1
,,RTT(roundtriptime)
.
Calling,
, TU
.64 T1
.
, Calling,
, Proceeding.
.,
TU.
,Proceeding.
300699
Completed. TU

http://openlib.org.ua/

, ACK SIP. ACK


, ,
. Completed D
320
.,
Completed,. D
H INVITE , 64 T1.
T1,
,D32.
,
Completed,ACK,
TU.

http://openlib.org.ua/

INVITETU

INVITE

,
INVITE

TU

Calling

2TU

300699

ACK,
TU

1TU

1TU

Proceeding

2TU

300699

ACK,
TU
300699

ACK

Completed

TU

Terminated
.2.12INVITE.
D
Terminated. 2 Calling Proceeding
Terminated,
TU., TU:
. UAC
ACK ,200
(OK).

Terminated. ,

http://openlib.org.ua/

. , 2 INVITE .
2(,
) UAC (,).
.,SIP
,
TU.2,
2.
ACK

ACK,
.UAC,ACK2,,
2.3.1. ACK,
, CallID, From,
RequestURI,,,
(
INVITE). To
,,
tag. ACK Via,
Via . CSeq
,,ACK.
, INVITE,,
Route,ACK.,
ACK
(stateless).
, ACK .
,, ACK ,
.
ACK , 2, ,
,INVITE,,
415.,415,ACK
,Accept..

INVITEsip:vladimir@protei.ruSIP/2.0
Via:SIP/2.0/UDPpc33.niits.ru;branch=z9hG4bKkjshdyff
To:Vladimir<sip:vladimir@protei.ru>
From:Anton<sip:anton@niits.ru>;tag=88sja8x

http://openlib.org.ua/

MaxForwards:70
CallID:987asjd97y7atg
CSeq:986759INVITE
ACK , 2
ACKsip:vladimir@protei.ruSIP/2.0
Via:SIP/2.0/UDPpc33.niits.ru;branch=z9hG4bKkjshdyff
To:Vladimir<sip:vladimir@protei.ru>;tag=99sa0xk
From:Anton<sip:anton@niits.ru>;tag=88sja8x
MaxForwards:70
CallID:987asjd97y7atg
CSeq:986759ACK

INVITE
INVITEACK.
.
T1,
2.,,
T2.
/
.
,
.

INVITE

()INVITE
.2.13. CTrying, TU
.F64 1.
SIP.
E T1.
,,
MIN(2 T1,T2).

http://openlib.org.ua/

MIN(4 T1, T2). ,


;
T2.24.
INVITE,
.12
:500,1,2,4,4,4..
FTU
Terminated.
Trying, TU,
Proceeding.
(200699)Trying, TU,
Completed.
Proceeding,
SIP,T2.
F Proceeding TU
Terminated.
(200699)Proceeding,TU,
Completed.
Completed,
40.
Completed,

. 4 ,
.
4 5 . ,
. K,
Terminated.
,.

http://openlib.org.ua/

TU

Trying

TU
200699

TU

1TU
F

TU

Proceeding

1TU

200699

TU

Completed

TU

Terminated
.2.13INVITE

, ,

http://openlib.org.ua/

.,
, . branch
Via.:
1. Via branch,
,.
2. CSeq ,
. , CANCEL
, branch, ..
.

.
branch Via,tag To.
, , ,
,.

SIP,SIP
,.
TUTerminated.

2.3.2.2
TU.
.
,
.
.

INVITE
() INVITE .
2.14. ,
Proceeding. 100(Trying),
, TU
200 . ,
.

http://openlib.org.ua/

TU.
TU.
Proceeding,
SIP. ..
,
..
,
SIPTU.
, ,
.
TU Proceeding
2,
SIP . 2
, TU.
Terminated.TU 300699
SIP,Completed.
GT1.
,Completed,
H64T1.H,
.
B,,
. G,
SIP , G MIN(2T1,T2).
G
; , T2;
2. , Completed
, SIP
.
ACK
Confirmed.G,
.
H Completed, ACK
;TerminatedTU
.
Confirmed ACK
., I
4 ,
0 . I
Terminated.
Terminated.
,

http://openlib.org.ua/

2INVITE.

INVITE

INVITETU,
100,TU
200

INVITE

101199TU

Proceeding

TU
300699TU


INVITE

2TU

Completed
H
ACK

TU

Confirmed

TU

Terminated

.2.14CINVITE

http://openlib.org.ua/

INVITE
()INVITE.
2.15. ( INVITE ACK)
Trying. TU,
(,).
TU ,
Proceeding. SIP
.
TU.
Proceeding SIP
, . Completed
TU ( 200699),
SIP.
CompletedJ64T1
0.
SIP
,.
, TU Completed,.
,J;
Terminated.
.

http://openlib.org.ua/

TU
200699TU

Trying

1TU

1TU

Proceeding

TU

200699TU

ompleted

TU

Terminated

.2.15INVITE

http://openlib.org.ua/

,
..branch
Via.
"z9hG4bK" (magic cookie), ,
SIPv2.0.,branch
,.
,:
1. branch
Via,.
2. Via
Via,.
3. , ,
ACK,,,INVITE.
INVITE,INVITE.
Via

branch:
.
Viabranchmagic
cookie, ; ,
.
INVITE , RequestURI,
tag To From, CallID, CSeq Via
INVITE, .
INVITE.
ACK , RequestURI, tag
From, CallID, CSeq
ViaINVITE,,
tagTotagTo,
.tag To
ACK 2 ACK
.
,,
RequestURI, tag To From, CallID, CSeq

http://openlib.org.ua/

Via,.

T1
T2

500()
4

T4

5c

=1

64*T1

>3

D
E

32UDP
0TCP/SCTP
=1

RTT()

INVITE
INVITE
,

INVITE
(UDP)

INVITE.

INVITE

64*T1

=1

H
I

INVIITE
(UDP)

INVITE

INVITE
ACK

ACK

INVITE

64*T1
4UDP
0TCP/SCTP
J
64*T1UDP
0TCP/SCTP
K
T4UDP
0TCP/SCTP
INVITE.

2.11SIP

2.3.2.3SDL
INVITE

http://openlib.org.ua/

S0

(TU)

Idle
INVITE

B
T=64*T1

INVITE
TCP
S1

UDP
A
T=T1

Calling

D:=0

S1

Calling

.2.16.Calling.

(TU)

S1

SIP

INVITE

D<6

A
D
T=2*T1

SIP

S1

300699

ACK

300699

D:=D+1

S1

Calling

S2

Proceeding

S4

Calling

Terminated

S3

Calling

1.2
SIPTU.

ACKUA.2
.

Completed

.2.17.Proceeding.

http://openlib.org.ua/


(TU)

S2

SIP

Proceeding

300699

ACK

300699

S2

Proceeding

S4

Terminated

S3

Completed

.2.18.Completed.

(TU)

S4

S3

SIP

Compleeted

SIP

300699

ACK

Terminated

S3

Completed

S4

Terminated

.2.19.Terminated.
:
S0Idle
S1CallingINVITE,
.
S2Proceeding1,
INVITE,.
S3Completed
300699,ACK.
S4Terminated.

http://openlib.org.ua/

INVITE
S0

(TU)

SIP

Idle

F
T=64*T1

TCP
S1

UDP
E
T=T1

Trying

D:=0

S1

Trying

.2.20.Trying.

(TU)

S1

SIP

D:=D+1

200699

200699

S2

Proceeding

E
D
T=MIN(2*T1,T2)
S1

SIP

Trying

S4

Trying

Terminated

S3

Completed

.2.21.Proceeding.

http://openlib.org.ua/


(TU)

S2

SIP

Proceeding

SIP

E
T=T2

200699

200699

S2

Proceeding

S2

Proceeding

S4

Terminated

S3

Completed

.2.22.Completed.

(TU)

200699

S3

SIP

Compleeted

200699
S3

S4

Terminated

Completed

.2.23.Terminated.
:
S0Idle
S1Trying,
.
S2Proceeding1,
,.
S3Completed
200699.
S4Terminated.

http://openlib.org.ua/

INVITE
S0

SIP

(TU)

Idle
INVITE
INVITE

TU200

1
S1

Proceeding

SIP

300699

300699

T=64*T1
TCP
S2

Completed

INVITE

101199

101199

S1

S4

Terminated

Proceeding

UDP
G
T=T1

D:=0

S2

1.2
TUSIP.TU
ACK
SIP.
2.INVITE
1,
TU.

Completed

.2.24.Proceeding.

http://openlib.org.ua/

S2

SIP

300699

SIP

(TU)

Completed

D:=D+1

INVITE

ACK

ACK

S2

ompleted

G
T=MIN(2*T1,T2)

S4

S2

Terminated

Completed

S3

Comfirmed

.2.25.Completed.

SIP

ACK

S3

(TU)

Confirmed

ACK300699

I
c

S3

Confirmed

S4

Terminated

.2.26.Confiimed.
S0Idle
S1ProceedingINVITE,
.
S2Completed
300699,ACK.
S3ConfirmedACK
300699.
S4Terminated.
INVITE

http://openlib.org.ua/


SIP

S0

(TU)

Idle

S1

Trying

200699

101199

200699

101199

Completed

Proceeding

S3

S2

.2.27.Proceeding.
S0Idle
S1Trying,
.
S2ProceedingTU1,
.
S3Completed
,200699.
S4Terminated.

SIP

200699

200699

J=64*T1

S2

Proceeding

SIP

S4

Terminated

(TU)

101199

101199

S2

Proceeding

S3

Completed

1.INVITE
1,
TU.

.2.28.Completed.

http://openlib.org.ua/


SIP

S4

S3

(TU)

Compleeted

SIP

200699

Terminated

S3

Completed

S4

Terminated

.2.29.Terminated.

2.3.3
,
(), .
SIP,
, ,

.
(location server),
.
,,
sip:anton@niits.ru,,
,sip:anton@serv1.niits.ru.,
()
,.

,(binding)
URI(addressofrecord)
. , ,
RequestURI ,
, ,
.
,
.
,URI.

.SIP
. .

http://openlib.org.ua/

REGISTER ,
(registrar). REGISTER
,
. ,
, ,
.
.2.16.,
.
., UAS
,
.
Anton
UA

loniis.ru
registrar

1.REGISTER

wstation234

UA

2.

4.

3.INVITE
alexander@loniis.ru

sip.loniis.ru

5.

6.INVITE
alexander@wstation234.loniis.ru

Alexander

.2.30.
SIP
.
,
. Registrar
SIP.

2.3.3.1 REGISTER
REGISTER ,
. REGISTER
().

http://openlib.org.ua/

(
,,
).
,,
REGISTER ,,
UAC.
REGISTER . UAC
REGISTER Route, .
RecordRoute
.,UAC
(route set) RecordRoute
REGISTER.
REGISTER:

RequestURI

RequestURI ,
( , sip:niits.ru). userinfo (
)@SIP.

To

To ,
. To RequestURI , ..
.SIP,SIPSURI.

From

From , .
To,,
.

CallID

UAC
CallIDregistrar.

CSeq

CSeq REGISTER.
CSeq REGISTER

http://openlib.org.ua/

CallID.

Contact

REGISTER Contact,
.
(,
Contact),

REGISTER.
actionexpires Contact REGISTER
.
ction
action.
,
,
, UA. , UAC
.SIP
.
expires

().
. ,
Expires. (232 1) (4294967295
136),(232 1).
3600.


REGISTER, ,
(), SIP
. To . Contact
SIP SIPS URI, SIP (
, sip:anton@serv1.niits.ru),
URI. UA ( URI tel)

http://openlib.org.ua/

( URI mailto)
.
,Vladimirsip:vladimir@protei.ru
c protei.ru.

,Vladimir,.
,,

.2REGISTERContact
,.
To REGISTER SIPS URI,
Contact SIPS URI.
SIPSURISIPSURI,
,,.
URI,,SIP,SIP
,,TLS.

REGISTER,
( registrar
).
:ExpiresexpiresContact.
,
REGISTER,
,
Contact expires.
,,
.

REGISTER Contact,
, UA, ,
To.Contact
q.q
Contact

http://openlib.org.ua/



, .
, ,
.UA
, ,
REGISTER.
,
.
Contact *
,,
Expires 0. *
ContactUA,,
.

UA ,.
, UA. 2 registrar
Contact ,
. UA
.,UA
expires
Expires.UAREGISTER,
;
REGISTER.
UA CallID
.,
,.

registrar
UA ,

http://openlib.org.ua/

: ,
,.
UAregistrar.UA
registrar,UA,@
; RequestURI , SIP
,"SIP:LocatingSIPServers",
RFC3263.
, UA sip:vladimir@protei.ru
REGISTERsip:protei.ru.
UA
.
. .
UAC.


, REGISTER ,
, UAC ,
UAC.
, REGISTER, UAC
REGISTER registrar;
.
.
UA423(IntervalTooBrief),
,
REGISTER
MinExpires.

2.3.3.2 REGISTER
Registrar UAS, REGISTER
, ,
. Registrar
,UAS,REGISTER.Registrar
6.
REGISTER RecordRoute, registrar
( REGISTER,
,RecordRoute).
RecordRoute

http://openlib.org.ua/

REGISTER.
Registrar REGISTER .
REGISTER..,
.
.
REGISTER
:
1. Registrar RequestURI,
, RequestURI. , RequestURI
,registrar,

.

2. UAS,registrar
Require ,
.
3. Registrar UAC. SIP
2.6.
SIP.
, registrar From
.
4. Registrar ,
. ,
,
,
.,registrar
403(Forbidden).
5. registrarTo.
,RequestURI,registrar404(NotFound)
.,
escaped (% +
) .
,,
.

http://openlib.org.ua/

6. RegistrarContact.,
REGISTER (. 8). Contact
,registrar,Contact
*, Expires.
Contact ,
,400(InvalidRequest)
. registrar CallID
,.,;
, CSeq
,.
.
7. RegistrarContact.
,:

expires,
.

expires , Expired,

.

expires,Expires
,.

Registrar
.,
, ,
registrar 423(IntervalTooBrief).
MinExpires,
..

.followmeservice,
. registrar
;
, ,
registrar.
registrar,
URI. ,

http://openlib.org.ua/

, CallID. CallID
, ,
,,.,
CallID , registrar CSeq:
,,
.
.CallIDCSeq.

,
.,500(Server
Error),.
8. Registrar 200(OK).Contact
.
expires, ,
registrar.Date.

Vladimir.
.2.17., ,
,.

protei.ru

Vladimir

REGISTER(1)
200OK(2)

.2.31
REGISTER(1)
REGISTERsip:registrar.protei.ruSIP/2.0
Via:SIP/2.0/UDPserv3.protei.ru:5060;branch=z9hG4bKnashds7
MaxForwards:70
To:Bob<sip:vladimir@protei.ru>

http://openlib.org.ua/

From:Bob<sip:vladimir@protei.ru>;tag=456248
CallID:843817637684230@998sdasdh09
CSeq:1826REGISTER
Contact:<sip:vladimir@192.0.2.4>
Expires:7200
ContentLength:0

.Registrar200(OK):
200(OK)(2)
SIP/2.0200OK
Via:SIP/2.0/UDPserv3.protei.ru:5060;branch=z9hG4bKnashds7
;received=192.0.2.4
To:Bob<sip:vladimir@protei.ru>;tag=2493k59kd
From:Bob<sip:vladimir@protei.ru>;tag=456248
CallID:843817637684230@998sdasdh09
CSeq:1826REGISTER
Contact:<sip:vladimir@192.0.2.4>
Expires:7200
ContentLength:0

2.3.4
SIPOPTIONSUA
.
,,
,,,.,
,INVITERequire,optiontag
,UA
,OPTIONS.Supported
optiontag,UAS.OPTIONS
UA.
OPTIONSRequestURI.
OPTIONS,URIRequestURI
RequestURIREGISTER.

http://openlib.org.ua/

,OPTIONS
MaxForwards0,,,
RequestURI.
HTTP/1.1;(traceroute
HTTP)UA
OPTIONSMaxForwards,
.
OPTIONS,
TU
.,
.
OPTIONS
UA,
.

Anton

Vladimir
OPTIONS
200(OK)

.2.32
2.3.4.1 OPTIONS
OPTIONS
UAC.ContactOPTIONS.
Accept,,
UAC.application/sdp,
.
,
RequestURI,,,
OPTIONS,,OPTIONS
.OPTIONS:

OPTIONSsip:alexander@loniis.ruSIP/2.0
Via:SIP/2.0/UDPpc33.niits.tu;branch=z9hG4bKhjhs8ass877

http://openlib.org.ua/

MaxForwards:70
To:<sip:alexander@loniis.ru>
From:Anton<sip:anton@niits.ru>;tag=1928301774
CallID:a84b4c76e66710
CSeq:63104OPTIONS
Contact:<sip:anton@pc33.niits.ru>
Accept:application/sdp
ContentLength:0

2.3.4.2 OPTIONS
OPTIONS
UASSIP.,
INVITE..200(OK)UAS,486(BusyHere)
UAS..OPTIONS
UASOPTIONS,UAS
INVITE.
OPTIONS,,
200(OK),,,
.
,INVITE,OPTIONS
,
200(OK)(INVITE
).,INVITE
,
.
OPTIONS,
200(OK),.
.
200(OK)OPTIONSAllow,Accept,
AcceptEncoding,AcceptLanguage,Supported.,
Allow,,
.Contact200(OK);
,3,..,
.
Warning.,
AcceptOPTIONS(
Acceptapplication/sdp).
AcceptOPTIONS,
,UAS
.
UASOPTIONS().
SIP/2.0200OK
Via:SIP/2.0/UDPpc33.niits.ru;branch=z9hG4bKhjhs8ass877
;received=192.0.2.4

http://openlib.org.ua/

To:<sip:alexander@loniis.ru>;tag=93810874
From:Alice<sip:anton@niits.ru>;tag=1928301774
CallID:a84b4c76e66710
CSeq:63104OPTIONS
Contact:<sip:alexander@loniis.ru>
Contact:<mailto:alexander@loniis.ru>
Allow:INVITE,ACK,CANCEL,OPTIONS,BYE
Accept:application/sdp
AcceptEncoding:gzip
AcceptLanguage:en
Supported:100rel
ContentType:application/sdp
ContentLength:274

2.3.5
CANCEL,,,
.UAS
.CANCEL
,UAS.
,
.CANCEL
INVITE,.
UAS,CANCELINVITE,,
INVITE
(487).
CANCEL,
.2.3.2.UAC
INVITE,2.4.1.CANCEL.
2.3.5.1.
CANCELINVITE.
,CANCELINVITE
,
,CANCEL.
CANCEL.
RequestURI,CallID,To,CSeqFromCANCEL
,tag.CANCEL,
,Via,
Via.
CANCEL.,
CSeqCANCEL.,
,.

http://openlib.org.ua/

Route,CANCEL
.,stateless
CANCEL.
CANCELRequireProxyRequire.
CANCEL,
().
,CANCEL;,
,CANCEL.
,CANCEL,
,.
CANCEL,
,
.,CANCEL
,.
CANCEL,
CANCEL.
,,,CANCEL
.,UAC,
487(RequestTerminated),UAS,
,
.64*T1
,
.

2.3.5.2
CANCELTU.
,TUCANCEL,
,2.3.2.2
.
CANCEL.Stateless
,stateful
CANCEL,UAS.
CANCEL2.4.1.8.
UASCANCEL
UAS,2.1.2.,CANCEL

,(,
Authorization).,
CANCELRequire.
UAS, ,
CANCEL, 481 (Call Leg/Transaction Does Not

http://openlib.org.ua/

Exist)CANCEL.,
UAS CANCEL ,
. , CANCEL
,
, .
UAS,
.INVITE,UAS
INVITE487(RequestTerminated).CANCEL
. ,
CANCEL ,
UAS 200 (OK). ,
2.1.2.2,,tagToCANCEL
tag To .
CANCEL..2.19
CANCEL.

INVITE(1)
180Ringing(2)

INVITE

CANCEL(3)
200OK(4)
487RequestTerminated(5)
ACK(6)

2.33

2.3.6.
(),
INVITE. INVITE .
UAS,
.UAS

http://openlib.org.ua/

.UAS
2xx (OK);
.,3xx,4xx,5xx
6xx. UAS
(1),UAC
.
UAC
22.,
INVITE ,
INVITE
(,OPTIONS).,UAC,
ACK.
ACK.
300699ACK
,2.3.2. 2
ACKUAC.
2INVITE,
UA, INVITE UA, 2.
2UA(
INVITE),.
.

INVITE. UA, INVITE, ACK,
CANCELBYE.

2.3.6.1. UAC

INVITE
INVITE
, 2.1.1.1.
.
INVITE Allow.,
.
Supported. ,
. Accept,
UA
.Accept

http://openlib.org.ua/

. UAC
Expires, .
, Expires INVITE, UAC
CANCEL. UAC
Subject,OrganizationUserAgent;,
INVITE.
UACINVITE.
, ContentDisposition
session. SIP / (offer/answer),
UA .
(, ), ( )
.UA
,,,,
. offer/answer
, INVITE
, .
offer/answerINVITE:

offer INVITE
UAS,(
2).

offer INVITE, answer


INVITE UAS.
(answer) ,
.UACanswer,

INVITE.

offerUAS,
,answerACK2.

answer offer UAC


offer,,
answerofferoffer,answer
.

, UAS answer offer,

http://openlib.org.ua/

offerINVITE.
, UAS offer
.
:
1. Offer INVITE answer 2(
1).
2. Offer2answerACK.
, INVITE,
.
Session Description Protocol (SDP) (RFC 2327),
,UA.
offer/answer
, ContentDisposition session.
, INVITE, ACK (, INVITE
(ContentDisposition:render),ACK(Content
Disposition:session)).
ContentDisposition ,
ContentType application/sdp
ContentDispositionsession,render.
INVITEUAC,,
.,
.

INVITE
UACINVITE,
. INVITE
,
(TU)408(RequestTimeout).

http://openlib.org.ua/


.INVITE,
.,

INVITE.,,
(, Allow
,
,).

3
Contact,,.
3UAC
.

4xx,5xx6xx

INVITE
2.4xx,5xx6xx Contact,
.
,2,,
, . , ,
2, Completed,
,
.

UAC 2
INVITE,,
.tagTo
.
2
, route set
RecordRoute 2 (
).
UAC ACK 2xx.
ACK,,
Seq ,
. CSeq
INVITE,

http://openlib.org.ua/

ACK. ACK ,
INVITE.
2 offer ( )
,,ACK
answer().offer2,
UAC answer ACK
BYE.
ACK ,
.
SIP,.,
ACK , UAC.
ACKSIP
,2.
2 INVITE, UAC
,BYE.

2.3.6.2. UAS

INVITE
UAS INVITE .
UAS(INVITE,
INVITE).
,, UAC
:
1. INVITE, Expires, UAS
, .

. , UAS
,487(RequestTerminated).
2.
, 2.3.1.2
(.2.3.7).

http://openlib.org.ua/

3. tagTo,
, , UAS
, ,
UAS.
,
INVITE,,
.
INVITE , UAS
offer .,
,INVITE.
,multicast
.UAS
,.,SDP
(sessionid)SDP,
,origin.,
,SDP
INVITE,, UAS INVITE,,
2.
INVITE ,, UAC
UAS offer. UAS
offer ,(
2).
UAS ,,
offer.
.

UAS,
UAC (,
, ).
101 199.
,
.UAS.
(dialogID).
UAS,INVITE,

http://openlib.org.ua/

,
.,
. , UAS
(100),
(..
).INVITE
,
,
(,IVR).

INVITE
UAS ,3.
300 (Multiple Choices), 301 (Moved Permanently) 302 (Moved Temporarily)
Contact,
.INVITE,
.

INVITE
,
.
486(BusyHere).UAS,
,600(Busy
Everywhere). , UAS
,600.
INVITE,.
UAS, offer, INVITE,
488(NotAcceptableHere).
Warning,.

INVITE
UAS 2,.

http://openlib.org.ua/

2 INVITE Allow Supported


Accept.UAC
, UAS ,.
INVITE offer, UAS answer, 2
answer.INVITEoffer,2offer
,UASoffer.
,INVITE.,
INVITE ,
SIP.,
SIP,
ACK. 2 SIP
,T1,
2(T122.3.2).
, ACK.
,.
2 ,
,UDP
. ,
2 UAS
,TCP.
2,64T1,ACK
, , .
BYE,2.3.8.

2.3.7.
INVITE
, offer/answer.2.3.1.,
, ,
(remote target).
.,
..
INVITE , . INVITE,
,reINVITE.
, reINVITE
, . ,
.

http://openlib.org.ua/

UAC
offer/answer,
INVITE, reINVITE. UAC,
,,, offer,
, INVITE
. , ,
.
, UAC reINVITE ;
reINVITE,(2),
offer.

SDP, ,
,.
To,From,CallID,CSeq,RequestURI
.
UACAlertInfo
alertContentDispositionreINVITE,UAS
reINVITE.
INVITE, reINVITE
, , .
, RequestURI
,.
,UACINVITE,
INVITE:
1. INVITE , TU
,CompletedTerminated,,
INVITE.
2. INVITE,TU,
Confirmed Terminated, ,
INVITE.
UA,INVITE,ACK
CANCEL INVITE. , UA
INVITE ,
INVITE,ACKCANCEL.

http://openlib.org.ua/

UA,2,reINVITE,
, reINVITE .
481 (Call/Transaction Does Not Exist) 408
(Request Timeout) reINVITE (
), UAC . UAC reINVITE
491, T,
.
1. UAC CallID , T
2,1410.
2. CallID UAC, T
0210
, UAC re
INVITE, . ,
,BYE,re
INVITE.
reINVITE ACK 2
reINVITE,INVITE.

UAS
UAS, INVITE ,
INVITE CSeq
,500(ServerInternalError)INVITE
RetryAfter010.
UAS, INVITE
INVITE,UAS,491(Request
Pending).
UAS reINVITE ,
,
,,., UAS
,
.
,UAS,
488(NotAcceptableHere) reINVITE.

http://openlib.org.ua/

Warning.
UAS 2
ACK,BYE.
UAS 180(Ringing) reINVITE,
UAC. UAS
AlertInfo , Content
Dispositionalert,reINVITE.
UAS, offer 2 ( , reINVITE
offer),offer,UAS,
offer,,"An
Offer/Answer Model with SDP",RFC3264 SDP...
, offer
, UA. UAS ,
,
, , UAC.
, UAC.
UAC, answer
BYE.

2.3.8.
,
SIP. .
INVITE,12 UAS
,,offer/answer,.,
. INVITE 2
,(),
. , 2
INVITE.
BYE .
UA,.
BYE,,. UA
BYE.UABYE
, , , UA
BYE .
UA BYE ,
ACK 2. SIP,
, , BYE

http://openlib.org.ua/

.
,2,INVITE
CANCEL. UAS 2
INVITE ( 487).
UAC ,
CANCEL.INVITE2(),,UAS
,CANCEL.
UAC , 2,
BYE.
,,
. UA
CANCEL,2
INVITE , BYE,
. UA
BYE.
ACK2BYE
SIPACK
.
,,403(Forbidden)
486(Busy Here), BYE
.

BYE
UAC
BYE,.
BYE,UACINVITE
. UAC ,
, ,
BYE . BYE UAC
481(Call/TransactionDoesNotExist)408(RequestTimeout)BYE
,UAC.
UAS

UAS BYE

http://openlib.org.ua/

UAS. UAS, BYE,


. , UAS
481 (Call/Transaction Does Not Exist) .
, UAC BYE tag
,UAS.
UAS, BYE ,
.UAS
. UAS
2.

2.4.
SIP SIP, SIP
SIP.
UAS.
,
.
,,.
SIP. , ,
, ,
.,,

. .
, SIP UAS
UAS.
, (stateful)
(stateless) .
.
, ,
..
,
.
( )
, . Stateful
,
,.,
SIP,.

(, TCP),

http://openlib.org.ua/

. ,
TCP ,
,
, . ,
,TU
,
.
Stateful stateless
,,
stateless (, 100).
.
stateless stateful .
stateful . ,
stateless,stateful.

2.4.1.

SIP.
,
,
. (. 2.20). .
.
,,
.

.2.34stateful.

http://openlib.org.ua/

,,
,
.
.
Stateful
.
. UAS
( 100 (Trying)).
, stateful 100(Trying)
INVITE.
, ,
:
1.
2.
3. ()
4.
5.
2.4.1.1
, ,
.:
1.
2. URI
3. MaxForwards

http://openlib.org.ua/

4. ()
5. ProxyRequire
6. ProxyAuthorization
,
.
,,
;.
,,(.2.1.2.1)
1.
,
.,
,.
, ,
. ,
, Date.,
.
SIP.
.
,
.
2. URI
RequestURI URI,,
,416(UnsupportedURIScheme).
3. MaxForwards
MaxForwards,SIP,
. MaxForwards,
MaxForwards,

http://openlib.org.ua/

. MaxForwards ,
.OPTIONS,
.
483(Toomanyhops).
4.
()
.Via,
,
,
,.,
,
. RequestURI
.
branch,(
), Via.
, ,
, , .
482(LoopDetected).

5. ProxyRequire
SIP
, .
ProxyRequire , ,
,.
ProxyRequire,
,420(BadExtension).
Unsupported, optiontag,
.
6. ProxyAuthorization
,
ProxyAuthorization;
407 (Proxy Authentication
Required).

http://openlib.org.ua/

2.4.1.2
RequestURI.,
,Request
URIRoute
Route(.2.4.4.2).
, . SIP,
, strictrouter (. ). ,
RequestURI
strictrouter.
RequestURImaddr,

.
, RequestURI,
maddr , ,
, ,
. , maddr,
,,
URI.
.
Route
,.

2.4.1.3
.
(targetset),
.
RequestURI maddr, RequestURI
,,
.RequestURI,
, .
,,
,.
, ( HTTP
, ) ,
.

http://openlib.org.ua/

, ,
, RequestURI,
, , .
.
,
, (presence server),
RequestURI.
RequestURI
.
(targetset).
RequestURI,
,485(Ambiguous).
,URI.,
INVITE,sip:vladimir@protei.ru,

Vladimir.
,
, . ,

,,,
,
.
,. URI
.
URI,RequestURI
,.
RequestURI ,
,RequestURI.
3xx
416,.
RequestURI,
,
.,
. ,
,3.
(
,SIP),
. ,
,

http://openlib.org.ua/

.
RequestURI,,
404(NotFound).
,
480(TemporarilyUnavailable).
2.4.1.4
,.Stateful
.
URI ,
.
URI .
,,.
,
q,Contact.
q .
,,.
Stateful

.(responsecontext,
.)..
,
:
1. .
2. RequestURI.
3. MaxForwards.

4. Recordroute.
5. .

6. .

http://openlib.org.ua/

7. ,.
8. Via.
9. ContentLength.
10. .
11. .

1.
.
,,
.
. ,
.
2. RequestURI
RequestURIURI
.URI,RequestURI,
. RequestURI
,.URI.
3. MaxForwards
MaxForwards,
.
70, UA
MaxForwards.

http://openlib.org.ua/

4. RecordRoute( )
, ,
,,
RecordRoute,
Route. , ,
Route.
,
RecordRoute,,
.
route set,.
,RecordRoute
, .
,.
RecordRoute.
,.

RecordRoute RecordRoute
.
URI, RecordRoute, SIP
SIPS URI. URI lr,,
,
RFC 3261. ,
. URI ,
, , , ,
,.
URI, , SIP
.
,
RecordRouteSIP:SIPURI
TCP UDP. URI, RecordRoute,
SIP ,,
.
RequestURI SIPS URI Route (
, .6) SIPS URI, ,
RecordRoute SIPS URI.,
TLS,Record
Route. , TLS,
, SIPS URI RequestURI Route
( , 6),
RecordRouteSIPSURI.

http://openlib.org.ua/

URI,RecordRoute,
. , ,
,URIRequestURI
.,,
, , ,
;(dialog ID)
, ,
.URI,
RecordRoute,.2.3.1
, ,
RecordRoute.
RecordRoute
,.
;
,
.
5.
.
6.
, ,
,
. ,
Route,
(RequestURI)
(Route).,
.
URI, lr. URI
Route
.Route,
URI.
,,
,
Route,10,
,,
. Route,
, ,
Route,.

http://openlib.org.ua/

Route
, , . ,
RequestURI SIPS URI TLS
.
Route, URI
.lr,
:

RequestURI
Route.

RouteRequestURI
Route.

RequestURI Route
RequestURI strictrouter.
RouteRequestURI
,strictrouter(URIRequest
URIURIRoute).

7. ,


IP,
Route RequestURI.,
, IP,
, Route.
;

Route.
,
SIP,(LocatingSIPServersRFC3263).
strictrouter
2.4.1.2,RequestURI.
,Route.
DNS

http://openlib.org.ua/

(,,).,URI
,RequestURISIPS,
,SIPSURI.

,,
.
,
,810.
,.
,branch,Via
,8,.

, ,
.,
,(targetset).
,,
408(RequestTimeout).
8. Via
Via
. ,
branch ,
magiccookie.
, , ,
,
branch.branch,
. ,
2.1.1.1.,.
,
, ( ,
).,branch,
(Route,ProxyRequireProxyAuthorization).
,
,,.

tag To From,CallID, RequestURI
(),Via
Cseq.
ProxyRequire ProxyAuthorization .
, ,

http://openlib.org.ua/

,MD5(RFC1321),
.
, branch,
,,,
RequestURI(),
.,,
(,
).
branch.,
CANCEL ACK , 2,
, , .
branch,
.
9. ContentLength

(,TCP),
ContentLength,
.
10.

Stateful
, ,
,7.
11. C

, INVITE
, TU .
, .
3 . 2.4.1.5 ,
, 2.4.1.6
.
2.4.1.5

http://openlib.org.ua/

, . ,
()stateless.
,.,
( ,
).,,
2INVITE.
,
.
1.
2. .
3. Via.
4. .
5. .
6. .
,,,
,
,.
.
7. Authorization().
8. RecordRoute().
9. .

http://openlib.org.ua/

10. CANCEL.

1.
,
..
2.
INVITE101199
, C
.,3.
3. Via
Via.Via
,
. , ,
, UAC
(SIP).
4.
.
,
. ,
.
,
Contact 3,(targetset),
3.
RequestURI SIPS URI,
,sips.
,
3, ,
.

http://openlib.org.ua/

SIP,
.
3 SIP, SIPS SIP URI.
sipsips
; ,
.
416(UnsupportedURIScheme),
RequestURI , sip,
sip sips (..
),URI(targetset).URI
RequestURI ,
sip.tel
tel URL SIP URI SIP
URI,.
3SIP
SIPS URI,416,
.
5.

,:

,100(Trying)

6, ,
stateful
.
CANCEL,
487
,6.

2INVITE.
Stateful .
,42.4.1.5.
.

http://openlib.org.ua/

,,,
78.
,,,stateful
INVITE2
2INVITE.
6.
Stateful,
,
,,
. Stateful
,.
,
408(RequestTimeout).
,.
6,.
,,
.
, ,
,401,407,415,420484,4.
, 503 (Service Unavailable),
,,,
, 503.
,503,
,,RequestURI,
503.503,
500(ServerInternalError).
,4
503(ServiceUnavailable),407(ProxyAuthenticationRequired),501(NotImplemented),404
(NotFound),407.
,78.
12.
tagTo,UACtag
,,.
tagTo12,
.tag
To12.
tagTo1

http://openlib.org.ua/

, tag,
100 (Trying) ( 101199
tag To).
. UAS ,
.
36,(hop
byhop). UAS,
;,,
. tag To
36,tag.
tag ,
tagTo.
,SIP,,
tag To 36,
tag.

, tag To
, tag To
. , ,
401(Unauthorized)407(ProxyAuthenticationRequired)
Contact3.
7. Authorization
401 (Unauthorized) 407 (Proxy Authentication
Required), WWWAuthenticate
ProxyAuthenticate 401 (Unauthorized) 407 (Proxy
Authentication Required), ,
. 401 407
WWWAuthenticateProxyAuthenticate.
,,,
. ,
.
8. RecordRoute
RecordRoute,
,
. SIP

http://openlib.org.ua/

,
.
TLS,TLS,
URI RecordRoute , SIPS URI.
TLS TLS,
URIRecordRoute,SIPURI.
URI, ,
, RecordRoute (4
2.4.1.4) : URI transport
,,eSIP,
,.
RecordRoute,
,RecordRoute,
.
RecordRoute ,
.
, , URI
, . ,
RecordRoute,
URI.
RecordRoute
, RecordRoute.
RecordRoute,,.
9.
,.
,,
Via, 3 2.4.1.5. ,
received,
Via,.
,.
,Via.
,
(statelessly),
SIP.

..
,
,.

http://openlib.org.ua/

10. CANCEL
,
CANCEL ,
.,
6.,
,( Proceeding)
CANCEL.CANCEL
2.3.5.

,200(OK)INVITE.
200(OK),CANCEL
.

2.4.1.6
,
,.
, CANCEL,
.
,408(RequestTimeout).

,,.

2.4.1.7 SIP
SIP ,
(.2.10.4),,
503 (Service Unavailable).
,.
,
,.

2.4.1.8 CANCEL

http://openlib.org.ua/

Stateful CANCEL ,
.
,,CANCEL.
Stateful CANCEL INVITE
,
Expires INVITE. , ,
, ,
.
CANCEL stateful
, . ,
,
CANCEL. ,
200 (OK) CANCEL.
UAS,
2.1.2. , CANCEL
,,
2.4.1.5,10.
,,
CANCEL.
(,,,
).

2.4.2.

.,stateful
stateless..
stateless
,stateful.
stateless
SIP(2.10.).
,.
,;
,stateless.,

100(Trying).

http://openlib.org.ua/

Stateless,
2.4.1.1.
Stateless,2.4.1.2
2.4.1.3.:

Statelesstargetset.
,
.,
.,ACK,
Route,CANCEL
,INVITE.

Stateless,2.4.1.4
:
,branch
stateless.,stateless
,
branch,82.4.1.4.
,
,stateless
.,branch,
,,
statelessbranch
,.
Stateless,
branch
.,.
branchVia.
,magiccookie,
branch
branch.
branchVia,
tagToFrom,CallID,
CSeqRequestURI.
.
,2.4.1.4,
.,
RecordRoute
Route,.
branchVia,
,
.

http://openlib.org.ua/

Stateless,,
stateful102.4.1.4.
SIP,
.
stateless
branch
,
.
(,
),,,
,
.
.
.

StatelessCANCEL.
,.
,RouteCANCEL,
.
,2.4.1.5.,,
.stateless
,Via.
,
,,
Via.,
.,
.,
.

2.4.3 RouteRequestURI
,,Route,
.
1. RequestURI.,
,URI,
.
RequestURI.
2. URIRoute.URI
,Route.

http://openlib.org.ua/

3. ,
RouteRequestURIRoute.
,
URI
(LocatingSIPServersRFC3263).
strictrouter,RequestURI
URI.

2.4.4
2.4.4.1

P1

P2

U1

U1

U2

P1
INVITE

200OK

200OK

P2
INVITE

200OK

U2

INVITE
200OK

200OK

BYE

BYE

BYE

BYE

BYE

.2.35.

http://openlib.org.ua/

:
U1>P1>P2>U2,
RecordRoute.
U1(1)P1:
INVITEsip:vladimir@protei.ruSIP/2.0
Contact:sip:anton@u1.niits.ru

P1 . P1 protei.ru,
, protei.ru DNS
.RecordRoute.
INVITEsip:vladimir@protei.ruSIP/2.0
Contact:sip:anton@u1.niits.ru
RecordRoute:<sip:p1.niits.ru;lr>

P2(). protei.ru,

RequestURI. RecordRoute. Route
,RequestURI,:
INVITEsip:vladimir@u2.protei.ruSIP/2.0
Contact:sip:anton@u1.niits.ru
RecordRoute:<sip:p2.protei.ru;lr>
RecordRoute:<sip:p1.niits.ru;lr>

Vladimiru2.protei.ru
200(OK):
SIP/2.0200OK
Contact:sip:vladimir@u2.protei.ru
RecordRoute:<sip:p2.protei.ru;lr>
RecordRoute:<sip:p1.niits.ru;lr>

http://openlib.org.ua/

U2remotetarget
sip:anton@u1.niits.ru, route set
<sip:p2.protei.ru;lr>,<sip:p1.niits.ru;lr>.
211.
UAremotetargetsip:vladimir@u2.protei.ru,
routeset
<sip:p1.niits.ru;lr>,<sip:p2.protei.ru;lr>
route set lr, U1
BYE:
BYEsip:vladimir@u2.protei.ruSIP/2.0
Route:<sip:p1.niits.ru;lr>,<sip:p2.protei.ru;lr>

, SIP ( ), U1
URI Route DNS,
, . P1. P1
,,RequestURI,
.,
Route,P2:

BYEsip:vladimir@u2.protei.ruSIP/2.0
Route:<sip:p2.protei.ru;lr>

P2,,RequestURI(
protei.ru,u2.protei.ru),.
Route,
u2.protei.ru DNS
RequestURI:
BYEsip:vladimir@u2.protei.ruSIP/2.0

2.4.4.2 strictrouter

http://openlib.org.ua/

4,
RecordRoute.strictrouter.

strictrouter

P1

P2

P3

U1

P4

U2

.2.36strictrouter
INVITE,U2,:
INVITEsip:vladimir@u2.protei.ruSIP/2.0
Contact:sip:anton@u1.niits.ru
RecordRoute:<sip:p4.protei.ru;lr>
RecordRoute:<sip:p3.loniis.ru>
RecordRoute:<sip:p2.niits.ru;lr>
RecordRoute:<sip:p1.niits.ru;lr>

http://openlib.org.ua/

U2200(OK).U2BYE4
Route.
BYEsip:anton@u1.niits.ruSIP/2.0
Route:<sip:p4.protei.ru;lr>
Route:<sip:p3.loniis.ru>
Route:<sip:p2.niits.ru;lr>
Route:<sip:p1.niits.ru;lr>

P4, RequestURI,.
,Route
.
Route sip:p3.loniis.ru, , URI
lr.
:
BYEsip:p3.loniis.ruSIP/2.0
Route:<sip:p2.niits.ru;lr>
Route:<sip:p1.niits.ru;lr>
Route:<sip:anton@u1.niits.ru>

3strictrouter,2:
BYEsip:p2.niits.ru;lrSIP/2.0
Route:<sip:p1.niits.ru;lr>
Route:<sip:anton@u1.niits.ru>

P2 , RequestURI ,
RecordRoute.:
BYEsip:anton@u1.niits.ruSIP/2.0
Route:<sip:p1.niits.ru;lr>

P2u1.niits.ru,P1
Route.
P1 Route,
,:

http://openlib.org.ua/

BYEsip:anton@u1.niits.ruSIP/2.0

P1u1.niits.ruRoute,P1
u1.niits.ruRequestURI.

2.4.4.3
RecordRoute
U1 U2 ;
P1, ,
.

P1

U1

U2

.2.37
RecordRoute

http://openlib.org.ua/

U1:

INVITEsip:vladimir@gateway.niits.ruSIP/2.0
Contact:<sip:anton@u1.niits.ru>

P1U2:
INVITEsip:vladimir@protei.ruSIP/2.0
Contact:<sip:anton@u1.niits.ru>
RecordRoute:<sip:gateway.protei.ru;lr>

U2P1200(OK):
SIP/2.0200OK
Contact:<sip:vladimir@u2.protei.ru>
RecordRoute:<sip:gateway.protei.ru;lr>

P1 RecordRoute, ,
U1,U1:
SIP/2.0200OK
Contact:<sip:vladimir@u2.protei.ru>
RecordRoute:<sip:gateway.niits.ru;lr>

U1P1BYE:
BYEsip:vladimir@u2.protei.ruSIP/2.0
Route:<sip:gateway.niits.ru;lr>

P1U2:
BYEsip:vladimir@u2.protei.ruSIP/2.0

http://openlib.org.ua/

2.5.

,,
,.
,
.,,
,,,().

,
,URI
,,URI.
.
,CANCEL,,
,
;3.
CANCEL2.
SIP.
.
3Contact,
.
expires,.Contact

.,
301(MovedPermanently)302(MovedTemporarily),
,
,,multicast,
,UDPTCP,
.
URI,
,RequestURI,
.
,404(Notfound),
,.
ContactURI,
,SIP.
URI,,.Contact
,.,SIP,
,
,.
expiresContact,
.,.
,Expires.

http://openlib.org.ua/

3600.
,
,
optiontagRequire,
.

2.6. HTTP
SIP stateless
, HTTP.
,UA(,),
.
SIP
Digest.
SIPRFC3261Basic
. ,
Basic,
.
SIP UAS 401(Unauthorized) ,
UAC. , registrar
401 (Unauthorized),
,407(ProxyAuthentication
Required).

, .. ,
.realm,
. realm
:

realm . realm
.

realm
,.

:
INVITEsip:vladimir@protei.ruSIP/2.0

http://openlib.org.ua/

Authorization:Digestrealm="protei.ru",<...>
(usernames)
(passwords).,
anonymous .
, ,
, ,
.
UAC ,
realm, ,
UAC ,
.
,
SIP, ,
ACKCANCEL.
,
(, Digest),
, ;
ACK.INVITE,
,
ACK.,ACK,
AuthorizationProxyAuthorizationINVITE,
.
ACK.
,CANCEL,
,
.
,
.
,,,
,
403 (Forbidden). UAC
,.

2.6.1
UAS UAC,
.

http://openlib.org.ua/

Authorization , UAS
401
(Unauthorized).
401 (Unauthorized) WWW
Authenticate. ,
() ,
.WWWAuthenticate
401.
WWWAuthenticate:Digest
realm="protei.ru",
qop="auth,authint",
nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093",
opaque="5ccc069c403ebaf9f0171e9517f40e41"

UAC401(Unauthorized),,
,,
. UAC
. (
, , UA
, To
realm.
, UAC
,anonymous.
, UA, UAS
(,401(Unauthorized)),
,Authorization.
Authorization ,
,
, ,
. Authorization
(REGISTER,).
Authorization:Digestusername="anton",
realm="niits.ru",
nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093",
uri="sip:anton@niits.ru",
qop=auth,
nc=00000001,
cnonce="0a4f113b",

http://openlib.org.ua/

response="6629fae49393a05397450978507c4ef1",
opaque="5ccc069c403ebaf9f0171e9517f40e41"

, UAC ,
,
CSeq.

2.6.2
, UAC,
,
. Proxy
Authorization,
407(Proxy Authentication
Required). Proxy
Authenticate , ()
,
UAC , ProxyAuthorization
, ,
. UAC
407(ProxyAuthenticationRequired),,,,
.
realm,2.6.1
401.
, UAC
anonymous
.
UAC ,
.
CallID.
ProxyAuthorization,
realm.
,ProxyAuthorization,
realm.
UAC
.,,
.
WWWAuthenticate ProxyAuthenticate, ,
,

http://openlib.org.ua/

..
,407 UAC
, .
,,
, ,
, UAC .
UAC ,
, , ,
.
, UAC
Authorization WWW
AuthenticateProxyAuthorizationProxy
Authenticate.
realm.
,
, 401 (Unauthorized) 407 (Proxy
AuthenticationRequired).,,
, realm,
., UAC
Authorization Proxy
Authorization realm.
.

2.6.3 Digest
HTTP Digest,
SIP.SIP
HTTP. Digest
RFC 2617 "HTTP/1.1" "SIP/2.0"
:URISIP,SIPS;nonce
HTTP Etag;
,P.

.AntonVladimir
INVITE.UAS,
,Authorization
Anton401(Unauthorized).WWW
Authenticate,
Digest, realm, protei.ru
nonce. UAC ,

http://openlib.org.ua/

,, nonce ,
.
Authorization INVITE UAS. ,
.
,UAS.

INVITE(1)
401Unauthotized(2)
INVITE(3)

.2.38

,
.
WWWAuthenticate (challenge).
(Digest),
: realm, domain,nonce,opaque,stale,algorithm,
qop.realmnonce.

realm

, ,
(username)(password).,
,,.

domain

URI, .
URI,
. domain ,
,,
. domain Proxy
Authenticate,.

nonce

,,
401.
base64. nonce
. , nonce
.nonceAuthorization

http://openlib.org.ua/

;nonce
..nonce
(timestamp),
nonce.nonce.

opaque

,,
Authorization , URI,
. ,
base64.

stale

,,,
nonce . TRUE,

.staleTRUE
, , nonce,
(,).
FALSE, , TRUE, stale
,,/
.

algorithm

, .
MD5. ,
(
,
).

qop


RFC 2069. Qop , ,
quality of protection ( ), .
auth,auth
int.
Authorization .
(Digest) ,
: username, realm, nonce, uri,
response, algorithm,cnonce,opaque,qop,nc.
username, realm, nonce, uri, response. opaque algorithm
WWWAuthenticate . realm,
nonce,algorithm,opaque.

http://openlib.org.ua/

username

uri

URIRequestURI,RequestLine.URI
RequestURI
. SIP URI

response

, 32 , ,
.
:nonce,nc,cnonce,qop, uri,username,realm,
password.MD5.

qop

, .
,
WWWAuthenticate.
.

cnonce

cnonce , ,
,

. , qop,
,WWWAuthenticateqop.

nc

nc (nonce count) ( )
,
nonce,.,
nonce, ncnc=00000001.
(replayattack):
nc,
.,
qop,,WWWAuthenticateqop.
, ,
400(BadRequest).response,
,

http://openlib.org.ua/

,,,
.
DigestAuthenticationInfo.
AuthenticationInfo ,
, .
:nextnonce,qop,rspauth,cnonce,nc.
nextnonce.

nextnonce

nextnonce nonce,
. nextnonce
,nonce
.
nextnonce
Authorization,
"stale=TRUE".

qop

,.
,.

rspauth

rspauth
,
, authint qop
.
, ,
,.
uri,cnonce,ncAuthorization.
Digest
,,.
ProxyAuthenticate ProxyAuthorization.
ProxyAuthenticate ProxyAuthorization
WWWAuthenticate
Authorization.

2.7. S/MIME

http://openlib.org.ua/

SIP MIME,MIME
MIME
( multipart/signed application/pkcs7mime MIME
RFC 1847, RFC 2630, RFC 2633).
, (
SIP),SIP
(,SDP);MIME
,,
(firewalls).
SIP RFC 2543
PGP..

2.7.1S/MIME
SIP

. (
),
.
.
UA.

.
,
,
..
.
,
.

.,
, ,
.
,
S/MIME, , , ,
,
.SIPSIPSURI:userinfo
(),@domainname()(,anton@niits.ru);
.
, S/MIME,
,.

. , URI
( From),
.

http://openlib.org.ua/

, ,
, ,
.,
.
, (selfsigned
certificates).
SIP,
.

( ).
.
(
) ,
SIP.

2.7.2 S/MIME
SIP.
S/MIME ,
, ,
.
UAC ,
S/MIME,,
multipart/signed.
, UAC
,
.
UAS , ,
, UAS
. UAS ,
, From .
,UAS
.
,
, From ,
(),UAS
;
.
UAS , , ,
, S/MIME, UAC
,
multipart/signed.

http://openlib.org.ua/

,UAC
,.
UAC ,
S/MIME, , UAC
. UAC ,
To ;
,UA.
, ,
To,()
, UAC
. UAC UAS
, ,
S/MIME,.
, UA ,
From , UA
,,
., UA
( , ,
) ,
.
,
.

(selfsigned) ,
. , ,
.
UA,,
493 (Undecipherable).
(
, , To );
, smimetype
ContentType certsonly. 493 (Undecipherable)
,
S/MIME.
, ,
S/MIME ,handlingContentDisposition
required,,415(UnsupportedMediaType),
. , ,
,S/MIME.
S/MIME.
,415,
.
, S/MIME ,

http://openlib.org.ua/

, , UAC
,S/MIME.
,UA,S/MIME,,

,S/MIME.

, .
, ,
, ,
.
;
, (call back).
,,
,.
,
,
.
UA,
, , UA
, ,
.

2.7.3
S/MIME
application/pkcs7mime multipart/signed.
.
application/pkcs7mimemultipart/signed.
,,
.
application/pkcs7mime,
application/sdp.smimetypeContentType
envelopeddata, , . ,
(*),.

INVITEsip:vladimir@protei.ruSIP/2.0
Via:SIP/2.0/UDPpc33.niits.ru;branch=z9hG4bKnashds8
To:Vladimir<sip:vladimir@protei.ru>
From:Anton<sip:anton@niits.ru>tag=1928301774
CallID:a84b4c76e66710
CSeq:314159INVITE
MaxForwards:70
Contact:<sip:anton@pc33.niits.ru>
ContentType:application/pkcs7mime;smimetype=envelopeddata;

http://openlib.org.ua/

name=smime.p7m
ContentDisposition:attachment;filename=smime.p7m
handling=required
*******************************************************
*ContentType:application/sdp*
**
*v=0*
*o=anton536557652353687637INIP4pc33.niits.ru*
*s=*
*t=00*
*c=INIP4pc33.niits.ru*
*m=audio3456RTP/AVP01399*
*a=rtpmap:0PCMU/8000*
*******************************************************

application/sdp
multipart/signed.

INVITEsip:vladimir@protei.ruSIP/2.0
Via:SIP/2.0/UDPpc33.niits.ru;branch=z9hG4bKnashds8
To:Vladimir<vladimir@protei.ru>
From:Anton<anton@niits.ru>;tag=1928301774
CallID:a84b4c76e66710
CSeq:314159INVITE
MaxForwards:70
Contact:<sip:anton@pc33.niits.ru>
ContentType:multipart/signed;
protocol="application/pkcs7signature";
micalg=sha1;boundary=boundary42

boundary42
ContentType:application/sdp

v=0
o=anton28908445262890844526INIP4pc33.niits.ru
s=SessionSDP
c=INIP4pc33.niits.ru
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000
boundary42
ContentType:application/pkcs7signature;name=smime.p7s
ContentTransferEncoding:base64
ContentDisposition:attachment;filename=smime.p7s;
handling=required
ghyHhHUujhJhjH77n8HHGTrfvbnj756tbB9HG4VQpfyF467GhIGfHfYT6
4VQpfyF467GhIGfHfYT6jH77n8HHGghyHhHUujhJh756tbB9HGTrfvbnj
n8HHGTrfvhJhjH776tbB9HG4VQbnj7567GhIGfHfYT6ghyHhHUujpfyF4
7GhIGfHfYT64VQbnj756
boundary42

http://openlib.org.ua/

2.7.4 SIP S/MIME(SIP )


SIPS/MIME
SIPmessage/sip
,
SIP.SIP
,,
.
UAS,message/sip,
message/sip.
,
, message/sip
multipart/mixed.
2.7.4.1SIP
SIP S/MIME
SIP , ,
message/sip, .
, ,
.


.,
: Via,RecordRoute,Route,MaxForwards,ProxyAuthorization;
RequestURI.
, ,
.,
.
Date, UA, ,
.
(),
.
,
403(Forbidden),,
.
message/sip:

INVITEsip:vladimir@protei.ruSIP/2.0
Via:SIP/2.0/UDPpc33.niits.ru;branch=z9hG4bKnashds8
To:Vladimir<sip:vladimir@protei.ru>

http://openlib.org.ua/

From:Anton<sip:anton@niits.ru>;tag=1928301774
CallID:a84b4c76e66710
CSeq:314159INVITE
MaxForwards:70
Date:Fri,30Apr200413:02:03GMT
Contact:<sip:anton@pc33.niits.ru>
ContentType:multipart/signed;
protocol="application/pkcs7signature";
micalg=sha1;boundary=boundary42
ContentLength:568
boundary42
ContentType:message/sip
INVITEsip:vladimir@protei.ruSIP/2.0
Via:SIP/2.0/UDPpc33.niits.ru;branch=z9hG4bKnashds8
To:Vladimir<vladimir@protei.ru>
From:Anton<anton@niits.ru>;tag=1928301774
CallID:a84b4c76e66710
CSeq:314159INVITE
MaxForwards:70
Date:Fri,30Apr200413:02:03GMT
Contact:<sip:anton@pc33.niits.ru>
ContentType:application/sdp
ContentLength:147
v=0
o=anton28908445262890844526INIP4pc33.niits.ru
s=SessionSDP
c=INIP4pc33.niits.ru
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000
boundary42
ContentType:application/pkcs7signature;name=smime.p7s
ContentTransferEncoding:base64
ContentDisposition:attachment;filename=smime.p7s;
handling=required
ghyHhHUujhJhjH77n8HHGTrfvbnj756tbB9HG4VQpfyF467GhIGfHfYT6
4VQpfyF467GhIGfHfYT6jH77n8HHGghyHhHUujhJh756tbB9HGTrfvbnj
n8HHGTrfvhJhjH776tbB9HG4VQbnj7567GhIGfHfYT6ghyHhHUujpfyF4
7GhIGfHfYT64VQbnj756
boundary42

2.7.4.2
,
message/sip,
,
S/MIME,SDP.

http://openlib.org.ua/

.

. ,
From , ( ,
sip:anonymous@anonymizer.invalid). From,
,message/sip,
.
,,
message/sip .
multipart/signed,,
message/sip,,
application/pkcs7mime.
;,
(*),.

INVITEsip:vladimir@protei.ruSIP/2.0
Via:SIP/2.0/UDPpc33.niits.ru;branch=z9hG4bKnashds8
To:Vladimir<sip:vladimir@protei.ru>
From:Anonymous<sip:anonymous@niits.ru>;tag=1928301774
CallID:a84b4c76e66710
CSeq:314159INVITE
MaxForwards:70
Date:Thu,30Apr200413:02:03GMT
Contact:<sip:pc33.niits.ru>
ContentType:multipart/signed;
protocol="application/pkcs7signature";
micalg=sha1;boundary=boundary42
ContentLength:568
boundary42
ContentType:application/pkcs7mime;smimetype=envelopeddata;
name=smime.p7m
ContentTransferEncoding:base64
ContentDisposition:attachment;filename=smime.p7m
handling=required
ContentLength:231
***********************************************************
*ContentType:message/sip*
**
*INVITEsip:vladimir@protei.ruSIP/2.0*
*Via:SIP/2.0/UDPpc33.niits.ru;branch=z9hG4bKnashds8*
*To:Vladimir<vladimir@protei.ru>*
*From:Anton<anton@niits.ru>;tag=1928301774*
*CallID:a84b4c76e66710*
*CSeq:314159INVITE*
*MaxForwards:70*
*Date:Thu,30Apr200413:02:03GMT*
*Contact:<sip:anton@pc33.niits.ru>*
**
*ContentType:application/sdp*
**

http://openlib.org.ua/

*v=0*
*o=anton536557652353687637INIP4pc33.niits.ru*
*s=SessionSDP*
*t=00*
*c=INIP4pc33.niits.ru*
*m=audio3456RTP/AVP01399*
*a=rtpmap:0PCMU/8000*
***********************************************************
boundary42
ContentType:application/pkcs7signature;name=smime.p7s
ContentTransferEncoding:base64
ContentDisposition:attachment;filename=smime.p7s;
handling=required
ghyHhHUujhJhjH77n8HHGTrfvbnj756tbB9HG4VQpfyF467GhIGfHfYT6
4VQpfyF467GhIGfHfYT6jH77n8HHGghyHhHUujhJh756tbB9HGTrfvbnj
n8HHGTrfvhJhjH776tbB9HG4VQbnj7567GhIGfHfYT6ghyHhHUujpfyF4
7GhIGfHfYT64VQbnj756
boundary42

2.8
,,
SIP
.,
cSIP,
,.
SIP,
SIP,RTP,
,SIP.
,
SIP.,
,,
.,
,
SIP.

2.8.1
,
SIP.,
,SIP.
SIP;,

http://openlib.org.ua/

,
,
.
,
,SIP
,.
(
).,
,.
2.8.1.1
SIP
,,(
).Registrar,
FromREGISTER,
,,To.
,,SIP,
.
,FromSIPUA,
.,
,,
,,

,,,.
,
.SIPUAS,
(,,SIP
),
.UA,SIP
,.
,
SIP.
2.8.1.2.
,,Request
URI.
,.,,

.
,,,loniis.ru
,protei.ru.

http://openlib.org.ua/

protei.ru,loniis.ru,
SIPprotei.ru.
UA
protei.ru.
,.
,,,
protei.ru,loniis.ru,
301 (Moved Permanently). , ,
, protei.ru, loniis.ru
.REGISTERUA,
loniis.ru.
,
,.
2.8.1.3.
SIP UA , .
,,UA
,,
.
UA, SIP ,
.,
,UA,

. ,
, , , ,
,UA.
,
,SIP.
MIME,,
SDP.
SDP,,,RTP
.
,SIP
,Subject.
,(,,
Subject,,).

,
.
,UA
SIP,.
,,,

http://openlib.org.ua/

.,
,
.
2.8.1.4.
,
,/.,
,
.
,,

,(tagToFrom)
BYE.,
,.BYE
,.
,,
reINVITE,(
).

BYE.,BYE
,,
,.,

,BYE.
()
.
2.8.1.5 (DoS )
,(Denialofserviceattacks),

.,
,
,
.
SIP
,IP.
SIP,
,
SIP.
,IP
Via,

http://openlib.org.ua/

,,,
SIP,SIP
,
.

Route,,
,,
,.
RecordRoute,,
,
.
denialofservice,REGISTER
.

,
.
,
.,registrar
,.

.
,
denialofservice.

2.8.2
,,SIP
:
,(replayattacks)
(messagespoofing),
,denialofservice.
,SIP
,,.
,,SIP,
SIP,
HTTPSMTP.

,,
.,SIP
(endtoend),
,RequestURI,RouteVia
,SIP
.

http://openlib.org.ua/

SIP
(,Via).
SIP.
SIP,
SIP
.,
.
SIP.
SIP,,
,,,
,.
,SIP.
,
SIP,
.
2.8.2.1.

,TLSIPSec.
IPSec,
IP
.IPSec
,
.IPSec
,
,(
VPN).IPSec
.
IPSecSIP.IPSec,
,SIP,
SIP.
,,
IPSec.
TLS,
(,TCP);tls(TLSTCP)
,ViaSIPURI.
TLS,
,.

http://openlib.org.ua/

,UAAnton,

,UAVladimir.Vladimir
VladimirAnton.
TLSSIP.
,SIP
;UA,
TLS,,TLS
.
2.8.2.2.SIPSURI
SIPS,
. SIPS URI
SIPURI,,sips
sip.,SIPSSIPURI.
SIPSURI
.. ,
From . SIPS URI RequestURI
,,,
TLS. , ,
, UAS
( TLS).
SIPS URI
, SIPS , ,
,.
SIPS,RequestURI,
,,Contact,
Route. SIPS URI
.
SIPSURI(
transport),TLS,
sips:anton@niits.ru;transport=tcpsips:anton@niits.ru;transport=sctp.UDP

SIPS).
2.8.2.3HTTP
SIP,
HTTP.401
407,,,
,
.Digest

http://openlib.org.ua/

SIP
.
DigestSIP2.6.
2.8.2.4.S/MIME
,SIP
,(,
)
;SIP.
S/MIMESIPMIME,
.
S/MIME
,.S/MIME
SIP
SIP.S/MIMESIP2.7.

2.8.3

2.8.3.1 SIP
,TLS
.
,TLS;
,
TLS.,
,
.
TLS.SIP,
TLS,,
TLS.
,
.
SIP,TLS,
SIPSURI.
,,
IPSec
.
,,
Digest.

2.8.3.2

http://openlib.org.ua/


WebEMail.
(,
,),
(username)(password).
,,
UA,,
TLS.

S/MIME,UASIP.
,
,.

UA ,
TLS .Registrar
. ,
, UA ., UA
anton@niits.ru,
, niits.ru ( , sip.niits.ru).
, UA TLS , ,
,.
, , UA
REGISTER.
registrar , UA , registrar
,UA,
.
UA REGISTER, RequestURI ,
,.,
UA REGISTER TLS , registrar
, 401 (Proxy
Authentication Required).realmProxyAuthenticate
,. UAC
,
, ,
realm . (username)
(userinfo) URI,
To REGISTER. ,
ProxyAuthorization, REGISTER
.
registrar ,
REGISTER
. , REGISTER

http://openlib.org.ua/

TLS ,
REGISTER,
(replay).
, , registrar , UA
, registrar ,
, ,
.TLS
,
.UATLS
, , ,
,
.

, Anton
,
vladimir@protei.ru.
(niits.ru).
,
,,;niits.ru
( UA TLS
,).,
,,TLS
INVITE . UA
, , INVITE,
.
UA
INVITE,
RequestURI, , .
RequestURI(niits.ru),
protei.ru, ,
.,
anton@niits.ru
alexander@niits.ru.TLS
, Alexander
. Alexander
, , Anton
.
, RequestURI .
, niits.ru TLS
protei.ru. TLS
, ,
.

http://openlib.org.ua/

,
,,SIP.,
niits.ru , ,
, protei.ru.,
TLS ,,
, niits.ru INVITE
protei.ru.
protei.ru
niits.ru , ,
From INVITE. protei.ru
, ,
, .
,,.
,,,
;protei.ru,niits.ru
Anton.protei.ru
niits.ru,,Anton
.protei.ru
,,,
protei.ru.
,INVITE
protei.ru,TLS,
,,(
vladimir@protei.ru).INVITEVladimir.
TLS,,
protei.ru,Vladimir,
niits.ruAnton,
,.
,
RecordRoute,
.
.
RecordRoute,
AntonVladimir
(
,S/MIME).
,,,
BYE Vladimir Anton,
,,
AntonVladimir.

http://openlib.org.ua/

UA,
. UA Alexander
alexander@loniis.ru. Alexander INVITE
vladimir@protei.ru,UATLS
protei.ru(,"SIP:LocatingSIPServers",RFC3263).
UA Alexander protei.ru,
, UA INVITE TLS
. UA Alexander
protei.ru,
, message/sip (. 2.7.4)
INVITE. protei.ru ,
, protei.ru
From.
.
Vladimir protei.ru
:
<sip:vladimir@192.0.2.4>,
vladimir@protei.ru. Alexander TLS ,
protei.ru;
.
AlexanderTCP
INVITE RequestURI,
( , ). Vladimir INVITE
,, UA ,,
From
,
INVITE. Vladimir ,,
Alexander;.
NAT (NetworkAddressTranslation)
TCP UA.
,
, , TLS
TCP,
.
(DoS )
,,
.
, SIP ,
,
, (
, ping).

http://openlib.org.ua/

,
, denialofservice ,
, SIP
.
, ,
,,
;
.SIP
;stateful,stateless.
, stateful , stateless
.

401(Unauthorized)
407(ProxyAuthenticationRequired),
, stateless
. 401 407
,(Via),
.
,
TLS
,
.

2.9
2.9.1
AntonVladimir
Proxy1Proxy2.INVITE(F1)
RouteProxy1.Proxy1
Anton.,
Proxy1407(ProxyAuthorization),
.
INVITE(F4),
.,Vladimir
BYE.
Proxy1RecordRouteINVITE,
,.Proxy2
RecordRoute.ACK(F15)BYE(F18)
Route.

http://openlib.org.ua/

.2.39


F1INVITEAnton>Proxy1

INVITEsip:vladimir@protei.ruSIP/2.0
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74b43
MaxForwards:70
Route:<sip:ss1.niits.ru;lr>
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>
CallID:3848276298220188511@niits.ru
CSeq:1INVITE
Contact:<sip:anton@serv1.niits.ru;transport=tcp>
ContentType:application/sdp
ContentLength:151
v=0
o=anton28908445262890844526INIP4serv1.niits.ru
s=
c=INIP4192.0.2.101
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000

http://openlib.org.ua/

Proxy1.
F2407(ProxyAuthorizationRequired)Proxy1>Anton
SIP/2.0407ProxyAuthorizationRequired
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74b43
;received=192.0.2.101
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>;tag=3flal12sf
CallID:3848276298220188511@niits.ru
CSeq:1INVITE
ProxyAuthenticate:Digestrealm="niits.ru",qop="auth",
nonce="f84f1cec41e6cbe5aea9c8e88d359",
opaque="",stale=FALSE,algorithm=MD5
ContentLength:0

F3ACKAnton>Proxy1
ACKsip:vladimir@protei.ruSIP/2.0
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74b43
MaxForwards:70
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>;tag=3flal12sf
CallID:3848276298220188511@niits.ru
CSeq:1ACK
ContentLength:0

AntonINVITE,
.
F4INVITEAnton>Proxy1
INVITEsip:vladimir@protei.ruSIP/2.0

Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bf9
MaxForwards:70
Route:<sip:ss1.niits.ru;lr>
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>
CallID:3848276298220188511@niits.ru
CSeq:2INVITE
Contact:<sip:anton@serv1.niits.ru;transport=tcp>
ProxyAuthorization:Digestusername="anton",
realm="niits.ru",
nonce="wf84f1ceczx41ae6cbe5aea9c8e88d359",opaque="",
uri="sip:vladimir@protei.ru",
response="42ce3cef44b22f50c6a6071bc8"
ContentType:application/sdp
ContentLength:151

http://openlib.org.ua/

v=0
o=anton28908445262890844526INIP4serv1.niits.ru
s=
c=INIP4192.0.2.101
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000

Proxy1INVITEProxy2.
Anton
49172.

F5INVITEProxy1>Proxy2
INVITEsip:vladimir@protei.ruSIP/2.0
Via:SIP/2.0/TCPss1.niits.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
MaxForwards:69
RecordRoute:<sip:ss1.niits.ru;lr>
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>
CallID:3848276298220188511@niits.ru
CSeq:2INVITE
Contact:<sip:anton@serv1.niits.ru;transport=tcp>
ContentType:application/sdp
ContentLength:151
v=0
o=anton28908445262890844526INIP4serv1.niits.ru
s=
c=INIP4192.0.2.101
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000

F6100(Trying)Proxy1>Anton
SIP/2.0100Trying
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>
CallID:3848276298220188511@niits.ru
CSeq:2INVITE
ContentLength:0

F7INVITEProxy2>Vladimir

http://openlib.org.ua/

INVITEsip:vladimir@serv3.protei.ruSIP/2.0
Via:SIP/2.0/TCPss2.protei.ru:5060;branch=z9hG4bK721e4.1
Via:SIP/2.0/TCPss1.niits.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
MaxForwards:68
RecordRoute:<sip:ss2.protei.ru;lr>,
<sip:ss1.niits.ru;lr>
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>
CallID:3848276298220188511@niits.ru
CSeq:2INVITE
Contact:<sip:anton@serv1.niits.ru;transport=tcp>
ContentType:application/sdp
ContentLength:151
v=0
o=anton28908445262890844526INIP4serv1.niits.ru
s=
c=INIP4192.0.2.101
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000

F8100(Trying)Proxy2>Proxy1
SIP/2.0100Trying

Via:SIP/2.0/TCPss1.niits.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>
CallID:3848276298220188511@niits.ru
CSeq:2INVITE
ContentLength:0

F9180(Ringing)Vladimir>Proxy2
SIP/2.0180Ringing
Via:SIP/2.0/TCPss2.protei.ru:5060;branch=z9hG4bK721e4.1
;received=192.0.2.222
Via:SIP/2.0/TCPss1.niits.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss2.protei.ru;lr>,
<sip:ss1.niits.ru;lr>
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>;tag=314159
CallID:3848276298220188511@niits.ru
Contact:<sip:vladimir@serv3.protei.ru;transport=tcp>

http://openlib.org.ua/

CSeq:2INVITE
ContentLength:0

F10180(Ringing)Proxy2>Proxy1
SIP/2.0180Ringing
Via:SIP/2.0/TCPss1.niits.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss2.protei.ru;lr>,
<sip:ss1.niits.ru;lr>
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>;tag=314159
CallID:3848276298220188511@niits.ru
Contact:<sip:vladimir@serv3.protei.ru;transport=tcp>
CSeq:2INVITE
ContentLength:0

F11180(Ringing)Proxy1>Anton
SIP/2.0180Ringing

Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss2.protei.ru;lr>,
<sip:ss1.niits.ru;lr>
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>;tag=314159
CallID:3848276298220188511@niits.ru
Contact:<sip:vladimir@serv3.protei.ru;transport=tcp>
CSeq:2INVITE
ContentLength:0

F12200(OK)Vladimir>Proxy2
SIP/2.0200OK
Via:SIP/2.0/TCPss2.protei.ru:5060;branch=z9hG4bK721e4.1
;received=192.0.2.222
Via:SIP/2.0/TCPss1.niits.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss2.protei.ru;lr>,
<sip:ss1.niits.ru;lr>
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>;tag=314159
CallID:3848276298220188511@niits.ru
CSeq:2INVITE

Contact:<sip:vladimir@serv3.protei.ru;transport=tcp>
ContentType:application/sdp

http://openlib.org.ua/

ContentLength:147
v=0
o=vladimir28908445272890844527INIP4serv3.protei.ru
s=
c=INIP4192.0.2.201
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F13200(OK)Proxy2>Proxy1
SIP/2.0200OK
Via:SIP/2.0/TCPss1.niits.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss2.protei.ru;lr>,
<sip:ss1.niits.ru;lr>
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>;tag=314159
CallID:3848276298220188511@niits.ru
CSeq:2INVITE
Contact:<sip:vladimir@serv3.protei.ru;transport=tcp>
ContentType:application/sdp
ContentLength:147
v=0
o=vladimir28908445272890844527INIP4serv3.protei.ru
s=
c=INIP4192.0.2.201
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F14200(OK)Proxy1>Anton
SIP/2.0200OK
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss2.protei.ru;lr>,
<sip:ss1.niits.ru;lr>
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>;tag=314159
CallID:3848276298220188511@niits.ru
CSeq:2INVITE
Contact:<sip:vladimir@serv3.protei.ru;transport=tcp>
ContentType:application/sdp
ContentLength:147
v=0
o=vladimir28908445272890844527INIP4serv3.protei.ru
s=
c=INIP4192.0.2.201
t=00

http://openlib.org.ua/

m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F15ACKAnton>Proxy1
ACKsip:vladimir@serv3.protei.ruSIP/2.0
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74b76
MaxForwards:70
Route:<sip:ss1.niits.ru;lr>,
<sip:ss2.protei.ru;lr>
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>;tag=314159
CallID:3848276298220188511@niits.ru
CSeq:2ACK
ContentLength:0

F16ACKProxy1>Proxy2
ACKsip:vladimir@serv3.protei.ruSIP/2.0
Via:SIP/2.0/TCPss1.niits.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74b76
;received=192.0.2.101
MaxForwards:69
Route:<sip:ss2.protei.ru;lr>
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>;tag=314159
CallID:3848276298220188511@niits.ru
CSeq:2ACK
ContentLength:0

F17ACKProxy2>Vladimir
ACKsip:vladimir@serv3.protei.ruSIP/2.0
Via:SIP/2.0/TCPss2.protei.ru:5060;branch=z9hG4bK721e4.1
Via:SIP/2.0/TCPss1.niits.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74b76
;received=192.0.2.101
MaxForwards:68
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>;tag=314159
CallID:3848276298220188511@niits.ru
CSeq:2ACK
ContentLength:0

AntonVladimirRTP.
Vladimir.,CSeq3.
AntonVladimir
CSeq.

http://openlib.org.ua/

F18BYEVladimir>Proxy2
BYEsip:anton@serv1.niits.ruSIP/2.0
Via:SIP/2.0/TCPserv3.protei.ru:5060;branch=z9hG4bKnashds7
MaxForwards:70
Route:<sip:ss2.protei.ru;lr>,
<sip:ss1.niits.ru;lr>
From:Vladimir<sip:vladimir@protei.ru>;tag=314159
To:Anton<sip:anton@niits.ru>;tag=9fxced76sl
CallID:3848276298220188511@niits.ru
CSeq:1BYE
ContentLength:0

F19BYEProxy2>Proxy1
BYEsip:anton@serv1.niits.ruSIP/2.0
Via:SIP/2.0/TCPss2.protei.ru:5060;branch=z9hG4bK721e4.1
Via:SIP/2.0/TCPserv3.protei.ru:5060;branch=z9hG4bKnashds7
;received=192.0.2.201
MaxForwards:69
Route:<sip:ss1.niits.ru;lr>
From:Vladimir<sip:vladimir@protei.ru>;tag=314159
To:Anton<sip:anton@niits.ru>;tag=9fxced76sl
CallID:3848276298220188511@niits.ru
CSeq:1BYE
ContentLength:0

F20BYEProxy1>Anton
BYEsip:anton@serv1.niits.ruSIP/2.0
Via:SIP/2.0/TCPss1.niits.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/TCPss2.protei.ru:5060;branch=z9hG4bK721e4.1
;received=192.0.2.222
Via:SIP/2.0/TCPserv3.protei.ru:5060;branch=z9hG4bKnashds7
;received=192.0.2.201
MaxForwards:68
From:Vladimir<sip:vladimir@protei.ru>;tag=314159
To:Anton<sip:anton@niits.ru>;tag=9fxced76sl
CallID:3848276298220188511@niits.ru
CSeq:1BYE
ContentLength:0

F21200(OK)Anton>Proxy1
SIP/2.0200OK

Via:SIP/2.0/TCPss1.niits.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPss2.protei.ru:5060;branch=z9hG4bK721e4.1

http://openlib.org.ua/

;received=192.0.2.222
Via:SIP/2.0/TCPserv3.protei.ru:5060;branch=z9hG4bKnashds7
;received=192.0.2.201
From:Vladimir<sip:vladimir@protei.ru>;tag=314159
To:Anton<sip:anton@niits.ru>;tag=9fxced76sl
CallID:3848276298220188511@niits.ru
CSeq:1BYE
ContentLength:0

F22200(OK)Proxy1>Proxy2
SIP/2.0200OK
Via:SIP/2.0/TCPss2.protei.ru:5060;branch=z9hG4bK721e4.1
;received=192.0.2.222
Via:SIP/2.0/TCPserv3.protei.ru:5060;branch=z9hG4bKnashds7
;received=192.0.2.101
From:Vladimir<sip:vladimir@protei.ru>;tag=314159
To:Anton<sip:anton@niits.ru>;tag=9fxced76sl
CallID:3848276298220188511@niits.ru
CSeq:1BYE
ContentLength:0

F23200(OK)Proxy2>Vladimir
SIP/2.0200OK
Via:SIP/2.0/TCPserv3.protei.ru:5060;branch=z9hG4bKnashds7
;received=192.0.2.201
From:Vladimir<sip:vladimir@protei.ru>;tag=314159
To:Anton<sip:anton@niits.ru>;tag=9fxced76sl
CallID:3848276298220188511@niits.ru
CSeq:1BYE
ContentLength:0

2.9.2
Anton Vladimir
. INVITE .
302 (Moved Temporarily), Contact
SIP Vladimir. Anton INVITE
Vladimir
. INVITE SDP
, ACK.
,VladimirBYE.

http://openlib.org.ua/

.2.40

F1INVITEAnton>
INVITEsip:vladimir@protei.ruSIP/2.0
Via:SIP/2.0/UDPserv1.niits.ru:5060;branch=z9hG4bKbf9f44
MaxForwards:70
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>
CallID:2xTb9vxSit55XU7p8@niits.ru
CSeq:1INVITE
Contact:<sip:anton@serv1.niits.ru>
ContentLength:0

F2302(MovedTemporarily)>Anton
SIP/2.0302MovedTemporarily
Via:SIP/2.0/UDPserv1.niits.ru:5060;branch=z9hG4bKbf9f44
;received=192.0.2.101
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>;tag=53fHlqlQ2
CallID:2xTb9vxSit55XU7p8@niits.ru
CSeq:1INVITE
Contact:<sip:vladimir@loniis.ru;transport=tcp>
ContentLength:0

http://openlib.org.ua/

F3ACKAnton>
ACKsip:vladimir@protei.ruSIP/2.0
Via:SIP/2.0/UDPserv1.niits.ru:5060;branch=z9hG4bKbf9f44
MaxForwards:70
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>;tag=53fHlqlQ2
CallID:2xTb9vxSit55XU7p8@niits.ru
CSeq:1ACK
ContentLength:0

F4INVITEAnton>Proxy3
INVITEsip:vladimir@loniis.ruSIP/2.0
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bf9
MaxForwards:70
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>
CallID:2xTb9vxSit55XU7p8@niits.ru
CSeq:2INVITE
Contact:<sip:anton@serv1.niits.ru;transport=tcp>
ContentLength:0

F5INVITEProxy3>Vladimir
INVITEsip:vladimir@serv5.loniis.ruSIP/2.0
Via:SIP/2.0/TCPss3.loniis.ru:5060;branch=z9hG4bK721e.1
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
MaxForwards:69
RecordRoute:
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>
CallID:2xTb9vxSit55XU7p8@niits.ru
CSeq:2INVITE
Contact:<sip:anton@serv1.niits.ru;transport=tcp>
ContentLength:0

F6100(Trying)Proxy3>Anton
SIP/2.0100Trying
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>
CallID:2xTb9vxSit55XU7p8@niits.ru
CSeq:2INVITE
ContentLength:0

F7180(Ringing)Vladimir>Proxy3

http://openlib.org.ua/

SIP/2.0180Ringing
Via:SIP/2.0/TCPss3.loniis.ru:5060;branch=z9hG4bK721e.1
;received=192.0.2.233
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss3.loniis.ru;lr>
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>;tag=314159
CallID:2xTb9vxSit55XU7p8@niits.ru
CSeq:2INVITE
Contact:<sip:vladimir@serv5.loniis.ru;transport=tcp>
ContentLength:0

F8180(Ringing)Proxy3>Anton
SIP/2.0180Ringing
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss3.loniis.ru;lr>
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>;tag=314159
CallID:2xTb9vxSit55XU7p8@niits.ru
CSeq:2INVITE
Contact:<sip:vladimir@serv5.loniis.ru;transport=tcp>
ContentLength:0
F9200(OK)Vladimir>Proxy3
SIP/2.0200OK
Via:SIP/2.0/TCPss3.loniis.ru:5060;branch=z9hG4bK721e.1
;received=192.0.2.233
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss3.loniis.ru;lr>
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>;tag=314159
CallID:2xTb9vxSit55XU7p8@niits.ru
CSeq:2INVITE
Contact:<sip:vladimir@serv5.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:148
v=0
o=vladimir28908445272890844527INIP4serv5.loniis.ru
s=
c=INIP4192.0.2.100
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F10200(OK)Proxy>Anton
SIP/2.0200OK
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bf9

http://openlib.org.ua/

;received=192.0.2.101
RecordRoute:<sip:ss3.loniis.ru;lr>
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>;tag=314159
CallID:2xTb9vxSit55XU7p8@niits.ru
CSeq:2INVITE
Contact:<sip:vladimir@serv5.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:148
v=0
o=vladimir28908445272890844527INIP4serv5.loniis.ru
s=
c=INIP4192.0.2.100
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

ACKSDPAnton,
INVITE.
F11ACKAnton>Proxy3
ACKsip:vladimir@serv5.loniis.ruSIP/2.0
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bq9
MaxForwards:70
Route:<sip:ss3.loniis.ru;lr>
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>;tag=314159
CallID:2xTb9vxSit55XU7p8@niits.ru
CSeq:2ACK
ContentType:application/sdp
ContentLength:151
v=0
o=anton28908445262890844526INIP4serv1.niits.ru
s=
c=INIP4192.0.2.101
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000

F12ACKProxy3>Vladimir
ACKsip:vladimir@serv5.loniis.ruSIP/2.0
Via:SIP/2.0/TCPss3.loniis.ru:5060;branch=z9hG4bK721e.1
Via:SIP/2.0/TCPserv1.niits.ru:5060;branch=z9hG4bK74bq9
;received=192.0.2.101
MaxForwards:69
From:Anton<sip:anton@niits.ru>;tag=9fxced76sl
To:Vladimir<sip:vladimir@protei.ru>;tag=314159
CallID:2xTb9vxSit55XU7p8@niits.ru
CSeq:2ACK
ContentType:application/sdp

http://openlib.org.ua/

ContentLength:151
v=0
o=anton28908445262890844526INIP4serv1.niits.ru
s=
c=INIP4192.0.2.101
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000

Vladimir ACK,
AntonVladimirRTP.Vladimir.
F13BYEVladimir>Proxy3
BYEsip:anton@serv1.niits.ruSIP/2.0
Via:SIP/2.0/TCPserv5.loniis.ru:5060;branch=z9hG4bKfgaw2
MaxForwards:70
Route:<sip:ss3.loniis.ru;lr>
From:Vladimir<sip:vladimir@protei.ru>;tag=314159
To:Anton<sip:anton@niits.ru>;tag=9fxced76sl
CallID:2xTb9vxSit55XU7p8@niits.ru
CSeq:1BYE
ContentLength:0

F14BYEProxy3>Anton
BYEsip:anton@serv1.niits.ruSIP/2.0
Via:SIP/2.0/TCPss3.loniis.ru:5060;branch=z9hG4bK721e.1
;received=192.0.2.100
Via:SIP/2.0/TCPserv5.loniis.ru:5060;branch=z9hG4bKfgaw2
MaxForwards:69
From:Vladimir<sip:vladimir@protei.ru>;tag=314159
To:Anton<sip:anton@niits.ru>;tag=9fxced76sl
CallID:2xTb9vxSit55XU7p8@niits.ru
CSeq:1BYE
ContentLength:0

F15200(OK)Anton>Proxy3
SIP/2.0200OK
Via:SIP/2.0/TCPss3.loniis.ru:5060;branch=z9hG4bK721e.1
;received=192.0.2.233
Via:SIP/2.0/TCPserv5.loniis.ru:5060;branch=z9hG4bKfgaw2
;received=192.0.2.100
From:Vladimir<sip:vladimir@protei.ru>;tag=314159
To:Anton<sip:anton@niits.ru>;tag=9fxced76sl
CallID:2xTb9vxSit55XU7p8@niits.ru
CSeq:1BYE
ContentLength:0
F16200(OK)Proxy3>Vladimir

http://openlib.org.ua/

SIP/2.0200OK
Via:SIP/2.0/TCPserv5.loniis.ru:5060;branch=z9hG4bKfgaw2
;received=192.0.2.100
From:Vladimir<sip:vladimir@protei.ru>;tag=314159
To:Anton<sip:anton@niits.ru>;tag=9fxced76sl
CallID:2xTb9vxSit55XU7p8@niits.ru
CSeq:1BYE
ContentLength:0

2.10. SIP
SIP
.
SIP
.
SIP
TCPSCTP.SIP
,
.,,
.
SIP,IP,
.
SIP,IP,
.
,(,
DNS,LocatingSIP
servers,RFC3263),,SIP,
.,
,
,
.
,
,
.
,,
(Terminated).,
,.
64*T1.
,,SIP,TU,
(.112.4.1.4.)
SIPUDPTCP.
.

http://openlib.org.ua/

2.10.1
2.10.1.1
SIP
.SIP,,
SIP,SIP,
IP,,TTL
.
200pathMTU(
)1300,pathMTU,
,,,
TCP.(
,Via),
Via.,
UDP,
.,
.UDP
65,535IPUDP.
200MTU
,SIP.,
RecordRouteINVITE.
1300,pathMTU,,
EthernetMTU1500.
SIPTCP
(
UDP).TCP
,ICMP,SIP
,UDP.
,
TCP.,
.
,,maddr
Via,URI,
IPv4ttl1.
,SIP
,IP/,
Via.,
.5060UDP,TCP
SCTP,5061TLS.
,
.SIP
,

http://openlib.org.ua/

.
.,
SIPIP,
,,Via.
SIP,
,Section5,Locating
SIPservers,RFC3263.

IP,
(),
Via.,
,.
,
,Section5,LocatingSIPservers,RFC
3263.

SIPmulticast,
(,,
multicast,).
IP,,
,,
.
,
,TTL,
SIP.
,IP,
.

,SIP
Via.,
,
.
,
SIP,2.3.2.1,
.
,.
(,stateless,stateful
UA).,
,(,,
,UA).

http://openlib.org.ua/

2.10.2

IP,
,
DNS.
ContactREGISTER,3RecordRoute.
,SIP
(5060TCPUDP,5061TLSTCP).
,,
.,
UDP,
TCP.,,
TCP,UDP..
UDP,
TCP.
,UDP.
SIP,
,
Via.URI,,
IP,,
receivedVia.
,.
SIP,IP
,.,,
.:
INVITEsip:vladimir@protei.ruSIP/2.0
Via:SIP/2.0/UDPserv3.protei.ru:5060
IP192.0.2.4.
,SIPViareceived
,.
INVITEsip:vladimir@protei.ruSIP/2.0
Via:SIP/2.0/UDPserv3.protei.ru:5060;received=192.0.2.4
,SIP
.,2.3.2.2.
,
.,,
.,
UAS2INVITE,.
,,ACK,

http://openlib.org.ua/

.ACK
UAS,.

Via
,,.SIP
.

Via,
TCP,SCTPTLS(TCPSCTP),
,
,.
SIP
.,
IPreceived(
),,,,
(,
Via).
,,
RFC3263SIP:LocatingSIPservers,
.

,Viamaddr,
,,,
5060,.
,TTL,
ttl,TTL,1,
.

,Viareceived(
unicast),,
,,
5060,.,,
ICMPportunreachable(),
,Section5,LocatingSIPservers,RFC3263,
,,.

,
,,Section5,LocatingSIPservers,
RFC3263.

2.10.3

http://openlib.org.ua/

,
(UDP),ContentLength,,
.ContentLength,
,,
.,
,.
,.
,.
,400(BadRequest).
,TCP,ContentLength,
,.

2.10.4.
,
.SIP,,
,
,ICMP,ICMP
.,,(host,network,port,
protocolunreachable),,
SIP.
ICMPSourcequenchTTLexceeded.
SIP ,
,
, SIP
.

http://openlib.org.ua/

3.SIP (SIPT)
3.1. SIPT
IP
, SIP. SIP
,
.
SIPSIPT.
SIPT (SIP )
(, 7 DSS) SIP. SIPT
,.
SIPISUP,ISUP7SIP,
, . ,
,,,
SIP , ISUP.,
ISUP SIP,
SIP.
,SIP:
3.1

SIP

SIPT

SIPISUP

ISUP
SIP

SIP,
ISUP

ISUP
SIP

ISUP

INFO

,
SIPISUP(
7).ISUP.

3.2
.

3.2.1SIPT ( IP )
, SIP ,..

http://openlib.org.ua/

,SIPbridging.ISUPSIP,..
SIP, .
ISUPSIP.

VoIP
MGC

MGC

3.1 VoIP.
3.1.
, SIP,, ISUP
MGC(MediaGatewayController),
SIP. MGC SIP
. SIP ,
( MGC).,
.
MGC,SIP,
ISUP,ISUP,SIP,
(..,).
3.2

http://openlib.org.ua/

MGC1

IAM

ACM
ANM

MGC2

INVITE
100(Trying)

18
200OK

IAM
ACM
ANM

ACK

REL
RLC

BYE
200OK

REL
RLC

3.2 VoIP.

3.2.2 IP
,
SIP.

VoIP
MGC

SIP

3.3 VoIP.

3.3.

http://openlib.org.ua/

MGC, ISUP
SIP ,.
SIPMGC
,SIP.
3.4.

MGC

IAM

INVITE
100(Trying)

ACM
ANM

SIP

18

INVITE

18

200OK
ACK

200OK
ACK

REL
RLC

BYE
200OK

BYE
200OK

3.4 VoIP.

3.2.3 IP
SIP,
.

http://openlib.org.ua/

VoIP
MGC

SIP

3.5 VoIP .

3.5.
,ISUP
SIP ,
MGC, SIP, SIP
ISUP.
3.6.

SIP

INVITE
100(Trying)

18
200OK
ACK

MGC

INVITE
100(Trying)

18
200OK

IAM
ACM
ANM

ACK

BYE
BYE
200OK

200OK

REL
RLC

3.6 VoIP .

SIP INVITE, SIP


MGC. MGC ,
.SIP
ISUPIAM.

,SIP100(Trying).
(ACM)

http://openlib.org.ua/

180(Ringing)183(SessionProgress).
, ANM MGC.
MGC200(OK).MGC
ACK.

3.3 SIPT

3.3.1 SIP
SIPT SIP,2
[RFC3261].

3.3.2

SIPT. SIPT
MIME, SIP
( SDP, ISUP ..). ISUP
MIME ISUP
MediaType,ISUP.
ISUPMediaType:
3.2
Mediatypename:
Mediasubtypename:
Requiredparameters:
Optionalparameters:

application
ISUP
version
base

Encodingscheme:
Securityconsiderations:

binary
SIP

version
ISUP.SoftSwitch/MGC,
, ISUP .
,version;
.
version ISUP
(, XNetxProprietaryISUPv3),
ISUP,ITUTANSI.
base ,
, ISUP,..

http://openlib.org.ua/

version . 3.3
base,application/ISUP.
3.3
base
Itut88
Itut92+
Ansi88
Ansi00
Etsi121
Etsi356
Gr317
Ttc87
Ttc93+

ITUTQ.7614(1988)
ITUTQ.7614(1992)
ANSIT1.1131988
ANSIT1.1132000
ETS300121
ES300356
BELLCOREGR317
JTQ7614(19871992)
JTQ7614(1993)

ContentDisposition
ISUP, ,
ContentType.
ContentDispositionISUPsignal.,
,.
ContentDisposition2[RFC2046].
ISUP ContentDisposition
:
signal,handling,
optionalrequired(.2,2.2.2).
( base
):

ContentType:application/ISUP;version=nxv3;base=etsi121
ContentDisposition:signal;handling=optional

INVITE,
SDPISUPIAM.
. ,
boundary (. [RFC 2046]).
uniqueboundary1.
INVITEsip:78123877658@max.loniis.ruSIP/2.0

http://openlib.org.ua/

Via:SIP/2.0/UDPanton.loniis.ru
From:sip:78124513355@anton.loniis.ru
To:sip:78123877658@max.loniis.ru
CallID:MAX1231999021712095500999@max.loniis.ru
CSeq:8348INVITE
Contact:<sip:anton@loniis.ru>
ContentLength:436
ContentType:multipart/mixed;boundary=uniqueboundary1
MIMEVersion:1.0
uniqueboundary1
ContentType:application/SDP;charset=ISO10646
v=0
o=jpeterson28908445262890842807INIP4126.16.64.4
s=SDPseminar
c=INIP4MG122.loniis.ru
t=28733974962873404696
m=audio9092RTP/AVP034
uniqueboundary1
ContentType:application/ISUP;version=nxv3;
base=etsi121
ContentDisposition:signal;handling=optional
010049000003020007041000336321
43000003060d038090a20703100363
5300100a070310278088030000898b
0e951e1e1e0626050df50106100400
uniqueboundary1

3.3.3

ISUPSIP.:
1. ISUP SIP . SIPT
MGC, ISUP
SIP .
ISUP SIP, ISUP
SIP., IAM INVITE,
RELBYE..

http://openlib.org.ua/

2. ISUPSIP:SIP,
,
,
,.

ISUPSIP(,CalledPartyNumberISUPIAMTo
RequestURI..).
SIP,
ISUP, SIP,
.MGC(SIP)
, SIP
ISUP.,,ToRequestURI
SIPCalledPartyNumber()
ISUP.,..

SIP, ISUP,
.

3.3.4
SIP
.
INFO[RFC2976].,
(overlapdialing).
DTMF.
DTMF[RFC2833RTPPayloadforDTMFDigits,Telephony
TonesandTelephonySignals].

3.4 SIP
,,,
:,SDPISUP.
(
multipart/mixed) / ISUP MIME (application/ISUP),
415 (Unsupported Media Type),
( application/SDP). ,
,,
ISUP(..SDP)
.
, ,

http://openlib.org.ua/

,,,
. ,
, ,
:,,
,,.,,
SIP , ISUP,
.
:
ISUP.UA2INVITE,
ISUP.

UA1

UA2
INVITE
18

3.6.1 SIP.
ISUP .
UA1UA2
INVITE>
(Contenttype:multipart/mixed;
Contenttype:application/sdp;
Contentdisposition:session;handling=required;
Contenttype:application/isup;
Contentdisposition:signal;handling=optional;)
<18x
2.ISUP.UA2ISUP,
415(UnsupportedMediaType).UA1
ISUP,SDP
UA2.

http://openlib.org.ua/

UA1

UA2
INVITE

415(Unsupported
MediaType)

INVITE
18
3.6.2 SIP.
ISUP.
UA1UA2
INVITE>(Contenttype:multipart/mixed;
Contenttype:application/sdp;
Contentdisposition:session;handling=required;
Contenttype:application/isup;
Contentdisposition:signal;handling=required;)

<415
(Accept:application/sdp)
ACK>
INVITE>
(Contenttype:application/sdp)
<18x
3.ISUP.UA2ISUP
415(UnsupportedMediaType).UA1UA
3.

http://openlib.org.ua/

UA1

UA2

UA2

INVITE
415(Unsupported
MediaType)

INVITE
18
3.6.3 SIP.ISUP.

UA1UA2
INVITE>(Contenttype:multipart/mixed;
Contenttype:application/sdp;
Contentdisposition:session;handling=required;
Contenttype:application/isup;
Contentdisposition:signal;handling=required;)
<415
(Accept:application/sdp)
ACK>
UA1UA3
INVITE>(Contenttype:multipart/mixed;
Contenttype:application/sdp;
Contentdisposition:session;handling=required;
Contenttype:application/isup;
Contentdisposition:signal;handling=required;)

3.5
SIPT,
.
ISUP,
SIPT
., SIP
T,,
, ,
ISUP.

http://openlib.org.ua/

ISUP, SIP, ,
S/MIME [RFC 2976].
SecurityConsiderationsSIP
[RFC 3261] 2. S/MIME
, ISUP .
, ISUP
,.

3.6 ISUPSIP
3.6.1
SIP IP,
,.
ISUP 7 MTP,
IP [RFC2960]. ISUP
,.
,ISUP
SIP Media Gateway Controller (MGC),
softswitchcallagent.MGC
, ISUP SIP., SIP
Media Gateway (MG) E1/T1 (
)IP(IP).MGCMG
.
MGCSIP,
IP ,
SIP.
:
ISUP SIP ISUP,
,SIP.
ISUP, SIP,
SIP, ,
ISUP, , ,
ISUPSIP(,
).

3.6.2 SIP
ISUP SIP
, ,

http://openlib.org.ua/

.SIPUAC/UAS,
,,
.
3.6.2.1 ISUP
,
SIP(SIP
), SIP
ISUP.
3.6.2.2 MIME
,SIP
( SDP),
ISUP/.
multipart/mixed,
[RFC 2046].
multipart/mixedAccept.
3.6.2.3 DTMF
SIP ISUP
DTMF.SIP,
.
,SIP
DTMF, .. DTMF .
. [RFC 2833 RTP
PayloadforDTMFDigits,TelephonyTonesandTelephonySignals].
3.6.2.4

.
,
,..2

, .
, INVITE
SDP, ,

http://openlib.org.ua/

, .. SDP UA
,INVITE.
SIP
.
,, SDP, INVITE,
,RTCP,
, .
.[RFC3311].
3.6.2.5 ,
SIP,
,
,, .
INFO,6 SIP
. INFO [RFC 2976]
22.2.3..
405(MethodNotAllowed)
501(NotImplemented),INFO,
INFO,.
3.6.2.6
ISUP ,,
,. c
,.
SIP .
,
,.
.
,
[RFC3323]2.
3.6.2.7 ,
CANCEL
ISUP ,
REL .
SIP CANCEL
. CANCEL ,
RELCANCEL.
,REL,

http://openlib.org.ua/

,.
,..,,
REL 16 (Normal clearing).
.
Reason[RFC3326.]22.2.2.

3.6.3 ISUPSIP
3.6.3.1


,.100(Trying),
, INVITE, ,
.
, (ISUP SIP) MGC;
(,)MGMGC.
,MGC/MG.

( ).

http://openlib.org.ua/


SIP

2
3

MGC/MG
IAM
INVITE

18

ACM

18

CPG

200OK

ANM

100(Trying)

ACK

4
6
8

3.7
.
1. SIP,
IAM.
2. IAMINVITESIP.
3. ,SIP
18.
4. 18 ACM.
,180(Ringing),ACM
calledpartystatus()noindication().
5. SIP ,
.
6. , ACM ,
ISUPCPG,3.2.3.2.
7. SIP,200(OK).
8. 200(OK)ANM.
9. SIP ACK
INVITE.
( ).

http://openlib.org.ua/


SIP

IAM

INVITE

2
3

MGC/MG

200OK
18

ACK

CON

3.8
.

1. SIP,
IAM
2. IAM INVITE
SIP,
.
3. SIP ,
200().
4. 200() CON ISUP,
.
5. SIP ACK
INVITE.

SIP

http://openlib.org.ua/


SIP

MGC/MG

IAM

INVITE

INVITE

INVITE

11

ACM

INVITE

INVITE

INVITE

INVITE

1
MG

CANCEL

REL
RLC

5
7

3.9 SIP.

4.
5.

6.

7.

8.
9.

SIP,
IAM.
IAMINVITE
SIP,
.ISUP11SIP1.
1INVITE.
RFC SIP [RFC 3261] , INVITE
7.
11ISUPACM
.ISUP
7.ACMCalledPartyStatusno
indication[].
INVITE,
ISUPREL.
CANCELSIP
.

http://openlib.org.ua/

10. RELISUPRLC
.

ISUPT9

SIP
2

MGC/MG

IAM

INVITE

INVITE

INVITE

11

ACM

INVITE

INVITE

INVITE

MG

REL

CANCEL

RLC

5
6

3.10 T9 .
1. SIP,
IAM.
2. IAM INVITE
SIP,
.ISUP11SIP1.
3. 1 INVITE ,
7.10.5,
.1 500,
,7INVITE,
ISUPT11+ISUPT9.
4. 11 ISUP ACM
. ISUP
7. ACM Called Party Status (
)noindication().

http://openlib.org.ua/

5. 9,REL.
6. REL RLC
.
7. REL,CANCELSIP.

SIP

SIP

2
3
4

MGC/MG

IAM

INVITE

4
ACK
MG

REL

RLC

5
6

3.11
SIP.

7. SIP,
IAM.
8. IAM INVITE
SIP,
.
9. SIP ,400(Bad Request)
.
10. SIP ACK ,
INVITE.
11. REL ,
SIP.
12. RLCREL.
SIP

http://openlib.org.ua/

SIP
1

2
3

3
ACK

SIP
2
7

CPG

18
200OK

11

INVITE

IAM

INVITE

MGC/MG

ACK

ACM
ANM

8
10

3.12 SIP.

1. SIP,
IAM
2. IAM INVITE
SIP,
.
3. 3, SIP , ,
,.
, Contact URL ,
.
4. CPG ,
3. ,
,..ISUPCPG,
ACM.
5. SIP ACK ,
INVITE.
6. ,Contact
3.
7. SIP
,
18,.
8. 180(Ringing)SIP
ACM.

http://openlib.org.ua/

9. SIP,200().
10. 200()ANM
.
11. SIP ACK ,
INVITE.

SIP
2
3

MGC/MG

IAM

INVITE

18

ACM

MG

REL

5
7

CANCEL

RLC

MGSIP

200OK

487(Request
Terminated)

4
6
8

CANCEL

3.13
.

9. SIP,
IAM.
10. IAM INVITE
SIP,
.
11. SIP
INVITE,
180(Ringing).
12. 180(Ringing)ACM
13. (..),

http://openlib.org.ua/

SIP,REL.
14.
,RLC.
15. RELINVITE
SIPCANCEL.
16. CANCELSIP200().
17. SIP 487 (Call Cancelled)
INVITE.
18. SIP ACK ,
INVITE.

3.6.3.2. SIPT ISUPSIP


Idle

IAM
REL

Trying

11

REL

18

Progressing

200


200
18

REL

Alerting

200

BYE

Connected

REL

3.14 SIPT ISUPSIP.


IAM,
, , DSP
,IP
.

http://openlib.org.ua/

IAM INVITE
IAM,INVITE
SIP.,
INVITE,IAM.
INVITE , IAM
(URI),,
SIP. From
INVITE,
ISUP,,,
RequestURI.
telURL,
Request URI INVITE.
[Telephone Number
Mapping(ENUM)[RFC2916]]SIP
URI. URI
ISUP,:

(),
.'number
translated' FCI ,
.SIP.
tel URL 'npdi=yes', IAM
GAP,(CPN)(
LocationRoutingNumberLRN)ISUP
'rn=', tel URL.
GAPISUP
tel URL (..tel URI).
(, ANSI) (LRN
)CPN
tel URL. LRN
,,,'rn=''+'.
.[NumberPortabilityintheGlobalSwitched
TelephoneNetwork(GSTN):AnOverview,RFC3482].
,().
[RFC3398].

,,telURL,
To RequestURI. IAM OCN,
To OCN,
ToRequestURI.
From ISUPCallingParty's
Number(CIN).CIN,From,

http://openlib.org.ua/

SIP URI, ,
(,sip:gw.protei.ru).CIN,tel
URI,From.

100(Trying)
100(Trying)
;,,
INVITE.
18
18, ISUP,
, ,
.
18,Progressing
Alerting().

3.4

180(Ringing)

,
ACM(BCI=subscriberfree)

181(Callisbeingforwarded)

EarlyACMandCPG,event=6

182(Queued)
183(Sessionprogressmessage)

ACM(BCI=noindication)
ACM(BCI=noindication)

,18ISUP,
.

3.5

180(Ringing)

,
CPG,event=1(Alerting)

181(Callisbeingforwarded)

CPG,event=6(Forwarding)

182(Queued)
183(Sessionprogressmessage)

CPG,event=2(Progress)
CPG,event=2(Progress)

18
(,,
).
,
INVITE SDP,

http://openlib.org.ua/

18.,
(,,
).
183(Session progress),
,,
ISUP.
,,(,
EventInformation()CPGOptionalBackward
Call Indicators ( , )
).
,
BackwardCallIndicators(
, BCI)
. 18
ISUP,
,,
BCI,,.
BCI:
3.6
Messagetype:
BackwardCallIndicators
Chargeindicator:
Calledparty'sstatusindicator:
Calledparty'scategoryindicator:
Endtoendmethodindicator:
Interworkingindicator:
Endtoendinformationindicator:
ISDNuserpartindicator:
Holdingindicator:
ISDNaccessindicator:
Echocontroldeviceindicator:
SCCPmethodindicator:

ACM
10charge
01subscriberfreeor
00noindication
01ordinarysubscriber
00noendtoendmethod
0nointerworking
0noendtoendinfo
1ISUPusedalltheway
0noholding
0NoISDNaccess
Itdependsonthecall
00noindication

BCI Interworking indicator (


) interworking encountered (
), , ISDN ,
,ISDN,
,.

http://openlib.org.ua/

2
3.7

200(OK)

,
ANM,ACK

,200(),
, ANM ACK
SIP.
200(),ACM,
ANMCON,ISUP
.
200()
ANM,
ANM,.
,200()
IVNITE,,, INFO.,,
200(),
INVITE.200() INVITE,
.

3
3,
,.
,Contact.
3.
Contact 3 URI,
(..),
(SIP).
,3xx, REL
,redirectionindicator()diagnostic
field ( ) URI.
SIP URI, MGC IAM
INVITE,
Contact.
Contact(
INVITE), CPG 6
(),ISUP.
,
,.

http://openlib.org.ua/

46
45, ,
INVITE .
,REL
SIP. ,,
.,
REL , RLC
.
SIP [CauseCode]ISUP
4,,
REL,CauseIndicator(,CAI),
REL,
. ,
SIPISUP.
SIP, ,
31(Normal,unspecified)..BYECANCEL,
,
16(Normalclearing).
, , CAI,
,6,
45..
, ISUP,
SIP,SIPISUP.
(+)

3.8

400BadRequest
401Unauthorized
402Paymentrequired
403Forbidden
404Notfound
405Methodnotallowed
406Notacceptable
407Proxyauthenticationrequired

REL
41TemporaryFailure
21Callrejected(*)
21Callrejected
21Callrejected
1Unallocatednumber
63Serviceoroptionunavailable
79Service/optionnotimplemented(+)
21Callrejected(*)

http://openlib.org.ua/

408Requesttimeout
410Gone
413RequestEntitytoolong
414RequestURItoolong
415Unsupportedmediatype
416UnsupportedURIScheme
420Badextension
421ExtensionRequired
423IntervalTooBrief
480Temporarilyunavailable
481Call/TransactionDoesnotExist
482LoopDetected
483Toomanyhops
484Addressincomplete
485Ambiguous
486Busyhere
487RequestTerminated
488NotAcceptablehere
500Serverinternalerror
501Notimplemented
502Badgateway
503Serviceunavailable
504Servertimeout
504VersionNotSupported
513MessageTooLarge
600Busyeverywhere
603Decline
604Doesnotexistanywhere
606Notacceptable

102Recoveryontimerexpiry
22Numberchanged(w/odiagnostic)
127Interworking(+)
127Interworking(+)
79Service/optionnotimplemented(+)
127Interworking(+)
127Interworking(+)
127Interworking(+)
127Interworking(+)
18Nouserresponding
41TemporaryFailure
25Exchangeroutingerror
25Exchangeroutingerror
28InvalidNumberFormat(+)
1Unallocatednumber
17Userbusy
(nomapping)
byWarningheader
41Temporaryfailure
79Notimplemented,unspecified
38Networkoutoforder
41Temporaryfailure
102Recoveryontimerexpiry
127Interworking(+)
127Interworking(+)
17Userbusy
21Callrejected
1Unallocatednumber
byWarningheader

(*)SIPUAS
SIP, INVITE, .. .
,
.
21(Callrejected).
(+) , ,
.
,
.
606(Notacceptable)488(NotAcceptablehere)
Warning, ISUP

http://openlib.org.ua/

.
31(Normal,unspecified).Warning,
,
(.. ),
65(BearerCapabilityNotImplemented).
REL
,,
, .
SIP CANCEL, BYE
,.. SIP.
CANCEL200().INVITE
487(RequestTerminated).

,200() INVITE (
200 () CANCEL). ,
BYE,.
, SIP ,
RELCANCEL(CANCEL
).,RELCAI16(Normalclearing).
CAI16(Normalclearing),
.
ISUPT11
ISUP T7
. ISUP T11.
11,7
,.
11,
(earlyACM)(..calledpartystatus
( ) no indication),
7 ISUP,
ISUP.
180 (Ringing),
CPG,
18.

http://openlib.org.ua/

3.6.3.3SDL
SIP
S0

SIP

Idle
IAM


ISUP11

INVITE
S5

100(Trying)

S1

Trying

3.15Trying
SIP

REL
RLC
CANCEL

ISUP11

E.ACM

S1

Trying

18x

181

S5

200OK

45

CON

ACK

ACK

REL

ACM

200

E.ACM

CPG

S5

RLC

S5

487(Request
Terminated)

ACK

S0

S2

Progressing

S3

Alerting

S4

Connected

1.EarlyACMACM.
ISUP.

S0

Idle

2.CPG
6(Forwarding).

Idle

3.REL,
.

3.16 Trying

http://openlib.org.ua/

S2

SIP

18x

REL

Progressing

RLC

CPG

200OK

45

ANM

CANCEL

ACK

ACK

REL

S5

S5

200

RLC

S5

487(Request
Terminated)

ACK

S0

Idle

S3

Alerting

S4

Connected
S0

1.CPG,
.

Idle

2.REL,
.

3.17 Progressing

http://openlib.org.ua/

SIP

S3

Alerting

REL

200OK

RLC

ANM

CANCEL

45

ACK

ACK

REL

S5

S5

200

RLC

S5

487(Request
Terminated)

ACK

S0

S4

Connected
S0

Idle

Idle

1.REL,
.

3.18 Alerting

http://openlib.org.ua/

SIP

S4

Connected

BYE

REL

200OK

RLC

REL

BYE

S5

S5

RLC

S0

Idle

200OK

S0

Idle

3.19 Connected
:
S0Idle
S1TryingINVITE,
.
S2 Progressing ,
18.
S3 Alerting
,,200.
S4 Connected
.
S5.

3.6.3.4 SIP

. Maxim ,
ISUPSIP(NGW1).

, ..
.

http://openlib.org.ua/

SIP

3.20
SIP.
Maxim Network Gateway NGW 1
Proxy1Anton.,Anton
,
SIP.,Maxim,
RELNGW1,BYESIP.

F1IAM >NGW1

IAM
CgPN=0953864515,NPI=E.164,NOA=National

http://openlib.org.ua/

CdPN=8122625326,NPI=E.164,NOA=National
F2INVITEMaxim>Proxy1

INVITEsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
MaxForwards:70
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru>
ContentType:application/sdp
ContentLength:146

v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=
c=INIP4ngw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

Proxy 1
Anton.
Anton. NGW1
3456Maxim.

F3INVITEProxy1>Anton

INVITEsip:anton@client.b.loniis.ruSIP/2.0
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
MaxForwards:69
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru>
ContentType:application/sdp

http://openlib.org.ua/

ContentLength:146

v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=
c=INIP4ngw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F4100(Trying)Anton>Proxy1

SIP/2.0100Trying
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
ContentLength:0

F5180(Ringing)Anton>Proxy1

SIP/2.0180Ringing
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:anton@client.b.loniis.ru>
ContentLength:0

F6180(Ringing)Proxy1>NGW1

http://openlib.org.ua/

SIP/2.0180Ringing
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:anton@client.b.loniis.ru>
ContentLength:0

F7ACMNGW1>

ACM

F8200(OK)Anton>Proxy1

SIP/2.0200OK
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
Contact:<sip:anton@client.b.loniis.ru>
CSeq:1INVITE
ContentType:application/sdp
ContentLength:151

v=0
o=Anton28908445272890844527INIP4client.b.loniis.ru
s=
c=INIP4client.b.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

http://openlib.org.ua/


F9200(OK)Proxy1>NGW1

SIP/2.0200OK
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:anton@client.b.loniis.ru>
ContentType:application/sdp
ContentLength:151

v=0
o=Anton28908445272890844527INIP4client.b.loniis.ru
s=
c=INIP4client.b.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F10ACKNGW1>Proxy1

ACKsip:anton@client.b.loniis.ruSIP/2.0
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
MaxForwards:70
Route:<sip:ss1.a.loniis.ru;lr>
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1ACK
ContentLength:0

F11ACKProxy1>Anton

ACKsip:anton@client.b.loniis.ruSIP/2.0
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103

http://openlib.org.ua/

MaxForwards:69
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1ACK
ContentLength:0

F12ANMAnton>NGW1

ANM

MaximAntonRTP(GW)

Maxim.

F13RELMaxim>NGW1

RELCauseCode=16Normal

F14RLCNGW1>Maxim

RLC

F15BYENGW1>Proxy1

BYEsip:anton@client.b.loniis.ruSIP/2.0
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
MaxForwards:70
Route:<sip:ss1.a.loniis.ru;lr>
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:2BYE
ContentLength:0

F16BYEProxy1>Anton

BYEsip:anton@client.b.loniis.ruSIP/2.0
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2

http://openlib.org.ua/

;received=192.0.2.103
MaxForwards:69
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:2BYE
ContentLength:0

F17200(OK)Anton>Proxy1

SIP/2.0200OK
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:2BYE
ContentLength:0

F18200(OK)Proxy1>NGW1

SIP/2.0200OK
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:2BYE
ContentLength:0

SIP,

http://openlib.org.ua/

3.21
SIP. .

.,
Anton . .. Anton
200(),180(Ringing).
ANM,ACM.,
ISUP ETSI ISUP ANM
CON.

F1IAM (Maxim)>NGW1

IAM
CgPN=0953864515,NPI=E.164,NOA=National
CdPN=8122625326,NPI=E.164,NOA=National

F2INVITENGW1>Proxy1

INVITEsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0

http://openlib.org.ua/

Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
MaxForwards:70
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:146

v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=
c=INIP4ngw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

Proxy 1
Anton.
. NGW1 3456
Maxim.

F3INVITEProxy1>Anton

INVITEanton@b.loniis.ruSIP/2.0
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
MaxForwards:69
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:146

v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=

http://openlib.org.ua/

c=INIP4ngw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F4100(Trying)Proxy1>NGW1

SIP/2.0100Trying
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.201
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
ContentLength:0

F5200(OK)Anton>Proxy1

SIP/2.0200OK
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:anton@client.b.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:151

v=0
o=Anton28908445272890844527INIP4client.b.loniis.ru
s=
c=INIP4client.b.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

http://openlib.org.ua/

F6200(OK)Proxy1>NGW1

SIP/2.0200OK
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:anton@client.b.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:151

v=0
o=Anton28908445272890844527INIP4client.b.loniis.ru
s=
c=INIP4client.b.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F7ACKNGW1>Proxy1

ACKanton@client.b.loniis.ruSIP/2.0
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
MaxForwards:70
Route:<sip:ss1.a.loniis.ru;lr>
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1ACK
ContentLength:0

F8ACKProxy1>Anton

ACKanton@client.b.loniis.ruSIP/2.0
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=130.131.132.14
MaxForwards:69
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals

http://openlib.org.ua/

To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1ACK
ContentLength:0

F9ANMNGW1>Maxim

ANM. MaximAnton
RTP(GW).

Maxim.

F10RELMaxim>NGW1

RELCauseCode=16Normal.

F11RLCNGW1>Maxim

RLC.
F12BYENGW1>Proxy1

BYEsip:anton@client.b.loniis.ruSIP/2.0
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
MaxForwards:70
Route:<sip:ss1.a.loniis.ru;lr>
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:2BYE
ContentLength:0
F13BYEProxy1>Anton

BYEsip:anton@client.b.loniis.ruSIP/2.0
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
MaxForwards:69
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:2BYE
ContentLength:0

http://openlib.org.ua/

F14200(OK)Anton>Proxy1

SIP/2.0200OK
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:2BYE
ContentLength:0

F15200(OK)Proxy1>NGW1

SIP/2.0200OK
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:2BYE
ContentLength:0

,
SIP

http://openlib.org.ua/

3.22
SIP.
MaximAnton,GW1Proxy1.
(GW) , ,
.
GW,
.
,
,.
SIP URI
sip:551313@gw1.a.loniis.ru.

>GW1

GW1>PBX(Maxim)

http://openlib.org.ua/

>GW1
F2INVITEGW1>Proxy1

INVITEsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/UDPgw1.a.loniis.ru:5060;branch=z9hG4bKwqwee65
MaxForwards:70
From:<sip:551313@gw1.a.loniis.ru;user=phone>;tag=jwdkallkzm
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@gw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:551313@gw1.a.loniis.ru;user=phone>
ContentType:application/sdp
ContentLength:146

v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=
c=INIP4gw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F3INVITEProxy1>Anton

INVITEsip:anton@client.b.loniis.ruSIP/2.0
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/UDPgw1.a.loniis.ru:5060;branch=z9hG4bKwqwee65
;received=192.0.2.201
MaxForwards:69
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:<sip:551313@gw1.a.loniis.ru;user=phone>;tag=jwdkallkzm
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@gw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:551313@gw1.a.loniis.ru;user=phone>
ContentType:application/sdp
ContentLength:146

v=0

http://openlib.org.ua/

o=GW28908445272890844527INIP4gw1.a.loniis.ru
s=
c=INIP4gw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F4100(Trying)Proxy1>GW1

SIP/2.0100Trying
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.201
From:<sip:551313@gw1.a.loniis.ru;user=phone>;tag=jwdkallkzm
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@gw1.a.loniis.ru
CSeq:1INVITE
ContentLength:0

F5180(Ringing)Anton>Proxy1

SIP/2.0180Ringing
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.201
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:<sip:551313@gw1.a.loniis.ru;user=phone>;tag=jwdkallkzm
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@gw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:anton@client.b.loniis.ru>
ContentLength:0

F6180(Ringing)Proxy1>GW1

SIP/2.0180Ringing
Via:SIP/2.0/UDPgw1.a.loniis.ru:5060;branch=z9hG4bKwqwee65
;received=192.0.2.201
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:<sip:551313@gw1.a.loniis.ru;user=phone>;tag=jwdkallkzm

http://openlib.org.ua/

To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@gw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:anton@client.b.loniis.ru>
ContentLength:0

F7200(OK)Anton>Proxy1

SIP/2.0200OK
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/UDPgw1.a.loniis.ru:5060;branch=z9hG4bKwqwee65
;received=192.0.2.201
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:<sip:551313@gw1.a.loniis.ru;user=phone>;tag=jwdkallkzm
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@gw1.a.loniis.ru
Contact:<sip:anton@client.b.loniis.ru>
CSeq:1INVITE
ContentType:application/sdp
ContentLength:151

v=0
o=Anton28908445272890844527INIP4client.b.loniis.ru
s=
c=INIP4client.b.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F8200(OK)Proxy1>GW1

SIP/2.0200OK
Via:SIP/2.0/UDPgw1.a.loniis.ru:5060;branch=z9hG4bKwqwee65
;received=192.0.2.201
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:<sip:551313@gw1.a.loniis.ru;user=phone>;tag=jwdkallkzm
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@gw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:anton@client.b.loniis.ru>

http://openlib.org.ua/

ContentType:application/sdp
ContentLength:151

v=0
o=Anton28908445272890844527INIP4client.b.loniis.ru
s=
c=INIP4client.b.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F9ACKGW1>Proxy1

ACKsip:anton@client.b.loniis.ruSIP/2.0
Via:SIP/2.0/UDPgw1.a.loniis.ru:5060;branch=z9hG4bKwqwee65
MaxForwards:70
Route:<sip:ss1.a.loniis.ru;lr>
From:<sip:551313@gw1.a.loniis.ru;user=phone>;tag=jwdkallkzm
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@gw1.a.loniis.ru
CSeq:1ACK
ContentLength:0

F10ACKProxy1>Anton

ACKsip:anton@client.b.loniis.ruSIP/2.0
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/UDPgw1.a.loniis.ru:5060;branch=z9hG4bKwqwee65
;received=192.0.2.201
MaxForwards:69
From:<sip:551313@gw1.a.loniis.ru;user=phone>;tag=jwdkallkzm
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1ACK
ContentLength:0

F11BYEGW1>Proxy1

BYEsip:anton@client.b.loniis.ruSIP/2.0
Via:SIP/2.0/UDPgw1.a.loniis.ru:5060;branch=z9hG4bKwqwee65

http://openlib.org.ua/

MaxForwards:70
Route:<sip:ss1.a.loniis.ru;lr>
From:<sip:551313@gw1.a.loniis.ru;user=phone>;tag=jwdkallkzm
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@gw1.a.loniis.ru
CSeq:2BYE
ContentLength:0

F12BYEProxy1>Anton

BYEsip:anton@client.b.loniis.ruSIP/2.0
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/UDPgw1.a.loniis.ru:5060;branch=z9hG4bKwqwee65
;received=192.0.2.201
MaxForwards:69
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@gw1.a.loniis.ru
CSeq:2BYE
ContentLength:0

F13200(OK)Anton>Proxy1

SIP/2.0200OK
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/UDPgw1.a.loniis.ru:5060;branch=z9hG4bKwqwee65
;received=192.0.2.201
From:<sip:551313@gw1.a.loniis.ru;user=phone>;tag=jwdkallkzm
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:2BYE
ContentLength:0

F14200(OK)Proxy1>GW1

SIP/2.0200OK
Via:SIP/2.0/UDPgw1.a.loniis.ru:5060;branch=z9hG4bKwqwee65
;received=192.0.2.201
From:<sip:551313@gw1.a.loniis.ru;user=phone>;tag=jwdkallkzm
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159

http://openlib.org.ua/

CallID:4Fde34wkd11wsGFDs3@gw1.a.loniis.ru
CSeq:2BYE
ContentLength:0

SIP. .

3.23
SIP. .
MaximAnton GW1 Proxy1.

,REL
Maxim.

F1IAM >GW1

IAM
CgPN=0953864515,NPI=E.164,NOA=National
CdPN=8121002516,NPI=E.164,NOA=National

F2INVITEMaxim>Proxy1

INVITEsip:+78121002516@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
MaxForwards:70
From:<sip:+70953864515@gw1.a.loniis.ru;user=phone>;tag=076342s

http://openlib.org.ua/

To:<sip:+78121002516@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@gw1.a.loniis.ru
CSeq:1INVITE
Contact:
<sip:+70953864515@gw1.a.loniis.ru;user=phone;transport=tcp>
ContentType:application/sdp
ContentLength:144

v=0
o=GW28908445272890844527INIP4gw1.a.loniis.ru
s=
c=INIP4gw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

Proxy 1
+78121002516.
,Proxy1.

F3604(DoesNotExistAnywhere)Proxy1>GW1

SIP/2.0604DoesNotExistAnywhere
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.201
From:<sip:+70953864515@gw1.a.loniis.ru;user=phone>;tag=076342s
To:<sip:+78121002516@ss1.a.loniis.ru;user=phone>;tag=6a34d410
CallID:4Fde34wkd11wsGFDs3@gw1.a.loniis.ru
CSeq:1INVITE
ErrorInfo:<sip:doesnotexist@ann.a.loniis.ru>
ContentLength:0

F4ACKGW1>Proxy1

ACKsip:+78121002516@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
MaxForwards:70
From:<sip:+70953864515@gw1.a.loniis.ru;user=phone>;tag=076342s
To:<sip:+78121002516@ss1.a.loniis.ru;user=phone>;tag=6a34d410
CallID:4Fde34wkd11wsGFDs3@gw1.a.loniis.ru
CSeq:1ACK

http://openlib.org.ua/

ContentLength:0

F5RELGW1>Maxim

RELCauseCode=1

F6RLCMaxim>GW1

RLC

SIP. .

3.24 SIP.
.

Maxim Anton NGW1


Proxy1. Anton .
Anton,600(BusyEverywhere).
REL,.
IAM (F1)Interworking,
(, ).
, , .
[RFC3398].

http://openlib.org.ua/

F1IAM >NGW1

IAM
CgPN=0953864515,NPI=E.164,NOA=National
CdPN=8122625326,NPI=E.164,NOA=National

F2INVITEMaxim>Proxy1

INVITEsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
MaxForwards:70
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:144

v=0
o=GW28908445272890844527INIP4gw1.a.loniis.ru
s=
c=INIP4gw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000
F3INVITEF3Proxy1>Anton

INVITEanton@b.loniis.ruSIP/2.0
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.201
MaxForwards:69
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:144

http://openlib.org.ua/


v=0
o=GW28908445272890844527INIP4gw1.a.loniis.ru
s=
c=INIP4gw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F4100(Trying)Proxy1>NGW1

SIP/2.0100Trying
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.201
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
ContentLength:0

F5600(BusyEverywhere)Anton>Proxy1

SIP/2.0600BusyEverywhere
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.201
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
ContentLength:0

F6ACKProxy1>Anton

ACKanton@b.loniis.ruSIP/2.0
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
MaxForwards:70
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159

http://openlib.org.ua/

CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1ACK
ContentLength:0

F7600(BusyEverywhere)Proxy1>NGW1

SIP/2.0600BusyEverywhere
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.201
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
ContentLength:0

F8ACKNGW1>Proxy1

ACKanton@b.loniis.ruSIP/2.0
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
MaxForwards:70
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1ACK
ContentLength:0

F9RELNGW1>Maxim

RELCauseCode=17Busy

F10RLCMaxim>NGW1

RLC

. . IAM
interworking.

http://openlib.org.ua/

3.25
SIP. .IAM interworking.
MaximAntonNetworkGatewayNGW1
Proxy1.Anton.
, . NGW 1
Maxim.
.
, .. IAM (F1)
interworking.REL
,..interworking.

F1IAM >NGW1

IAM
CgPN=0953864515,NPI=E.164,NOA=National
CdPN=8122625326,NPI=E.164,NOA=National
Interworking=encountered

F2INVITENGW1>Proxy1

INVITEsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2

http://openlib.org.ua/

MaxForwards:70
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:146

v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=
c=INIP4ngw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F3INVITEProxy1>Anton

INVITEanton@b.loniis.ruSIP/2.0
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
MaxForwards:69
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:146

v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=
c=INIP4ngw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F4100(Trying)Anton>Proxy1

http://openlib.org.ua/

SIP/2.0100Trying
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
ContentLength:0
F5600(BusyEverywhere)Anton>Proxy1

SIP/2.0600BusyEverywhere
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
ContentLength:0

F6ACKProxy1>Anton

ACKanton@b.loniis.ruSIP/2.0
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
MaxForwards:70
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1ACK
ContentLength:0

F7600(BusyEverywhere)Proxy1>NGW1

SIP/2.0600BusyEverywhere
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE

http://openlib.org.ua/

ContentLength:0

F8ACKNGW1>Proxy1

ACKsip:ngw1@a.loniis.ruSIP/2.0
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
MaxForwards:70
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1ACK
ContentLength:0

F9ACMNGW1>Maxim

ACM

NGW1 Maxim.
,Maxim.

F10RELMaxim>NGW1

RELCauseCode=16

F11RLCNGW1>Maxim

RLC

. .

http://openlib.org.ua/

3.26
. .
Maxim Anton NGW1 Proxy 1.
INVITE,AntonT1.
Anton.,
,
REL.CANCEL.

F1IAM >NGW1

IAM
CgPN=0953864515,NPI=E.164,NOA=National
CdPN=8122625326,NPI=E.164,NOA=National
F2INVITEMaxim>Proxy1

INVITEsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
MaxForwards:70
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru

http://openlib.org.ua/

CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru>
ContentType:application/sdp
ContentLength:146

v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=
c=INIP4ngw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F3INVITEProxy1>Anton

INVITEsip:anton@b.loniis.ruSIP/2.0
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
MaxForwards:69
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru>
ContentType:application/sdp
ContentLength:146

v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
cc=INIP4ngw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F4100(Trying)Proxy1>NGW1

SIP/2.0100Trying
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>

http://openlib.org.ua/

CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
ContentLength:0

F5INVITEProxy1>Anton

F3

F6INVITEProxy1>Anton
F3

F7INVITEProxy1>Anton

F3

F8INVITEProxy1>Anton

F3
F9INVITEProxy1>Anton

F3

F10RELMaxim>NGW1

RELCauseCode=16Normal

F11RLCNGW1>Maxim

RLC

F12CANCELNGW1>Proxy1

CANCELsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
MaxForwards:70
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals

http://openlib.org.ua/

To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1CANCEL
ContentLength:0

F13200(OK)Proxy1>NGW1

SIP/2.0200OK
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1CANCEL
ContentLength:0

. .
.

3.27
. . .
Maxim Anton NGW1
Proxy1. ,
100(Trying).NGW1INVITE,SIP
T1. Anton .

http://openlib.org.ua/

REL (CauseCode=102
Timeout).

F1IAM >NGW1

IAM
CgPN=0953864515,NPI=E.164,NOA=National
CdPN=8122625326,NPI=E.164,NOA=National

F2INVITENGW1>Proxy1

INVITEsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
MaxForwards:70
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru>
ContentType:application/sdp
ContentLength:146

v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=
c=INIP4ngw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F3INVITEProxy1>Anton

INVITEsip:anton@b.loniis.ruSIP/2.0
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/UDPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.201
MaxForwards:69
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru

http://openlib.org.ua/

CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru>
ContentType:application/sdp
ContentLength:146

v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=
c=INIP4ngw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F4INVITENGW1>Proxy1

F2

F5INVITEProxy1>Anton

F3
F6INVITENGW1>Proxy1

F2

F7INVITEProxy1>Anton

F3

F8INVITENGW1>Proxy1

F2

F9INVITEProxy1>Anton

F3

F10INVITENGW1>Proxy1

http://openlib.org.ua/


F2

F11INVITEProxy1>Anton

F3

F12INVITENGW1>Proxy1

F2

F13INVITEProxy1>Anton

F3

F14RELMaxim>NGW1

RELCauseCode=102Timeout

F15RLCNGW1>Maxim

RLC

.
.

http://openlib.org.ua/

3.28 .
.

MaximAntonNGW1
Proxy1.,. NGW1
Maxim
,..IAMinterworking.Maxim,
, REL,
CANCEL.Anton200(),
REL, NGW1 ACK,
BYE.

F1IAM >NGW1

http://openlib.org.ua/


IAM
CgPN=0953864515,NPI=E.164,NOA=National
CdPN=8122625326,NPI=E.164,NOA=National

F2INVITEMaxim>Proxy1

INVITEsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
MaxForwards:70
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:146

v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=
c=INIP4ngw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F3INVITEProxy1>Anton

INVITEsip:anton@b.loniis.ruSIP/2.0
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
MaxForwards:69
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:146

v=0

http://openlib.org.ua/

o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=
c=INIP4ngw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F4100(Trying)Anton>Proxy1

SIP/2.0100Trying
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.201
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
ContentLength:0

F5180(Ringing)Anton>Proxy1

SIP/2.0180Ringing
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:anton@client.b.loniis.ru;transport=tcp>
ContentLength:0

F6180(Ringing)Proxy1>NGW1

SIP/2.0180Ringing
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals

http://openlib.org.ua/

To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
Contact:<sip:anton@client.b.loniis.ru>
ContentLength:0

F7ACMNGW1>Maxim

ACM

Maxim

F8RELMaxim>NGW1

RELCauseCode=16Normal

F9RLCNGW1>Maxim

RLC

F10CANCELNGW1>Proxy1

CANCELsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
MaxForwards:70
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1CANCEL
ContentLength:0

F11200(OK)Proxy1>NGW1

SIP/2.0200OK
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1CANCEL
ContentLength:0

http://openlib.org.ua/


F12CANCELProxy1>Anton

CANCELsip:anton@b.loniis.ruSIP/2.0
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
MaxForwards:70
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1CANCEL
ContentLength:0

F13200(OK)Anton>Proxy1

SIP/2.0200OK
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1CANCEL
ContentLength:0

F14487(RequestTerminated)Anton>Proxy1

SIP/2.0487RequestTerminated
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
ContentLength:0
F15ACKProxy1>Anton

ACKsip:anton@b.loniis.ruSIP/2.0
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
MaxForwards:70
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159

http://openlib.org.ua/

CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1ACK
ContentLength:0

F16487(RequestTerminated)Proxy1>NGW1

SIP/2.0487RequestTerminated
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
;received=192.0.2.103
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1INVITE
ContentLength:0

F17ACKNGW1>Proxy1

ACKsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/TCPngw1.a.loniis.ru:5060;branch=z9hG4bKlueha2
MaxForwards:70
From:<sip:+70953864515@ngw1.a.loniis.ru;user=phone>;tag=7643kals
To:<sip:+78122625326@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:4Fde34wkd11wsGFDs3@ngw1.a.loniis.ru
CSeq:1ACK
ContentLength:0

http://openlib.org.ua/

3.6.4 SIPISUP
3.2.4.1

SIP.INVITE100
(Trying),SIP.
, , (SIP ISUP)
MGC; (,
, ..) MG MGC.
,MGC/MG.
( )

SIP
1

MGC/MG
INVITE
100(Trying)

IAM

18

6
8

18
200OK

ACM
CPG
ANM

3
5
7

ACK

3.29 SIP .

SIP , SIP
INVITE.
,SIP,
IAM,.
,
,
ACM.
called party status () ACM
SIP

http://openlib.org.ua/

. SDP
().SDP
,8.
ISUP ,
CGP,.
CGP ,
.
( )
ANM.
, ANM,200()
SIP.
SIPACK
.

( )

SIP
1

MGC/MG

INVITE
100(Trying)

IAM

CON
4

200OK

ACK

3.30 SIP .
.

ISUPANSI
1. SIP
INVITE.
2. INVITE IAM,
.
3. ,
CONIAM.
4. CON200SIP.
5. SIP ,
,ACK.

http://openlib.org.ua/

SIP
1

MGC/MG
INVITE
100(Trying)

IAM

7
MG

4
5

504(ServerTimeOut)

REL

ACK

RLC

3.31 7 .

SIP,
INVITE.
INVITE IAM,
.7.
,ACMCON
REL.
SIP 504(Version Not Supported)
.
,SIPACK.

SIP

http://openlib.org.ua/


SIP
1

MGC/MG

INVITE
100(Trying)

IAM

CON
4

200OK

200OK

200OK

200OK

200OK

200OK

5
7

200OK

1
MG

BYE

REL

RLC

6
8

3.32 1SIP.

2
3
4

5
6
7
8

SIP ,
INVITE.
INVITE IAM,
.
,
CON,IAM.ISUPANSICONANM(
ACM).
CON SIP 200 (OK)
1.
,.
,
REL102(recoverontimerexpiry).
SIP BYE
. ,
SIP.
RELRLC.

http://openlib.org.ua/

SIP
1

MGC/MG
INVITE
100(Trying)

IAM
REL

5
6

RLC

2
3
4

ACK

3.33 SIP .

SIP
INVITE.
INVITEIAM,
.
,
REL.

RLC.
SIP ,
REL.
SIP
ACK.

http://openlib.org.ua/


SIP
1

MGC/MG
INVITE
100(Trying)

IAM

183(SessionProgress)
SDP

ACM

5
8

4
ACK

REL
RLC

6
7

3.34 . .

SIP
INVITE.
INVITE IAM,
.
(,
), ACM
..
( CAI)
SIP183(Sessionprogress),
SDP.
INVITE
SIP.
REL
. SIP
,( CANCEL),
.
RELRLC.
SIP,.

SIP

http://openlib.org.ua/


SIP
1

MGC/MG
INVITE
100(Trying)

IAM

18

ACM

MGSIP

5
6

8
10

CANCEL
200OK

MG

487(Request
Terminated)
ACK

REL
RLC

7
9

3.35 . .

11
12
13
14

15
16
17
18
19
20

SIP
INVITE.
INVITE IAM,
.
,
,ACM.
called party status ( ) ACM
SIP
. SDP
.
,,
SIPCANCEL.
200().
CANCELREL.
487(Request Terminated) SIP,
INVITE.
RELRLC.
SIP487(CallCancelled)ACK.

3.6.4.2 SIPT SIPISUP

http://openlib.org.ua/

Idle
INVITE
7

Trying

CANCEL

ACM

CANCEL

REL

CON
ANM

Progressing
CPG

9
CANCEL

REL

Alerting

CPG

ANM

REL

BYE

Connected

REL

3.36 SIPT SIPISUP.

INVITE
INVITESIP100
(Trying),,.

, IAM .
1/1RTP/UDP
SIP.
.
,IAM7.
INVITEIAM
IAM:CalledParty
Number (CPN), Nature of Connection Indicator (NCI), Forward Call Indicators (FCI), Calling
Party's Category (CPC), ,
ISUP

http://openlib.org.ua/

Transmission Medium Requirement (TMR), User Service


Information(USI) . IAM
.
,
INVITE.(
NCI USI) ,
. , CPN, ,
INVITE.
IAM .
SIPISUP,.
, SIP
, ISUP
.,SIP
SIP,.
: Calling Party's Number
(CIN, ), Transit Network Selection (TNS), Carrier Identification
Parameter(CIP,ANSI),OriginalCalledNumber(OCN),GenericDigits(
GenericAddressParameter(GAP)).
INVITE,
IAMISUP,.,
IAM
.
, ISUP
.
, IAM
, SIP
, . ,
ISUPSIPISUP SIP
.
SIP,,.
,INVITEIAM
CPN, +78125332699, RequestURI
INVITEtel:+70955550110.
IAM,RequestURI,
, CPN IAM.
SIPISUP.

ISUP,
(SIP)(NCITMR),
ISUP.FCI
, M
, ,

http://openlib.org.ua/

.
INVITE IAM
RequestURI.
,
npdirnRequestURI.
.[NumberPortabilityintheGlobalSwitchedTelephoneNetwork
(GSTN):AnOverview,RFC3482].
RequestURI npdi=yes,
telURL(tel:)
ISUPCPN.
npdi=yes , number translated FCI,
IAM, ,
.
npdi=yes rn,
telURL(tel:)
ISUP CPN. ,
,.
npdi=yes rn,
rn ISUP
CPN.telURLISUP
GenericDigitsParameter(GAPANSIISUP).
ISUP , rn
(,)
CPN.

,
.
,
tel URL ISUP
CPN.
RequestURI To
, o OCN.
o.
SIPT
().
[RFC3398].
SIP , RequestURI
tel URL ( SIP URI tel URL).
, RequestURI
,,
.

http://openlib.org.ua/

, From
., SIP,
user@host.
IAMCIN.
SIPURI.

ISUP, IAM FCI


,
ISUP.no
interworking.,,
ISUP, IAM Interworking
Indicator FCI 'no interworking', ISDN User Part Indicator
ISUPusedalltheway;OriginatingAccess
IndicatorOriginatingaccessnonISDN.
FCI 'interworking encountered',
,ISUP,
,ISUP.ISUP
,,[causecode]
.,
,
,FCI,
.
ISUP7
,MG
. SIP 504 (Server Timeout).
REL 102 ( ,
).RLC
SIPACK,.
CANCELBYE
CANCEL BYE ,
,SIP200()
CANCEL BYE; 487 (Request
Terminated)INVITE.,
REL 16 (normal clearing).
RLC,.
, SIP , REL
BYE.BYE
16(normalclearing),REL

http://openlib.org.ua/

. Cause Indicator
REL,.
CANCEL BYE Reason,
Cause Indicator. BYE
Reason, ISUP, Reason
.
REL
REL
,REL
,.,
.
,
RLC.
INVITE,,
ISUP, ISUP
INVITE. , REL
SIP.
ISUP,
ISUPINVITE.
ISUP
IAM Blocking Message (BLO), Reset Message (RSC)
.
ISDN SIP
REL 7
,. SIP
,, RELBYE,
CANCEL,. ISUP REL
(BYE SIP),
, (CANCEL SIP),
,(SIP).
ISUP SIP,..
ISUP.
44 (Requestcircuitorchannelnotavailable)., CIC,
IAM,.
IAMCIC,.,,
SIP,..
.

http://openlib.org.ua/

,ISUP44(Requestcircuitorchannelnot
available)SIP.
,
500(Serverinternalerror).
ISDNCAI,
location, , .
location SIP;
. ISDN
, ,
.
:
3.9
ISUP
1unallocatednumber
2noroutetonetwork
3noroutetodestination
16normalcallclearing
17userbusy
18nouserresponding
19noanswerfromtheuser
20subscriberabsent
21callrejected
22numberchanged(w/odiagnostic)
22numberchanged(w/diagnostic)
23redirectiontonewdestination
26nonselecteduserclearing
27destinationoutoforder
28addressincomplete
29facilityrejected
31normalunspecified

SIP
404NotFound
404Notfound
404Notfound
(*)
486Busyhere
408RequestTimeout
480Temporarilyunavailable
480Temporarilyunavailable
403Forbidden(+)
410Gone
301MovedPermanently
410Gone
404NotFound(=)
502BadGateway
484Addressincomplete
501Notimplemented
480Temporarilyunavailable

(*)ISUP16(normalcallclearing)BYE
CANCEL
(+)locationuser,4
6(403603)
(=) ANSI ANSI 26
misrouted ported number. ,
. 26
ISUP.
REL ISUP 22 (number changed)
diagnostics.

http://openlib.org.ua/

, Contact
SIP(301).

,
.SIP
RetryAfter.
3.10
ISUP
34nocircuitavailable
38networkoutoforder
41temporaryfailure
42switchingequipmentcongestion
47resourceunavailable

SIP
503Serviceunavailable
503Serviceunavailable
503Serviceunavailable
503Serviceunavailable
503Serviceunavailable

.
,
,.
3.11
ISUP
55incomingcallsbarredwithinCUG
57bearercapabilitynotauthorized
58bearercapabilitynotpresently
available

SIP
403Forbidden
403Forbidden
503Serviceunavailable

3.12
ISUP
65bearercapabilitynotimplemented
70onlyrestricteddigitalavail
79serviceoroptionnotimplemented

SIP
488NotAcceptableHere
488NotAcceptableHere
501Notimplemented

ISUP
87usernotmemberofCUG
88incompatibledestination

3.13
SIP
403Forbidden
503Serviceunavailable

http://openlib.org.ua/

3.14
ISUP
102recoveryoftimerexpiry
111protocolerror

SIP
504Gatewaytimeout
500Serverinternalerror

3.15
ISUP
127interworkingunspecified

SIP
500Serverinternalerror

ACM
,,
ISUP,
Alerting. , , ,
.
,Alerting
, 7 9.
,CalledParty'sStatusIndicator
00(noindication).
,,ISUP
CPG,.
, 183
(SessionProgress)SIP.,SIP
.
183 (Session Progress) ,
() SIP (SIP
bridging),,,.


( 18) SIP. INVITE,
,
ISUP, ,
,SIP.
BackwardCallIndicatorssubscriberfree,
180 (Ringing).
,(SIPuser

http://openlib.org.ua/

agent)..
Backward Call Indicators (BCI),
(
,
),
( ). , ,
.
, ACM Optional Backward Call
Indicators ,
.,,
183(SessionProgress)SIP.
ISUP
9,903.,

,,

(,)ISUP
..
,
9,ANM,
.ISUP
ANM.
9.
CONANM
CONANM,
SIP200().,
SIP ( INVITE
) CON ANM
200(),SIP.
,.
,ISUP,
ANM(
CPG ), (
). SIP
18(.)
, .
(,
SDP).
9

http://openlib.org.ua/

.,
ANM(
). ,
, .
, (,
) .
,
. ,
. SIP 480(TemporarilyUnavailable),
REL19(noanswerfromtheuser).
RLC ACK SIP
.
CPG
CPG,:

;
;
.

CPG , ,
.
SIP,CPG
18,SIPCPG
:
3.16
ISUP
1Alerting
2Progress
3Inbandinformation
4Callforward;linebusy
5Callforward;noreply
6Callforward;unconditional

SIPresponse
180Ringing
183Sessionprogress
183Sessionprogress
181Callisbeingforwarded
181Callisbeingforwarded
181Callisbeingforwarded
183Sessionprogress

CPG , ,
.

http://openlib.org.ua/


.ISUP.

3.6.4.3SDL
SIP
S0

SIP

Idle
INVITE

100(Trying)

IAM

ISUPT7

S1

Trying

3.37Trying
S1

SIP

REL

ISUP7

RLC
507(Server
Timeout)

REL

487(Request
Terminated)
1

RLC

S0

Idle

ACM

183(Session
Progress)

18

ISUP7

ISUP9

CON
ANM

CANCEL
200OK

200OK

487(Request
Terminated)

REL

ISUP9

S6

ACK

ACK
S6

E.ACM

S6

S6

Trying

ACK
S0

Idle

S2

Progressing

S3

Alerting

S4

S6

RLC

1.REL
102(RecoveryOfTimerExpiry).
2.EarlyACMACM.
ISUP.

S0

Idle

3.REL
16(NormalClearing)

3.38 Trying

http://openlib.org.ua/

S2

SIP

Progressing

CPG


ISUPT9

CANCEL

18

480(Temporarily
Unavailable)

REL

200OK
487(Request
Terminated)

REL

S6

S6

ACK
ACK
S6

RLC

S0

Idle

S3

S6

Alerting

1.REL
19(NoAnswer
FromTheUser).
2.REL
16(NormalClearing).

RLC

S0

Idle

3.39 Progressing

http://openlib.org.ua/

SIP

RLC

480(Temporarily
Unavailable)
1

Alerting

REL


ISUPT9

REL

S3

CPG

ANM

CANCEL

200OK

180(Ringing)

200OK
487(Request
Terminated)

487(Request
Terminated)

REL

S6

S6

S6

ACK

ACK

ACK

S6

S4
S0

S3

Idle

Alerting

S6

RLC

RLC

1.REL
19(NoAnswerFromTheUser).
S0

2.REL
16(NormalClearing).

Idle

S0

Idle

3.40 Alerting
SIP

S4

ACK

REL
RLC
487(Request
Terminated)
S6

S5

ACK

Connected
S0

Idle

http://openlib.org.ua/

3.41 ACK
SIP

S5

Connected

BYE

REL

200OK

RLC

REL

BYE

S6

S6

RLC

S0

200OK

S0

Idle

Idle

3.42 Connected
:
S0Idle
S1 Trying INVITE,
.
S2 Progressing ,
18.
S3 Alerting
,,200
.
S4ACK
,.
S5 Connected
.
S6.

3.6.4.4 SIP
Maxim (sip:max@loniis.ru) SIP

http://openlib.org.ua/

SIP. Anton
+78122625326.
Maxim Proxy1, Network Gateway.
MaximAleksey,
2:4443333[privateextension]+7812
1002516.,MaximFromINVITE
+78122625326. ,
callingpartynumberISUP.
.
. ,
( ,
. ).
, , .
183 (Session Progress),
SDP.
,
.
ISUP SIP.
,
SIPUAC.
SIP

http://openlib.org.ua/

3.43 . SIP
.
Maxim+78122625326 E.164
,Anton. 7(
)., SIP UA
SIP URI.
SIPURItelURI.
Maxim From SIP (sip:max@loniis.ru)
SIP (sip:+70953864515@ss1.loniis.ru;user=phone).
,NGW1
(callingpartyidentification).
.
Anton,Maxim
.
F7F11,,
Contact sip:ngw1@a.loniis.ru. , NGW1
,Proxy1.

http://openlib.org.ua/

Contact
, URI Contact NGW1 Proxy1. URI
DNS Proxy1 (sip:ss1.a.loniis.ru),
sip:ngw1.a.loniis.ru,NGW1.
TCP.
:
F1INVITEMaxim>Proxy1
INVITEsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
MaxForwards:70
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:max@client.a.loniis.ru;transport=tcp>
ProxyAuthorization:Digestusername="Max",realm="a.loniis.ru",
nonce="dc3a5ab25302aa931904ba7d88fa1cf5",opaque="",
uri="sip:+78122625326@ss1.a.loniis.ru;user=phone",
response="ccdca50cb091d587421457305d097458c"
ContentType:application/sdp
ContentLength:154
v=0
o=Max28908445262890844526INIP4client.a.loniis.ru
s=
c=INIP4client.a.loniis.ru
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000

F2100(Trying)Proxy1>Maxim
SIP/2.0100Trying
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl

http://openlib.org.ua/

To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
ContentLength:0
Proxy1
. NGW1. ,
Maxim 49172
.
F3INVITEProxy1>NGW1
INVITEsip:+78122625326@ngw1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
MaxForwards:69
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:max@client.a.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:154
v=0
o=Max28908445262890844526INIP4client.a.loniis.ru
s=
c=INIP4client.a.loniis.ru
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000
F4100(Trying)NGW1>Proxy1
SIP/2.0100Trying
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>

http://openlib.org.ua/

CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
ContentLength:0
F5IAMNGW1>
IAM
CdPN=8122625326,NPI=E.164,NOA=National
CgPN=0953864515,NPI=E.164,NOA=National
F6ACM >NGW1
ACM
F7183SessionProgressNGW1>Proxy1
SIP/2.0183SessionProgress
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:146
v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=
c=INIP4ngw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000
NGW1()RTPMaxim
F8183(SessionProgress)Proxy1>Maxim

http://openlib.org.ua/

SIP/2.0183SessionProgress
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:146
v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=
c=INIP4ngw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F9ANM >NGW1
ANM

F10200(OK)NGW1>Proxy1
SIP/2.0200OK
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE

http://openlib.org.ua/

Contact:<sip:ngw1@a.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:146
v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=
c=INIP4gw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F11200(OK)Proxy1>Maxim
SIP/2.0200OK
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:146
v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=
c=INIP4ngw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F12ACKMaxim>Proxy1
ACKsip:ngw1@a.loniis.ruSIP/2.0
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
MaxForwards:70

http://openlib.org.ua/

Route:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1ACK
ContentLength:0
F13ACKProxy1>NGW1
ACKsip:ngw1@a.loniis.ruSIP/2.0
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
MaxForwards:69
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1ACK
ContentLength:0
Maxim,Anton.
F14BYEMaxim>Proxy1
BYEsip:ngw1@a.loniis.ruSIP/2.0
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
MaxForwards:70
Route:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2BYE
ContentLength:0
F15BYEProxy1>NGW1
BYEsip:ngw1@a.loniis.ruSIP/2.0

http://openlib.org.ua/

Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
MaxForwards:69
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2BYE
ContentLength:0
F16200(OK)NGW1>Proxy1
SIP/2.0200OK
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2BYE
ContentLength:0
F17200(OK)Proxy1>Maxim
SIP/2.0200OK
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2BYE
ContentLength:0
F18RELNGW1>
RELCauseCode=16Normal

http://openlib.org.ua/

F19RLC >NGW1
RLC
SIP .

3.44 .
SIP , .

Maxim SIP,Alexey.
DSS.
ISDN. Maxim (+78123875333),

http://openlib.org.ua/

SIPURI.
, RequestURI INVITE F3,
,
(,)4443333.,
INVITEF3.
Proxy 1 ,
. Alexey 4443333,
RequestURI,.
, Contact GW 1, F8,
F9, F12, F13 sips:4443333@gw1.a.loniis.ru,
.
SIPSURI.

F1INVITEMaxim>Proxy1
INVITEsips:+78123875333@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/TLSclient.a.loniis.ru:5061;branch=z9hG4bK74bf9
MaxForwards:70
From:Max<sips:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Carol<sips:+78123875333@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2INVITE
Contact:<sips:max@client.a.loniis.ru>
ProxyAuthorization:Digestusername="Max",
realm="a.loniis.ru",nonce="qo0dc3a5ab22aa931904badfa1cf5j9h",
opaque="",uri="sips:+78123875333@ss1.a.loniis.ru;user=phone",
response="6c792f5c9fa360358b93c7fb826bf550"
ContentType:application/sdp
ContentLength:154
v=0
o=Max28908445262890844526INIP4client.a.loniis.ru
s=
c=INIP4client.a.loniis.ru
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000
F2100(Trying)Proxy1>Maxim

http://openlib.org.ua/

SIP/2.0100Trying
Via:SIP/2.0/TLSclient.a.loniis.ru:5061;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Max<sips:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Carol<sips:+78123875333@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2INVITE
ContentLength:0

F3INVITEProxy1>GW1
INVITEsips:4443333@gw1.a.loniis.ruSIP/2.0
Via:SIP/2.0/TLSss1.a.loniis.ru:5061;branch=z9hG4bK2d4790.1
Via:SIP/2.0/TLSclient.a.loniis.ru:5061;branch=z9hG4bK74bf9
;received=192.0.2.101
MaxForwards:69
RecordRoute:<sips:ss1.a.loniis.ru;lr>
From:Max<sips:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Carol<sips:+78123875333@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2INVITE
Contact:<sips:max@client.a.loniis.ru>
ContentType:application/sdp
ContentLength:154
v=0
o=Max28908445262890844526INIP4client.a.loniis.ru
s=
c=INIP4client.a.loniis.ru
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000
F4100(Trying)GW>Proxy1
SIP/2.0100Trying
Via:SIP/2.0/TLSss1.a.loniis.ru:5061;branch=z9hG4bK2d4790.1
;received=192.0.2.111
From:Max<sips:+70953864515@ss1.a.loniis.ru;user=phone>

http://openlib.org.ua/

;tag=9fxced76sl
To:Carol<sips:+78123875333@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2INVITE
ContentLength:0
F5SETUPGW1>
Protocoldiscriminator=Q.931
Messagetype=SETUP
Bearercapability:Informationtransfercapability=0(Speech)or16
(3.1kHzaudio)
Channelidentification=PreferredorexclusiveBchannel
Progressindicator=1(CallisnotendtoendISDN;furthercall
progressinformationmaybeavailableinband)
Calledpartynumber:
Typeofnumberunknown
Digits=4443333

F6CALLPROCeeding >GW1
Protocoldiscriminator=Q.931
Messagetype=CALLPROC
Channelidentification=ExclusiveBchannel
F7PROGress >GW1
Protocoldiscriminator=Q.931
Messagetype=PROG
Progressindicator=1
F8180(Ringing)GW1>Proxy1
SIP/2.0180Ringing
Via:SIP/2.0/TLSss1.a.loniis.ru:5061;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TLSclient.a.loniis.ru:5061;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sips:ss1.a.loniis.ru;lr>
From:Max<sips:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Carol<sips:+78123875333@ss1.a.loniis.ru;user=phone>

http://openlib.org.ua/

;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2INVITE
Contact:<sips:4443333@gw1.a.loniis.ru>
ContentLength:0
F9180(Ringing)Proxy1>Maxim
SIP/2.0180Ringing
Via:SIP/2.0/TLSclient.a.loniis.ru:5061;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sips:ss1.a.loniis.ru;lr>
From:Max<sips:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Carol<sips:+78123875333@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2INVITE
Contact:<sips:4443333@gw1.a.loniis.ru>
ContentLength:0
F10CONNect >GW1
Protocoldiscriminator=Q.931
Messagetype=CONN

F11CONNectACKGW1>
Protocoldiscriminator=Q.931
Messagetype=CONNACK

F12200(OK)GW1>Proxy1
SIP/2.0200OK
Via:SIP/2.0/TLSss1.a.loniis.ru:5061;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TLSclient.a.loniis.ru:5061;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sips:ss1.a.loniis.ru;lr>
From:Max<sips:+70953864515@ss1.a.loniis.ru;user=phone>

http://openlib.org.ua/

;tag=9fxced76sl
To:Carol<sips:+78123875333@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2INVITE
Contact:<sips:4443333@gw1.a.loniis.ru>
ContentType:application/sdp
ContentLength:144
v=0
o=GW28908445272890844527INIP4gw1.a.loniis.ru
s=
c=INIP4gw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000
F13200(OK)Proxy1>Maxim
SIP/2.0200OK
Via:SIP/2.0/TLSclient.a.loniis.ru:5061;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sips:ss1.a.loniis.ru;lr>
From:Max<sips:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Carol<sips:+78123875333@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2INVITE
Contact:<sips:4443333@gw1.a.loniis.ru>
ContentType:application/sdp
ContentLength:144
v=0
o=GW28908445272890844527INIP4gw1.a.loniis.ru
s=
c=INIP4gw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

F14ACKMaxim>Proxy1

http://openlib.org.ua/

ACKsips:4443333@gw1.a.loniis.ruSIP/2.0
Via:SIP/2.0/TLSclient.a.loniis.ru:5061;branch=z9hG4bK74bf9
MaxForwards:70
Route:<sips:ss1.a.loniis.ru;lr>
From:Max<sips:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Carol<sips:+78123875333@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2ACK
ContentLength:0
F15ACKProxy1>GW1
ACKsips:4443333@gw1.a.loniis.ruSIP/2.0
Via:SIP/2.0/TLSss1.a.loniis.ru:5061;branch=z9hG4bK2d4790.1
Via:SIP/2.0/TLSclient.a.loniis.ru:5061;branch=z9hG4bK74bf9
;received=192.0.2.101
MaxForwards:69
From:Max<sips:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Carol<sips:+78123875333@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2ACK
ContentLength:0
Maxim,Alexey.
F16BYEMaxim>Proxy1
BYEsips:4443333@gw1.a.loniis.ruSIP/2.0
Via:SIP/2.0/TLSclient.a.loniis.ru:5061;branch=z9hG4bK74bf9
MaxForwards:70
Route:<sips:ss1.a.loniis.ru;lr>
From:Max<sips:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Carol<sips:+78123875333@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:3BYE
ContentLength:0

http://openlib.org.ua/

F17BYEProxy1>GW1
BYEsips:4443333@gw1.a.loniis.ruSIP/2.0
Via:SIP/2.0/TLSss1.a.loniis.ru:5061;branch=z9hG4bK2d4790.1
Via:SIP/2.0/TLSclient.a.loniis.ru:5061;branch=z9hG4bK74bf9
;received=192.0.2.101
MaxForwards:69
From:Max<sips:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Carol<sips:+78123875333@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:3BYE
ContentLength:0
F18200(OK)GW1>Proxy1
SIP/2.0200OK
Via:SIP/2.0/TLSss1.a.loniis.ru:5061;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TLSclient.a.loniis.ru:5061;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Max<sips:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Carol<sips:+78123875333@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:3BYE
ContentLength:0
F19200(OK)Proxy1>Maxim
SIP/2.0200OK
Via:SIP/2.0/TLSclient.a.loniis.ru:5061;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Max<sips:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Carol<sips:+78123875333@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:3BYE
ContentLength:0

http://openlib.org.ua/

F20DISConnectGW1>
Protocoldiscriminator=Q.931
Messagetype=DISC
Cause=16(Normalclearing)
F21RELease >GW1
Protocoldiscriminator=Q.931
Messagetype=REL
F22RELeaseCOMpleteGW1>
Protocoldiscriminator=Q.931
Messagetype=RELCOM

SIP

http://openlib.org.ua/

3.45 . SIP
.
Maxim Anton Proxy 1. Proxy 1
NetworkGatewayNGW1.
( ) ,
503(ServiceUnavailable). Proxy 1
NetworkGatewayNGW2.Anton.,Maxim
.
UDP.

F1INVITEMaxim>Proxy1
INVITEsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9

http://openlib.org.ua/

MaxForwards:70
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:max@client.a.loniis.ru>
ProxyAuthorization:Digestusername="Max",
realm="a.loniis.ru",nonce="b59311c3ba05b401cf80b2a2c5ac51b0",
opaque="",uri="sip:+78122625326@ss1.a.loniis.ru;user=phone",
response="ba6ab44923fa2614b28e3e3957789ab0"
ContentType:application/sdp
ContentLength:154
v=0
o=Max28908445262890844526INIP4client.a.loniis.ru
s=
c=INIP4client.a.loniis.ru
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000
Proxy 1
Anton. Proxy 1
NGW1NGW2.NGW1
F2INVITEProxy1>NGW1
INVITEsip:+78122625326@ngw1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
MaxForwards:69
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:max@client.a.loniis.ru>
ContentType:application/sdp
ContentLength:154

http://openlib.org.ua/

v=0
o=Max28908445262890844526INIP4client.a.loniis.ru
s=
c=INIP4client.a.loniis.ru
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000

F3100(Trying)Proxy1>Maxim
SIP/2.0100Trying
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
ContentLength:0
F4503(ServiceUnavailable)NGW1>Proxy1
SIP/2.0503ServiceUnavailable
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=123456789
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
ContentLength:0
F5ACKProxy1>NGW1
ACKsip:ngw1@a.loniis.ruSIP/2.0
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1

http://openlib.org.ua/

MaxForwards:70
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru>;user=phone>
;tag=123456789
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1ACK
ContentLength:0
Proxy1NGW2
F6INVITEProxy1>NGW2
INVITEsip:+78122625326@ngw2.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.2
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
MaxForwards:69
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:max@client.a.loniis.ru>
ContentType:application/sdp
ContentLength:154
v=0
o=Max28908445262890844526INIP4client.a.loniis.ru
s=
c=INIP4client.a.loniis.ru
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000

F7IAMNGW2>
IAM
CdPN=8122625326,NPI=E.164,NOA=National
CgPN=0953864515,NPI=E.164,NOA=National

http://openlib.org.ua/

F8ACM >NGW2
ACM
F9183(SessionProgress)NGW2>Proxy1
SIP/2.0183SessionProgress
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.2
;received=192.0.2.111
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw2@a.loniis.ru>
ContentType:application/sdp
ContentLength:146
v=0
o=GW28908445272890844527INIP4ngw2.a.loniis.ru
s=
c=INIP4ngw2.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000
MaximRTP().
F10183(SessionProgress)Proxy1>Maxim
SIP/2.0183SessionProgress
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159

http://openlib.org.ua/

CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw2@a.loniis.ru>
ContentType:application/sdp
ContentLength:146
v=0
o=GW28908445272890844527INIP4ngw2.a.loniis.ru
s=
c=INIP4ngw2.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000
F11ANM >NGW2
ANM
F12200(OK)NGW2>Proxy1
SIP/2.0200OK
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.2
;received=192.0.2.111
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw2@a.loniis.ru>
ContentType:application/sdp
ContentLength:146
v=0
o=GW28908445272890844527INIP4ngw2.a.loniis.ru
s=
c=INIP4ngw2.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

http://openlib.org.ua/

F13200(OK)Proxy1>Maxim
SIP/2.0200OK
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw2@a.loniis.ru>
ContentType:application/sdp
ContentLength:146
v=0
o=GW28908445272890844527INIP4ngw2.a.loniis.ru
s=
c=INIP4ngw2.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000
F14ACKMaxim>Proxy1
ACKsip:ngw2@a.loniis.ruSIP/2.0
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
MaxForwards:70
Route:<ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1ACK
ContentLength:0
F15ACKProxy1>NGW2
ACKsip:ngw2@a.loniis.ruSIP/2.0
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.2

http://openlib.org.ua/

Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
MaxForwards:69
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1ACK
ContentLength:0
MaximAntonRTP(GW).
Maxim,Anton.
F16BYEMaxim>Proxy1
BYEsip:ngw2@a.loniis.ruSIP/2.0
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
MaxForwards:70
Route:<ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2BYE
ContentLength:0
F17BYEProxy1>NGW2
BYEsip:ngw2@a.loniis.ruSIP/2.0
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.2
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
MaxForwards:69
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2BYE
ContentLength:0

http://openlib.org.ua/

F18200(OK)NGW2>Proxy1
SIP/2.0200OK
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.2
;received=192.0.2.111
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2BYE
ContentLength:0
F19200(OK)Proxy1>Maxim
SIP/2.0200OK
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2BYE
ContentLength:0

F20RELNGW2>
RELcCauseCode=16Normal
F21RLC >NGW2
RLC

http://openlib.org.ua/

SIP ENUMQuery

3.46 .
SIP ENUMQuery.
MaximAnton,
(9722625326). UA Maxim
E.164(+78122625326), ENUM
.164(2.2.2.2.5.5.5.2.7.9.1.e164.arpa).
NamingAuthorityPointer(NAPTR) DNS UA Maxim
Anton (sip:+78122625326@b.loniis.ru).
,Anton
SIP. , UA Maxim
INVITE SIP, .

http://openlib.org.ua/

,AntonBYE.
.
F1ENUMQueryMaxim>DNSServer
2.2.2.2.5.5.5.2.7.9.1.e164.arpa
F2ENUMNAPTRSetDNSServer>Maxim
$ORIGIN2.2.2.2.5.5.5.2.7.9.1.e164.arpa.
INNAPTR10010"u""sip+E2U"
"!^.*$!sip:+78122625326@b.loniis.ru!".

F3INVITEMaxim>Proxy3
INVITEsip:+78122625326@b.loniis.ruSIP/2.0
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
MaxForwards:70
From:<sip:+70953864515@a.loniis.ru>;tag=9fxced76sl
To:<tel:+78122625326>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2INVITE
Contact:<sip:+70953864515@client.a.loniis.ru>
ContentType:application/sdp
ContentLength:154
v=0
o=Max28908445262890844526INIP4client.a.loniis.ru
s=
c=INIP4client.a.loniis.ru
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000
F4INVITEProxy3>Anton
INVITEsip:+78122625326@client.b.loniis.ruSIP/2.0
Via:SIP/2.0/UDPss3.b.loniis.ru:5060;branch=z9hG4bK721e418c4.1
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
MaxForwards:69

http://openlib.org.ua/

RecordRoute:<sip:ss3.b.loniis.ru;lr>
From:<sip:+70953864515@a.loniis.ru>;tag=9fxced76sl
To:<tel:+78122625326>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2INVITE
Contact:<sip:+70953864515@client.a.loniis.ru>
ContentType:application/sdp
ContentLength:154
v=0
o=UserA28908445262890844526INIP4client.a.loniis.ru
s=
c=INIP4client.a.loniis.ru
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000
F5100(Trying)Proxy3>Maxim
SIP/2.0100Trying
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:<sip:+70953864515@a.loniis.ru>;tag=9fxced76sl
To:<tel:+78122625326>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2INVITE
ContentLength:0
F6180(Ringing)Anton>Proxy3
SIP/2.0180Ringing
Via:SIP/2.0/UDPss3.b.loniis.ru:5060;branch=z9hG4bK721e418c4.1
;received=192.0.2.233
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss3.b.loniis.ru;lr>
From:<sip:+70953864515@a.loniis.ru>;tag=9fxced76sl
To:<tel:+78122625326>;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2INVITE
Contact:<sip:+78122625326@client.b.loniis.ru>
ContentLength:0

http://openlib.org.ua/

F7180(Ringing)Proxy3>Maxim
SIP/2.0180Ringing
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss3.b.loniis.ru;lr>
From:<sip:+70953864515@a.loniis.ru>;tag=9fxced76sl
To:<tel:+78122625326>;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2INVITE
Contact:<sip:+78122625326@client.b.loniis.ru>
ContentLength:0
F8200(OK)Anton>Proxy3
SIP/2.0200OK
Via:SIP/2.0/UDPss3.b.loniis.ru:5060;branch=z9hG4bK721e418c4.1
;received=192.0.2.233
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss3.b.loniis.ru;lr>
From:<sip:+70953864515@a.loniis.ru>;tag=9fxced76sl
To:<tel:+78122625326>;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2INVITE
Contact:<sip:+78122625326@client.b.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:151
v=0
o=Anton28908445272890844527INIP4client.b.loniis.ru
s=
c=INIP4client.b.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000
F9200(OK)Proxy>Maxim
SIP/2.0200OK
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss3.b.loniis.ru;lr>

http://openlib.org.ua/

From:<sip:+70953864515@a.loniis.ru>;tag=9fxced76sl
To:<tel:+78122625326>;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2INVITE
Contact:<sip:+78122625326@client.b.loniis.ru>
ContentType:application/sdp
ContentLength:151
v=0
o=Anton28908445272890844527INIP4client.b.loniis.ru
s=
c=INIP4192.0.2.100
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000
F10ACKMaxim>Proxy3
ACKsip:+78122625326@client.b.loniis.ruSIP/2.0
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bq9
MaxForwards:70
Route:<sip:ss3.b.loniis.ru;lr>
From:<sip:+70953864515@a.loniis.ru>;tag=9fxced76sl
To:<tel:+78122625326>;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2ACK
ContentLength:0
F11ACKProxy3>Anton
ACKsip:+78122625326@client.b.loniis.ruSIP/2.0
Via:SIP/2.0/UDPss3.b.loniis.ru:5060;branch=z9hG4bK721e418c4.1
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bq9
;received=192.0.2.101
MaxForwards:69
From:<sip:+70953864515@a.loniis.ru>;tag=9fxced76sl
To:<tel:+78122625326>;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:2ACK
ContentType:application/sdp
ContentLength:0
MaximAntonRTP.Anton

http://openlib.org.ua/

,Maxim.
F12BYEAnton>Proxy3
BYEsip:+70953864515@client.a.loniis.ruSIP/2.0
Via:SIP/2.0/UDPclient.b.loniis.ru:5060;branch=z9hG4bKfgaw2
MaxForwards:70
Route:<sip:ss3.b.loniis.ru;lr>
From:<tel:+78122625326>;tag=314159
To:<sip:+70953864515@a.loniis.ru>;tag=9fxced76sl
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1BYE
ContentLength:0

F13BYEProxy3>Maxim
BYEsip:+70953864515@client.a.loniis.ruSIP/2.0
Via:SIP/2.0/UDPss3.b.loniis.ru:5060;branch=z9hG4bK721e418c4.1
;received=192.0.2.100
Via:SIP/2.0/UDPclient.b.loniis.ru:5060;branch=z9hG4bKfgaw2
MaxForwards:69
From:<tel:+78122625326>;tag=314159
To:<sip:+70953864515@a.loniis.ru>;tag=9fxced76sl
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1BYE
ContentLength:0
F14200(OK)Maxim>Proxy3
SIP/2.0200OK
Via:SIP/2.0/UDPss3.b.loniis.ru:5060;branch=z9hG4bK721e418c4.1
;received=192.0.2.233
Via:SIP/2.0/UDPclient.b.loniis.ru:5060;branch=z9hG4bKfgaw2
;received=192.0.2.100
From:<tel:+78122625326>;tag=314159
To:<sip:+70953864515@a.loniis.ru>;tag=9fxced76sl
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1BYE
ContentLength:0
F15200(OK)Proxy3>Anton

http://openlib.org.ua/

SIP/2.0200OK
Via:SIP/2.0/UDPclient.b.loniis.ru:5060;branch=z9hG4bKfgaw2
;received=192.0.2.100
From:<tel:+78122625326>;tag=314159
To:<sip:+70953864515@a.loniis.ru>;tag=9fxced76sl
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1BYE
ContentLength:0

SIP :

3.47 . SIP .
.

Maxim Anton Proxy 1 Network Gateway NGW


, Maxim

http://openlib.org.ua/

( ). Maxim,
,,CANCEL
. CANCEL, BYE,..
INVITE.

F1INVITEMaxim>Proxy1
INVITEsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
MaxForwards:70
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:max@client.a.loniis.ru>
ProxyAuthorization:Digestusername="Max",
realm="a.loniis.ru",nonce="01cf8311c3b0b2a2c5ac51bb59a05b40",
opaque="",uri="sip:+78122625326@ss1.a.loniis.ru;user=phone",
response="e178fbe430e6680a1690261af8831f40"
ContentType:application/sdp
ContentLength:154
v=0
o=Max28908445262890844526INIP4client.a.loniis.ru
s=
c=INIP4client.a.loniis.ru
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000
F2100(Trying)Proxy1>Maxim
SIP/2.0100Trying
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
ContentLength:0

http://openlib.org.ua/

Proxy 1
Anton. NGW 1.
Maxim49172.
F3INVITEProxy1>NGW1
INVITEsip:+78122625326@ngw1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
MaxForwards:69
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:max@client.a.loniis.ru>
ContentType:application/sdp
ContentLength:154
v=0
o=Max28908445262890844526INIP4client.a.loniis.ru
s=
c=INIP4client.a.loniis.ru
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000
F4100(Trying)NGW1>Proxy1
SIP/2.0100Trying
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
ContentLength:0

http://openlib.org.ua/

F5IAMNGW1>
IAM
CdPN=8122625326,NPI=E.164,NOA=National
CgPN=0953864515,NPI=E.164,NOA=National
F6ACM >NGW1
ACM
F7183(SessionProgress)NGW1>Proxy1
SIP/2.0183SessionProgress
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru>
ContentType:application/sdp
ContentLength:146
v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=
c=INIP4ngw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000
F8183(SessionProgress)Proxy1>Maxim
SIP/2.0183SessionProgress
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101

http://openlib.org.ua/

RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru>
ContentType:application/sdp
ContentLength:146
v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=
c=INIP4ngw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

,.
F9CANCELMaxim>Proxy1
CANCELsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
MaxForwards:70
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1CANCEL
ContentLength:0

F10200(OK)Proxy1>Maxim
SIP/2.0200OK
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>

http://openlib.org.ua/

CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1CANCEL
ContentLength:0
F11CANCELProxy1>NGW1
CANCELsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
MaxForwards:70
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1CANCEL
ContentLength:0
F12200(OK)NGW1>Proxy1
SIP/2.0200OK
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1CANCEL
ContentLength:0
F13RELNGW1>
RELCauseCode=18Nouserresponding
F14RLC >NGW1
RLC
F15487(RequestTerminated)NGW1>Proxy1
SIP/2.0487RequestTerminated
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101

http://openlib.org.ua/

From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
ContentLength:0
F16ACKProxy1>NGW1
ACKsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/UDPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
MaxForwards:70
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1ACK
ContentLength:0
F17487(RequestTerminated)Proxy1>Maxim
SIP/2.0487RequestTerminated
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
ContentLength:0
F18ACKMaxim>Proxy1
ACKsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/UDPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
MaxForwards:70
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159

http://openlib.org.ua/

CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1ACK
ContentLength:0

SIP : ,
REL

3.48 . SIP .
, REL .

MaximAnton Proxy 1 NGW 1.


, REL .
SIP 404(Not Found),
Maxim.
.

http://openlib.org.ua/

F1INVITEMaxim>Proxy1
INVITEsip:+441234@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
MaxForwards:70
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+441234@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:max@client.a.loniis.ru;transport=tcp>
ProxyAuthorization:Digestusername="Max",
realm="a.loniis.ru",nonce="j1c3b0b01cf832da2c5ac51bb59a05b40",
opaque="",uri="sip:+441234@ss1.a.loniis.ru;user=phone",
response="a451358d46b55512863efe1dccaa2f42"
ContentType:application/sdp
ContentLength:154
v=0
o=Max28908445262890844526INIP4client.a.loniis.ru
s=
c=INIP4client.a.loniis.ru
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000

F2100(Trying)Proxy1>Maxim
SIP/2.0100Trying
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+441234@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
ContentLength:0
Proxy1,
Anton. NGW 1.
Maxim49172.

http://openlib.org.ua/

F3INVITEProxy1>NGW1
INVITEsip:+441234@ngw1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
MaxForwards:69
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+441234@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:max@client.a.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:154
v=0
o=Max28908445262890844526INIP4client.a.loniis.ru
s=
c=INIP4client.a.loniis.ru
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000
F4100(Trying)NGW1>Proxy1
SIP/2.0100Trying
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+441234@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
ContentLength:0
F5IAMNGW1>
IAM

http://openlib.org.ua/

CdPN=441234,NPI=E.164,NOA=International
CgPN=0953864515,NPI=E.164,NOA=National

F6REL >NGW1
RELCauseValue=1Unallocatednumber
F7RLCNGW1>
RLC
CauseValue=1SIP404(NotFound)
F8404(NotFound)NGW1>Proxy1
SIP/2.0404NotFound
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+441234@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
ErrorInfo:<sip:notfoundann@ann.a.loniis.ru>
ContentLength:0
F9ACKProxy1>NGW1
ACKsip:+441234@ngw1.a.loniis.ru;user=phoneSIP/2.0
MaxForwards:70
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+441234@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1ACK
ContentLength:0
F10404(NotFound)Proxy1>Maxim

http://openlib.org.ua/

SIP/2.0404NotFound
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+441234@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
ErrorInfo:<sip:notfoundann@ann.a.loniis.ru>
ContentLength:0
F11ACKMaxim>Proxy1
ACKsip:+441234@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
MaxForwards:70
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+441234@ss1.a.loniis.ru;user=phone>;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1ACK
ContentLength:0
SIP :
ANM

3.49 .

http://openlib.org.ua/

SIP . ANM.
MaximAntonProxy1NGW1.
,
ANM (..
).
REL 480(TemporarilyUnavailable) Maxim
SIP.
:
F1INVITEMaxim>Proxy1
INVITEsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
MaxForwards:70
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:max@client.a.loniis.ru;transport=tcp>
ProxyAuthorization:Digestusername="Max",
realm="a.loniis.ru",nonce="da2c5ac51bb59a05j1c3b0b01cf832b40",
opaque="",uri="sip:+78122625326@ss1.a.loniis.ru;user=phone",
response="579cb9db184cdc25bf816f37cbc03c7d"
ContentType:application/sdp
ContentLength:154
v=0
o=Max28908445262890844526INIP4client.a.loniis.ru
s=
c=INIP4client.a.loniis.ru
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000
Proxy 1
Anton.
NGW1.Maxim
49172.
F2100(Trying)Proxy1>Maxim

http://openlib.org.ua/

SIP/2.0100Trying
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
ContentLength:0
F3INVITEProxy1>NGW1
INVITEsip:+78122625326@ngw1.a.loniis.ru;user=phoneSIP/2.0
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
MaxForwards:69
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:max@client.a.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:154
v=0
o=Max28908445262890844526INIP4client.a.loniis.ru
s=
c=INIP4client.a.loniis.ru
t=00
m=audio49172RTP/AVP0
a=rtpmap:0PCMU/8000
F4100(Trying)NGW1>Proxy1
SIP/2.0100Trying
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101

http://openlib.org.ua/

From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
ContentLength:0
F5IAMNGW1>
IAM
CdPN=8122625326,NPI=E.164,NOA=National
CgPN=0953864515,NPI=E.164,NOA=National
F6ACM >NGW1
ACM
F7183(SessionProgress)NGW1>Proxy1
SIP/2.0183SessionProgress
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:146
v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=
c=INIP4ngw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000

http://openlib.org.ua/

F8183(SessionProgress)Proxy1>Maxim
SIP/2.0183SessionProgress
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
RecordRoute:<sip:ss1.a.loniis.ru;lr>
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
Contact:<sip:ngw1@a.loniis.ru;transport=tcp>
ContentType:application/sdp
ContentLength:146
v=0
o=GW28908445272890844527INIP4ngw1.a.loniis.ru
s=
c=INIP4ngw1.a.loniis.ru
t=00
m=audio3456RTP/AVP0
a=rtpmap:0PCMU/8000
,,REL480
(TemporarilyUnavailable)SIP.

F9RELNGW1>
RELCauseCode=18Nouserresponding
F10RLC >NGW1
RLC
F11480(TemporarilyUnavailable)NGW1>Proxy1
SIP/2.0480TemporarilyUnavailable
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101

http://openlib.org.ua/

From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
ErrorInfo:<sip:tempunavailann@ann.a.loniis.ru>
ContentLength:0
F12ACKProxy1>NGW1
ACKsip:ngw1@a.loniis.ruSIP/2.0
Via:SIP/2.0/TCPss1.a.loniis.ru:5060;branch=z9hG4bK2d4790.1
MaxForwards:70
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1ACK
ContentLength:0
F13480(TemporarilyUnavailable)Proxy1>Maxim
SIP/2.0480TemporarilyUnavailable
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl
To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1INVITE
ErrorInfo:<sip:tempunavailann@ann.a.loniis.ru>
ContentLength:0
F14ACKMaxim>Proxy1
ACKsip:+78122625326@ss1.a.loniis.ru;user=phoneSIP/2.0
MaxForwards:70
Via:SIP/2.0/TCPclient.a.loniis.ru:5060;branch=z9hG4bK74bf9
From:Max<sip:+70953864515@ss1.a.loniis.ru;user=phone>
;tag=9fxced76sl

http://openlib.org.ua/

To:Anton<sip:+78122625326@ss1.a.loniis.ru;user=phone>
;tag=314159
CallID:2xTb9vxSit55XU7p8@a.loniis.ru
CSeq:1ACK
ContentLength:0

3.6.7 URI
SIP
, .
RequestURI. To From .
SIP ,
,URI.
SIPSIPURI.
ISUPSIPURI.
, SIP,
tel URL. tel URL
URI, .. tel URL URI,
SIPURI.,To:
To:tel:+78123875605
:

To:sip:+78123875605@protei.ru
+ tel URL ,
E.164.,
.+,
,.
+,
URI,SIPURI
;user=phone,:
To:sip:83000@sip.loniis.net;user=phone
SIPT
E.164, ,
., SIP,
.,
/

http://openlib.org.ua/

, , ,
. , SIP
,
.,,
,
.
ISUP
,,,CalledPartyNumber(CPN)CallingParty'sNumber(CIN);
,
.
[RFC 3398 ISUP to SIP Mapping] CPN ISUP format,
CINISUPcallingformat.,
[Nature of Address (NoA) indicator],
,[Numbering Plan Indicator (NPI)].
,
[Binary Coded Decimal (BCD)].
, NPI ,PresentationIndicator,
,Screening
Indicator,,.

3.50 ISUPformatISUPcallingformat.
NPI 'ISDN (Telephony) numbering plan
(RecommendationE.164)',,,,
; NoA
.,,
NoA ,
,
. NPI ,
'ISDNnumberingplan',telURI
,
.

http://openlib.org.ua/

3.6.7.1 ISUP telURL

, ISUP tel URL


.,, NPI ,
.164,NoA.
, ,
tel:+.NoA
,,
telURL,.
,
(, Generic Name Parameter ANSI), ,
Presentation Indicator presentation restricted,
From.
ISUPcallingformat,
: presentation indicators screening indicators.
presentation indicators 'presentation restricted',
URI,,
.URISIPURI,
Anonymous,:
From:Anonymous<sip:anonymous@anonymous.invalid>
presentation indicators 'address unavailable',
IAM CIN .
screeningindicators.
3.6.7.2 telURL ISUP
telURLISUP.URI
, URI.
(,
,),
NoAnational(significant)number,
URI . , ,
, NoA international
number URI. NPI
ISDNnumberingplan.
URI ,
URI,
.
,
SIP,,URI

http://openlib.org.ua/

(URIRequestURI,484(Addressincomplete)).
telURLISUPcallingformat
, presentation indicator
presentation allowed, screening indicator network provided,
.

http://openlib.org.ua/



answer
offer
7
q



Stateless

MD5()
,
.MD5
;,,
,.
MD5.
,
,
,,md5()
,
.

SIP,
.
UA
.

,
.
.
ISUPSIP
SDP,
SIP
.
SDP,
SIP.
7
q,

01.
,
.
ISUP
SIP

.
.
,
,.

http://openlib.org.ua/

calledpartystatus

.
,
.
.
()
,
.
BackwardCallIndicators
.ISUP.
.ISUP.

CIC

CarrierIdentificationCode().

CIN
CON

CallingParty'sNumber.
ISUP.
ConnectMessageIUSP.

CPG

CallProgressISUP.

CPN

CalledPartyNumber.
ISUP.

()
,.
ForwardCallIndicators
.ISUP.
GenericAddressParameterISUP.

Stateful

BCI

eventpackage

FCI
GAP
IM

Interworking
indicator
ISUP

(InstantMessaging),
,

,BCI

NCI

IntegratedServicesDigitalNetwork(ISDN)UserPart
7
MediaGateway
,SIP.
.
MediaGatewayController.
.
NamingAuthorityPointer
SIPURLDNS.
NatureofConnectionIndicatorISUP.

OCN

OriginalCalledNumberISUP.

optiontag

SIPSIP,
RFC.

MG

MGC
NAPTR

http://openlib.org.ua/

pathMTU

registrar

remotetarget
routeset

SessionInitiation
Protocolfor

(pathMaximumTransferUnit)
,
,
.Path
MTUMTU.
SIP.,
,
.
.
,.
(),
,
.,
.
(SIPT)

Telephones(SIPT)
strictrouter

TMR
TNS

,RequestURI
Route.
TransmissionMediumRequirementISUP.
TransitNetworkSelectionISUP.

http://openlib.org.ua/


12. RosenbergJ.,SchulzrinneH.,CamarilloG.,JohnstonA.,PetersonJ.,SparksR.,Handley
M.,E.Schooler"SIP:SessionInitiationProtocol",RFC3261
13. M.Handley,H.Schulzrinne,E.Schooler,J.Rosenberg"SIP:SessionInitiationProtocol"
RFC2543
14. J.Franks,P.HallamBaker,J.Hostetler,S.Lawrence,P.Leach,A.Luotonen,L.Stewart
"HTTPAuthentication:BasicandDigestAccessAuthentication"RFC2617
15. DonovanS."TheSIPINFOMethod",RFC2976
16. J.Rosenberg,H.Schulzrinne"ReliabilityofProvisionalResponsesinSIP"RFC3262
17. A.B.Roach"SIPSpecificEventNotification"RFC3265
18. J.Rosenberg"SIPUPDATEMethod"RFC3311
19. R.Sparks"SIPReferMethod"RFC3515
20. A.Johnston,A.Johnston,R.Sparks,C.Cunningham,K.Summers"SIPBasicCallFlow
Examples"RFC3665
21. J.Rosenberg,H.Schulzrinne"SIP:LocatingSIPServers"RFC3263
22. J.Peterson"PrivacyMechanismforSIP"RFC3323
23. H.Schulzrinne,D.Oran,G.Camarillo"TheReasonHeaderFieldforSIP"RFC3326
24. G.Camarillo,W.Marshall,J.Rosenberg"IntegrationofResourceManagementandSIP"
RFC3312
25. W.Marshall"PrivateSIPExtensionsforMediaAuthorization"RFC3313
26. C.Jennings,J.Peterson,M.Watson"PrivateExtensionstoSIPforAssertedIdentitywithin
TrustedNetworks"RFC3325
27. D.Willis,B.Hoeneisen"SIPExtensionHeaderFieldforRegisteringNonAdjacent
Contacts"RFC3327
28. J.Arkko,V.Torvinen,G.Camarillo,A.Niemi,T.Haukka"SecurityMechanism
AgreementforSIP"RFC3329
29. B.Campbell,J.Rosenberg,H.Schulzrinne,C.Huitema,D.Gurle"SIPExtensionfor
InstantMessaging"RFC3428
30. M.GarciaMartin,E.Henrikson,D.Mills"PrivateHeader(PHeader)ExtensionstoSIPfor

http://openlib.org.ua/

the3rdGenerationPartnershipProject(3GPP)"RFC3455
31. W.Marshall,F.Andreasen"PrivateSIPProxytoProxyExtensionsforSupportingthe
PacketCableDistributedCallSignalingArchitecture"RFC3603
32. D.Willis,B.Hoeneisen"SIPExtensionHeaderFieldforServiceRouteDiscoveryDuring
Registration"RFC3608
33. .. .. .. IP . .:
,2001.

http://openlib.org.ua/

Оценить