Beruflich Dokumente
Kultur Dokumente
ED01 영문
Inhyun Ryu
I h
Inhyun.ryu@samsung.com
@
ISUP Call Processing
SIP Call Processing
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 2
ISUP Call Processing
ll i
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 3
WSS Network Configuration
SIP-T, ISUP
ISUP
WSS WSS
IPBSC PSTN
IOS/Ethernet
Megaco Megaco
IP Core Network
E1,T1
WGW WGW
IPBSC
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 4
Signaling Definition & Function
Signaling Definition
Signaling is a protocol.
i used
is d to
t send d and
d receive
i signal
i l information
i f ti between
b t Switching
S it hi Nodes.
N d
Provides the following services to Switching Nodes.
- Exchange control information to connect circuits
circuits.
- Set address to interconnect one of switching nodes.
- Network management.
- Establish a specific route & set up a call.
- Check out resource state.
(*) WSS system
t use ISUP
ISUP, SIP-T
SIP T
Signaling Function
Setup a call & release a call
Provides information for a supplementary service
Provides Operation, Maintenance, Charge Indicator.
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 5
ISUP Summary & Basic Service
ISUP(ISDN USER PART) Summary
The ISDN User Part (ISUP) defines the protocol and procedures
usedd to set-up, manage, andd release
l trunkk circuits
i i thath carry voice
i
and data calls over the public switched telephone network (PSTN).
ISUP is used for both ISDN and non-ISDN calls. Calls that
originate and terminate at the same switch do not use ISUP
signaling.
ISUP Basic Service
- set up & tear down a basic call
- continuity test
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 6
ISUP Summary & Basic Service
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 7
ISUP Summary & Basic Service
- automatic re-route
If the RLST has also AR. Automatic re-route is available when
trunkk off other
h side
id or our side
id is
i not available.
il bl
- (group) circuit block & restore
INIT-TRK/RTE/LINK
INIT TRK/RTE/LINK for reset
INH-TRK/RTE/LINK for block
ALW-TRK/RTE/LINK for unblock
General Format
Routing Label + CIC + Message Type Code + M.P + V.P + O.P
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 8
ISUP Summary & Basic Service
ISUP information is carried in the Signaling Information Field (SIF)
of an MSU. The SIF contains the routing label followed by a 14-bit
(ANSI) or 12-bit
12 bit (ITU) circuit
i it identification
id tifi ti code
d (CIC).
(CIC) The
Th CIC isi
followed by the message type field (e.g., IAM,ACM, ANM, REL, RLC)
which defines the contents of the remainder of the message
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 9
ISUP Summary & Basic Service
Routing Label
Routing label indicates routing information of Destination Point Code.
and has SLS,OPC and DPC.
The routing label is used by the relevant user part to identify particulars
to which the message refers.
refers It is also used by the Message Transfer Part
(MTP) to route the message towards its destination point.
C
SLS B’0000
SLS=B 0000
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 10
ISUP Summary & Basic Service
CIC(Circuit Identification Code)
The CIC indicates the trunk circuit reserved by the originating switch to
carry the call, and used to identify trunk circuit between OPC and DPC.
The allocation of circuit identification codes to individual circuits is
determined by bilateral agreement and/or in accordance with applicable
predetermined rules. Each DPC could have 4096 CICs.
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 11
Message Type
The messageg type
yp code uniquely
q y defines the function and format
of each ISDN User Part message. Each message consists of a
number of parameters.
M.P (Mandatory Parameter)
V.P (mandatory Variable Parameter)
O.P
O P (Optional Parameter)
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 12
ISUP Message
IAM (Initial Address Message)
An Initial Address Message (IAM) is sent in the "forward" direction by
eachh switch
it h needed
d d to
t completel t the
th circuit
i it between
b t th calling
the lli party
t and
d
called party until the circuit connects to the destination switch.
An IAM contains the called party number in the mandatory variable part
and may contain the calling party name and number in the optional part.
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 13
ISUP Message
ANM (ANswer Message)
When the called party answers, the destination switch terminates
the ringing tone and sends an Answer Message (ANM) to the
originating switch.
The originating switch initiates billing after verifying that the calling
party's line is connected to the reserved trunk.
REL (RELease message)
A Release Message (REL) is sent in either direction indicating that the
circuit is being released due to the cause indicator specified. An REL is
sent when either the calling or called party "hangs up" the call (cause =
16). An REL is also sent in the backward direction if the called party line is
b s (cause
busy (ca se = 17).
17)
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 14
ISUP Message
RLC (ReLease Complete message)
A Release Complete Message (RLC) is sent in the opposite
direction of the REL to acknowledge the release of the remote end
of a trunk circuit and end the billing cycle as appropriate.
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 15
ISUP Message ‐‐ Trace
ISUP Message
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 16
ISUP Message –– DETAIL TRACE
ISUP Message
T6136 REPORT ISUP PROTOCOL DETAIL TRACE
. . .
---------------------------------------------------------------------------------------
TYPE DIR TIME DATA
---------------------------------------------------------------------------------------
IAM SND 13:23:40.815 00 20 00 0A 03 06 0D 03 80 90 A2 07 03 10 19 53 01 01 30 0A
07 03 13 19 53 01 01 20 EB 07 03 10 19 53 01 01 20 3D 01 14
C4 03 79 72 06 00
---------------------------------------------------------------------------------------
M0 [ 0x00 ] NATURE OF CONNECTION INDICATOR
------00 SATELLITE INDICATOR NO SATLTE CIRCUIT
----00-- CONTINUITY CHECK INDICATOR CONT CHECK NOT REQ.
---0---- ECHO CONTROL DEVICE INDICATOR O/G ECHO CTRL NOT INCLUDED
000----- SPARE
M1 [ 0x20 ] FORWARD CALL INDICATOR(1/2)
-------0 NAT./INTERNAT. INDICATOR TREATED AS NATIONAL CALL
-----00- END-TO-END METHOD INDICATOR END-TO-END METHOD AVAIL
----0---
0 INTERWORKING INDICATOR NO INTERWROKING ENCOUNTERED
---0---- END-TO-END INFORMATION INDICATOR NO END-TO-END INFO AVAIL
--1----- ISDN USER PART INDICATOR ISUP USED ALL THE WAY
00------ ISDN-UPART PERF. INDICATOR ISDN USER PART PREF ALL THE WAY
[ 0x00 ] FORWARD CALL INDICATOR(2/2)
-------0 ISDN ACCESS INDICATOR ORIG ACCESS NON-ISDN
-----00- SCCP METHOD INDICATOR NO INDICATION
----0--- SPARE 0
---0---- TRANSLATED CALLED NUMBER IND NUMBER NOT TRANSLATED
--0----- QoR ATTEMPT IND NO QoR ROUTING ATTEMPT IN PROGRESS
00------ RESERVED FOR NATIONAL USE 0
. . .
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 17
ISUP Route Information
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 18
ISUP Route Information
ISUP Route Information
RSTR_BY_CGN : ISUP_IAM doesn’t Calling Party Number, Call could be failed. Reason
should be “Call_Reject”.
RTE_NOA_IND : NOA(nature of Address) is in Called Party Number. NOA is changed
by RTE_NOA_IND.
DELT_ZCGN : If first digit of Calling Party Number in ISUP_IAM is ‘0’, have to remove
‘0’. This parameter is valuable at outgoing call.
INST_ZCGN : If first digit of Calling Party Number in ISUP_IAM is not ‘0’, have to
add ‘0’. This parameter is valuable at incoming call.
ENBLOC_OPER : WSS can load all together digits to Called party Number in ISUP_IAM
_ g g p y _
and send those
16DGT_IAM : if Called Party Number is 16 digits, WSS can contain 16 digits in
ISUP_IAM and send those. The remained digits is done in ISUP
g _SAM
and send those.
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 19
SIP Call Processing
ll i
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 20
SIP Definition & SIP Message Format
SIP Definition
The Session Initiation Protocol, or SIP, is a new IETF signaling
protocol for establishing real-time calls and conferences over
Internet Protocol networks.
general-header general-header
message
request-header response-header
-header
entity-header
y entity-header
y
CRCF CRCF
[
[message-body]
b d ] [
[message-body]
b d ]
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 21
SIP Message Type
SIP Message Type
Requests (methods): Responses:
INVITE – initiate call 1xx - Informational
ACK – confirm final response 2xx - Successful
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 22
SIP Message ‐‐ Request
SIP Message
SIP Message : Request
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 23
SIP Message ‐‐ Response
SIP Message
SIP Message : Response
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 24
SIPACF State Flow
SIPACF State Flow
Outgoing Incoming
INVITE
100 Trying
180 Ringing Paging Tone
183 Call Progress
Ring Back Tone
200OK
ACK
CONVERSATION
BYE
200OK
ACK
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 25
SIP ‐‐ Dialog
SIP
Dialog Definition
A dialog represents a peer-to-peer SIP relationship between
two user agents that persists for some time.
Dialog Identification
Dialog Id = Call-ID + Local tag + Remote tag.
- Local Tag = a Tag Parameter of “From” Header
ex) From: Alice <sip:alice@atlanta.example.com>;tag=9fxced76s
- Remote Tag = a Tag Parameter of “To” Header
ex) To: Bob <sip:bon@biloxi.example.com>;tag=314159
<sip:bon@biloxi example com>;tag=314159
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 26
SIP ‐‐ Dialog
SIP
Creation/Termination of a Dialog – INVITE
INVITE(Initial Offer)
100 Trying
E l Dialog
Early Di l E l Dialog
Early Di l
180 Ringing
200 Ok(Answer)
ACK
Confirmed
Di l
Dialog
Dialog( = Session)
BYE
200 Ok Termination
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 27
SIP Message
Terminating a Session With Bye
INVITE(Initial Offer)
100 Trying
E l Dialog
Early Di l
180 Ringing
200 Ok(Answer)
ACK
Confirmed
Di l = Session
Dialog S i
BYE
200 Ok
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 28
SIP Message
Terminating a Session With Cancel
INVITE(Initial Offer)
CANCEL
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 29
SIP Message Information
SIP Message Information
RequestURIHost, ToHost
: set destHost.
FromHost(Local IP Address)
FromHost(Local IP Address)
FromPort(5060), ToPort(5060)
CallId
: fomat => callId@Myhost, callId = sid.ihId + sid.sessId.
FromTag
: create FormTagg value by random()
y () function.
Branch
: "z9hG4bK" + tag
Cseq
C
: if it’s first Invite, set Cseq=1
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 30
SIP Message Information
SIP Message Information
It consists
i t off a sequence number
b and d a method.
th d
The sequence number value must be expressible as a 32-bit
CSeq
Unsigned integer and must be less than 2**31.
Ex) Cseq: 4711 INVITE
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 31
SIP Message Information
SIP Message Information II
Header Field Description
This field serves to limit the number of hops a request can transit
Max-Forwards
On the way to its destination. Default value is 70.
This field indicates the path taken by the request so far and
Indicates the path that should be followed in routing responses.
The branch ID parameter is used for loop detection by proxies.
Via
Branch Id must begin
g with the characters “z9hG4bK”.
Ex) Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bK776asdhds
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 32
SIP –– Code Class
SIP
1xx : Informational
request received, continuing to process the request
2xx : Success
the action was successfully received, understood, and accepted
3xx : Redirection
further action needs to be taken in order to complete the request;
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 33
SIP –– Code & Reason Phrase
SIP
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 34
SIP‐‐T
SIP
SIP-T(SIP for Telephone)
The sip‐t (SIP for Telephones) effort provides a framework for the integration
of legacy telephony signaling into SIP messages.
sip‐t provides the above two characteristics through techniques known as
'encapsulation' and 'translation' respectively. At a SIP‐ISUP gateway, SS7 ISUP
messages are encapsulated within SIP in order that information necessary for
services is not discarded in the SIP request. However, intermediaries like
proxy servers that make routing decisions for SIP requests cannot be expected
to understand ISUP, so simultaneously, some critical information is translated
from an ISUP message into the corresponding SIP headers in order to
determine how the SIP request will be routed.
sip‐t is not a new protocol ‐ it is a set of mechanisms for interfacing traditional
telephone signaling with SIP. The purpose of sip‐t is to provide protocol
translation and feature transparency across points of PSTN‐SIP
interconnection.
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 35
ISUP –– SIP
ISUP SIP‐‐T Flow
ISUP - SIP-T Flow
PSTN WSS#1 WSS#2
IAM
INVITE
100 Trying
180 Ringing
Ri i
ACM
200OK
ACK
ANM
CONVERSATION
REL
BYE
RLC
200OK
ACK
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 36
ISUP –– SIP
ISUP SIP‐‐T Flow
INVITE tel:2991000;phone-context=091 SIP/2.0
To: <tel:2991000;phone-context=091>
Via: SIP/2.0/UDP 165.213.108.224:5060;branch=z9hG4bK234485
Cseq: 1 INVITE
From: <tel:9000799;phone-context=016>;tag=234485
Allow: INVITE, ACK, CANCEL, BYE, REGISTER, INFO, SUBSCRIBE,
NOTIFY, OPTIONS
Call-ID: 234485@165.213.108.224
Contact: sip:165.213.108.224
Privacy: none
Content-Type: multipart/mixed;boundary=unique-boundary-1
Max-Forwards: 70
Content-Length: 231
INVITE Encapsulation = P-Asserted-Identity: <tel:9000799;phone-context=016>
SIP Header + --unique-boundary-1
Content-Type: application/sdp
originating SDP information + v= 0
c= IN IP4 165.213.108.115
encapsulated ISUP IAM
m= audio 4860 RTP/AVP 0 8
a= ptime:20
--unique-boundary-1
i b d 1
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 37
SIP Route Information
[ST8_WSS_CP2] RTRV-RTE-INF:RTE=202;
M3302 RETRIEVE ROUTE INFORMATION : COMPLD
RTE = 202
RESULT = OK
RTE = 202 RTE_NAME = SIP_LOOP
SIG_TYPE = SIP RTE_CLASS = BTW
SPCNO GROUP
SPCNO_GROUP = 0 SRLST
SRLST_GROUP
GROUP = 0
PFX_TABLE = 1 INHIBIT_RTE = -
INST_DGT = - NET_TYPE = SSP
RTE CHARGE
RTE_CHARGE = OFF PSTN
PSTN_FLAG
FLAG = NO
WNP_FILTER = OFF QOR_SUPP = OFF
RTE_BLOCK = UBLK RTE_NOA_IND = NONE
RSTR_BY_CGN = OFF INST_ZCGN = ON
DELT_ZCGN = OFF HO_BGRPID = -
URLTYPE = SIP_URL PRACK = NOT_PRACK
AUDIT = INH CUG_ID = 0
ENBLOC OPER
ENBLOC_OPER = OFF 16DGT_IAM
16DGT IAM = ON
IP_ADDR = 21.1.1.122 SIP_T = ON
OUT_CALL_CNT = 0 INC_CALL_CNT = 0
TOT_CALL_CNT = 0 RTP_BANDWIDTH = 0.000 [
[Mbps]
p ]
;
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 38
SIP Route Information
SIP Route Information
CHG‐RTE‐SIP:RTE,[WNP],[QORS],[RNOA],[IP],[SIPT],[URLTYPE],[PRACK],[AUD],[DGT16];
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 39
SIP Trace –
SIP Trace – example (Detail2 Option)
T6260 REPORT SIP PROTOCOL TRACE
---------------------------------------------------------------------------------------
RTE = 3002 NAME = TDS_WSS2_SIPT
CGPN = 321383767 CDPN = 0203167689
DIR = OUT NODE = CAN1
ORIGACF = ISUPACF TERMACF = SIPACF
SETUP_TIME = [00:00:00.026] CONV_TIME = [00:00:01.437]
SEIZE_TIME = [00:00:01.469]
---------------------------------------------------------------------------------------
TYPE DIR TIME
---------------------------------------------------------------------------------------
INVITE S [15:10:50.725]
---------------------------------------------------------------------------------------
INVITE tel:0203167689 SIP/2.0
[To ] tel:0203167689
[Via
[ ] SIP/2.0/UDP
/ / 10.178.41.40:5060
;branch=z9hG4bK509840_50.9840.1
[CSeq ] 1 INVITE
[From ] tel:321383767;tag=509840
[Allow ] INVITE, ACK, CANCEL, BYE, INFO, OPTIONS, UPDATE, PRACK
[Call-ID ] 509840@10.178.41.40
[Contact ] sip:10.178.41.40
[Content-Type ] multipart/mixed;boundary=unique-boundary-1
[Max-Forwards
[Max Forwards ] 20
[Record-Route ] <sip:50.9840.1@10.178.41.40;lr>
[Content-Length ] 427
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 40
SIP Trace –
SIP Trace – example (Detail2 Option)
[--unique-boundary-1]
[Content-Type ] application/sdp
[sdp inform ]
v=0
o=TGW 847187 0 IN IP4 10.178.41.51
s=phone-call
c=IN IP4 10.178.41.51
t=0 0
m=audio 38218 RTP/AVP 18 8 103
a=rtpmap:18 G729/8000
a=rtpmap:103 telephone-event/8000
a=ptime:20
p
a=sendrecv
[--unique-boundary-1]
[Content-Type ] application/isup; version=itu-t; base=itu-t92+
[isup
[ p inform ]
01 00 60 00 0A 00 02 0A 08 83 90 20 30 61 67
98 0F 0A 07 83 13 23 31 38 67 07 28 08 83 11
30 12 83 66 79 08 0B 08 83 11 30 12 83 66 79
08 13 02 45 41 3D 01 1F 39 02 31 C0 31 02 00
00 00
[detail inform ]
[ 0x01 ] MESSAGE TYPE CODE IAM
M0 [ 0x00 ] NATURE OF CONNECTION INDICATOR
------00 SATELLITE INDICATOR NO SATLTE CIRCUIT
. . .
Samsung Confidential Information. Official Commitment will be made in a formal form. Up to the best of Samsung’s knowledge 41
Thank You!