Example: H.323 to SIP Call

xiaoxiao2021-03-06  116

H.323 to SIP CALL

In this example, a H.323 terminal calls a SIP-enabled PC through a H.323 / SIP gateway. The gateway does signaling translation between the protocols but allows the two end points to exchange media packets directly with each other. The full details Of Sip / H.323 Interworking Are Being Developed in The Sip Working Group [4].

In this example, shown in Figure, the initial message exchange is between the calling H.323 terminal and the H.323 gatekeeper. The gatekeeper resolves the H.323 alias into an address served by the H.323 / SIP gateway. The ACF response indicates that gatekeeper-routed signaling is required, so the Q.931 and H.245 TCP connections are opened to the gatekeeper, which opens TCP connections to the gateway. The calling H.323 terminal sends a Q.931 Setup message to the gatekeeper, which proxies it to the H.323 / SIP gateway. The gateway then looks up the H.323 alias and resolves it to the SIP URI of the called party. It constructs an INVITE from the Setup message and forwards it to a SIP proxy, which forwards it to the called party. Note that because the Setup message does not contain any media information, the INVITE does not contain any media information either. The called party sends a 180 Ringing then a 200 OK to indicate that the call has Been answered. The Media Information Present in the s DP Message Body Is Stored by The Gateway, Which Sends Alerting and Connect Messages.

Figure 10.6: H.323 to Sip Call.

Messages are sent to the gatekeeper, which proxies them to the calling H.323 terminal. The gateway holds off sending the ACK response to the INVITE until the H.245 media exchange is completed between the H.323 terminal and the gateway. Once that IS Complete, The Negotiated Media Capabilities Are Returned In The Ack and The Media Session Begins.m1 ARQ

Address (H323Alias ​​= StiBITZ)

M2 ACF

Gatekeeper Routed Signaling

M3 setup

CD address (h323alias = stibitz)

CG Address (H323Alias ​​= BURROUGHS)

M4 setup

CD address (h323alias = stibitz)

CG Address (H323Alias ​​= BURROUGHS)

M5 ARQ

M6 ACF

M7 Invite Sip: StiBitz@proxy.com Sip / 2.0

VIA: SIP / 2.0 / TCP 2.3.4.5:4344; Branch=z9hg4bk544 ↞tcp buy for transport

Max-Forwards: 70

From: ; tag = 3Q526G45

TO:

Call-ID: 526272332146783569054

CSEQ: 43252 INVITE ↞CSEQ Initialized to 43252

Contact:

Content-Length: 0

M8 100 TRYING

VIA: SIP / 2.0 / TCP 2.3.4.5:4344; Branch=z9hg4BK544

From:

TO:

Call-ID: 526272332146783569054

CSEQ: 43252 INVITE

Content-Length: 0

M9 Invite Sip: gstibitz123@snailmail.com SIP / 2.0

VIA: SIP / 2.0 / TCP 3.4.5.6:5060; branch=z9hg4bk452.1

VIA: SIP / 2.0 / TCP 2.3.4.5:4344; Branch=z9hg4BK544

Max-Forwards: 69

From: ; tag = 3Q526G45

TO:

Call-ID: 526272332146783569054

CSEQ: 43252 INVITE

Contact:

M10 SIP / 2.0 180 Ringing

VIA: SIP / 2.0 / TCP 3.4.5.6:5060; branch = Z9HG4BK452.1VIA: SIP / 2.0 / TCP 2.3.4.5:4344; Branch=z9hg4bk544

From: ; tag = 3Q526G45

TO: ; tag = 1926

Call-ID: 526272332146783569054

CSEQ: 43252 INVITE

Contact:

Content-Length: 0

M11 SIP / 2.0 180 Ringing

VIA: SIP / 2.0 / TCP 2.3.4.5:4344; Branch=z9hg4BK544

From:

TO: ; tag = 1926

Call-ID: 526272332146783569054

CSEQ: 43252 INVITE

Contact:

