H.323到SIP的呼叫
来源:互联网 发布:中建八局投资公司知乎 编辑:程序博客网 时间:2024/06/02 20:00
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 SDP message body is stored by the gateway, which sends Alerting and Connect messages.
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 signalingM3 Setup Cd address(h323alias=Stibitz) Cg address(h323alias=Burroughs)M4 Setup Cd address(h323alias=Stibitz) Cg address(h323alias=Burroughs)M5 ARQM6 ACFM7 INVITE sip:stibitz@proxy.com SIP/2.0 Via: SIP/2.0/TCP 2.3.4.5:4344;branch=z9hG4bK544 ↞TCP used for transport Max-Forwards: 70 From: <sip:burroughs@h323-gateway.com>;tag=3q526g45 To: <sip:stibitz@proxy.com> Call-ID: 526272332146783569054 CSeq: 43252 INVITE ↞CSeq initialized to 43252 Contact: <sip:burroughs@h323-gateway.com;transport=tcp> Content-Length: 0M8 100 Trying Via: SIP/2.0/TCP 2.3.4.5:4344;branch=z9hG4bK544 From: <sip:burroughs@h323-gateway.com> To: <sip:stibitz@proxy.com> Call-ID: 526272332146783569054 CSeq: 43252 INVITE Content-Length: 0M9 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: <sip:burroughs@h323-gateway.com>;tag=3q526g45 To: <sip:stibitz@proxy.com> Call-ID: 526272332146783569054 CSeq: 43252 INVITE Contact: <sip:burroughs@h323-gateway.com;transport=tcp>M10 SIP/2.0 180 Ringing 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: <sip:burroughs@h323-gateway.com>;tag=3q526g45 To: <sip:stibitz@proxy.com>;tag=1926 Call-ID: 526272332146783569054 CSeq: 43252 INVITE Contact: <sip:gstibitz123@snailmail.com;transport=tcp> Content-Length: 0M11 SIP/2.0 180 Ringing Via: SIP/2.0/TCP 2.3.4.5:4344;branch=z9hG4bK544 From: <sip:burroughs@h323-gateway.com> To: <sip:stibitz@proxy.com>;tag=1926 Call-ID: 526272332146783569054 CSeq: 43252 INVITE Contact: <sip:gstibitz123@snailmail.com;transport=tcp> Content-Length: 0M12 AlertingM13 AlertingM14 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: <sip:burroughs@h323-gateway.com>;tag=3q526g45 To: <sip:stibitz@proxy.com>;tag=1926 Call-ID: 526272332146783569054 CSeq: 43252 INVITE Contact: <sip:gstibitz123@snailmail.com;transport=tcp> 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/8000M15 SIP/2.0 200 OK Via: SIP/2.0/TCP 2.3.4.5:4344;branch=z9hG4bK544 From: <sip:burroughs@h323-gateway.com>;tag=3q526g45 To: <sip:stibitz@proxy.com>;tag=1926 Call-ID: 526272332146783569054 CSeq: 43252 INVITE Contact: <sip:gstibitz123@snailmail.com> 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/8000M16 ConnectM17 ConnectM18 TerminalCapabilitySetM19 TerminalCapabilitySetM20 TerminalCapabilitySetAckM21 TerminalCapabilitySetAckM22 TerminalCapabilitySetM23 TerminalCapabilitySetM24 TerminalCapabilitySetAckM25 TerminalCapabilitySetAckM26 MasterSlaveDeterminationM27 MasterSlaveDeterminationM28 MasterSlaveDeterminationAckM29 MasterSlaveDeterminationAckM30 OpenLogicalChannel g711uLaw 1.28.18.57 60002M31 OpenLogicalChannel g711uLaw 1.28.18.57 60002M32 OpenLogicalChannelAckM33 OpenLogicalChannelAck Call Flow Examples 181M34 OpenLogicalChannel g711uLaw 4.30.19.04 5004M35 OpenLogicalChannel g711uLaw 4.30.19.04 5004M36 OpenLogicalChannelAckM37 OpenLogicalChannelAckM38 ACK sip:gstibitz123@snailmail.com SIP/2.0 Via: SIP/2.0/TCP 2.3.4.5:4344;branch=z9hG4bK32 Max-Forwards: 70 From: <sip:burroughs@h323-gateway.com>;tag=3q526g45 To: <sip:stibitz@proxy.com>;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/8000M39 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: <sip:burroughs@h323-gateway.com>;tag=3q526g45 To: <sip:stibitz@proxy.com>;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
- H.323到SIP的呼叫
- SIP 的运用.简单的SIP呼叫
- 带鉴权信息的SIP呼叫
- 带鉴权信息的 SIP 呼叫
- 一个简单的SIP呼叫例子
- SIP通过网关的呼叫PSTN
- 用于呼叫控制的JAIN SIP
- SIP IP 电话系统的呼叫路由
- 一个sip简单呼叫的例子
- 一个简单的SIP呼叫建立流程
- 一个简单的SIP呼叫例子
- sip学习二 (一个简单的SIP呼叫建立流程)
- H.323和SIP的区别
- 基于H.323网守的呼叫中心模型设计
- 图解 asterisk SIP协议到 ISDN 呼叫流程
- SIP基本呼叫流程
- SIP呼叫流程
- sip呼叫典型图
- "这不象软件工程"
- 很郁闷!同学丢手机了
- SIP——无线数据增收的手段
- JAVA语言程序设计一
- 一个简单的SIP呼叫例子
- H.323到SIP的呼叫
- SIP通过网关的呼叫PSTN
- JAVA语言程序设计二
- 用于呼叫控制的JAIN SIP
- 备受瞩目的新世代网络应用 服务技术–JAIN与Parlay开放式应用程序接口
- JAVA语言程序设计三
- 线程池的介绍及简单实现
- 移动软交换中短消息业务设计与实现
- InstallShield制作带ODBC的安装软件