Content-Length: 0

M12 alerting

M13 alerting

M14 SIP / 2.0 200 OK

VIA: SIP / 2.0 / TCP 3.4.5.6:5060; branch = z9hg4bk452.1

VIA: SIP / 2.0 / TCP 2.3.4.5:4344; Branch=z9hg4BK544

From: ; tag = 3Q526G45

TO: ; tag = 1926

Call-ID: 526272332146783569054

CSEQ: 43252 INVITE

Contact:

Content-Type: Application / SDP

Content-Length: 134

V = 0

o = george 2890844576 2890844576 in IP4 4.30.19.04

S = -

T = 0 0

C = in ip4 4.30.19.04

M = Audio 5004 RTP / AVP 0

a = rtpmap: 0 pcmu / 8000

M15 SIP / 2.0 200 OK

VIA: SIP / 2.0 / TCP 2.3.4.5:4344; Branch=z9hg4BK544

From: ; tag = 3Q526G45

TO: ; tag = 1926

Call-ID: 526272332146783569054

CSEQ: 43252 INVITE

Contact:

Content-Type: Application / SDP

Content-Length: 134

V = 0

o = george 2890844576 2890844576 in IP4 4.30.19.04

S = -

T = 0 0

C = in IP4 4.30.19.04m = Audio 5004 RTP / AVP 0

a = rtpmap: 0 pcmu / 8000

M16 Connect

M17 Connect

M18 TerminalCapabilitySet

M19 TerminalCapabilitySet

M20 TerminalCapabilitySetack

M21 TerminalCapabilitySetack

M22 TerminalCapabilitySet

M23 TerminalCapabilitySet

M24 TerminalCapabilitySetack

M25 TerminalCapabilitySetack

M26 MASTERSLAVEDETERMINATION

M27 MASTERSLAVEDETERMINATION

M28 MASTERSLAVEDETERMINATIONACK

M29 MASTERSLAVEDETERMINATIONACK

M30 OpenLogicalChannel

G711ulaw 1.28.18.57 60002

M31 OpenLogicalChannel

G711ulaw 1.28.18.57 60002

M32 OpenLogicalChannelChack

M33 OpenLogicalChannelChack

Call Flow Examples 181

M34 OpenLogicalChannel

G711ulaw 4.30.19.04 5004

M35 OpenLogicalChannel

G711ulaw 4.30.19.04 5004

M36 OpenLogicalChannelChack

M37 OpenLogicalChannelChack

M38 ACK SIP: gstibitz123@snailmail.com SIP / 2.0

VIA: SIP / 2.0 / TCP 2.3.4.5:4344; Branch=z9hg4bk32

Max-Forwards: 70

From: ; tag = 3Q526G45

TO: ; tag = 1926

Call-ID: 526272332146783569054

CSEQ: 43252 ACK

Content-Type: Application / SDP

Content-Length: 130

V = 0

O = - 2890844577 2890844577 in ip4 1.28.18.57

S = -

T = 0 0

C = in ip4 1.28.18.57

M = Audio 60002 RTP / AVP 0

a = rtpmap: 0 pcmu / 8000

M39 ACK SIP: gstibitz123@snailmail.com SIP / 2.0

VIA: SIP / 2.0 / TCP 3.4.5.6:5060; branch=z9hg4bk452.1

VIA: SIP / 2.0 / TCP 2.3.4.5:4344; Branch=z9hg4bk532

Max-Forwards: 69

From: ; tag = 3Q526G45

TO: ; tag = 1926

Call-ID: 526272332146783569054

CSEQ: 43252 ACK

Content-Type: Application / SDP

Content-Length: 130

V = 0

O = - 2890844577 2890844577 IN IP4 1.28.18.57s = -

T = 0 0

C = in ip4 1.28.18.57

M = Audio 60002 RTP / AVP 0

a = rtpmap: 0 pcmu / 8000

转载请注明原文地址:https://www.9cbs.com/read-101526.html

New Post(0)