设为首页  
联系我们  
加入收藏  
网页制作 冲浪宝典 图形图像 操作系统 软件教学 编程开发 认证考试 安全技术 站长专区 文学驿站 娱乐天地 游戏天地 办公软件
文章搜索
您的位置: 首页 >> 文章首页 >> 编程开发 >> 文件格式 >> 例子:H.323到SIP的呼叫
精品推荐
文件格式点击TOP10
·《IEEE754 学习总结》
·SIP on Mobile Device (运行在移动设备上的SIP协议终端)
·一个8583报文的简单例子
·FTP协议的分析和扩展
·SIP SAP及SDP协议组合应用的研究
·FTP协议的分析和扩展
·SIP IP 电话系统的呼叫路由
·PSF (Portable Sound Format)[可移植声音格式] 规范 v1.5
·网友的VOIP总结
·BitTorrent 协议规范1.0版
编程开发点击TOP10
·数字小键盘指法练习
·ASP.NET 程序中常用的三十三种代码
·用C语言编通讯录程序(初学者级别的)
·我写的Java学生成绩管理系统源代码
·CHK文件恢复工具
·Modem 常用AT指令集
·java笔试题
·异常java.sql.SQLException: Io exception:The Network Adapter could not establish connection
·单片机模拟I2C总线及24C02(I2C EEPROM)读写实例(源代码)
·C++经典电子书下载
精选专题

例子:H.323到SIP的呼叫

作者: 来源:网络文章 时间:2005-12-17 23:45:45

例子:H.323到SIP的呼叫(1) 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 SDP message body is stored by the gateway, which sends Alerting and Connect messages.

Click To e<a href=XPand" src="http://www.cnbug.com/Article/mk:@MSITStore:D:/通信文档/NGN/SIP%20Understanding%20the%20Session%20Initiation%20Protocol,%20Second%20Edition.chm::/7915/images/fig10-6.jpg" width=344 border=0>
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.

M1ARQaddress(h323alias=Stibitz)M2ACFgatekeeper routed signalingM3SetupCd address(h323alias=Stibitz)Cg address(h323alias=Burroughs)M4SetupCd address(h323alias=Stibitz)Cg address(h323alias=Burroughs)M5ARQM6ACFM7INVITE sip:stibitz@proxy.com SIP/2.0Via: SIP/2.0/TCP 2.3.4.5:4344;branch=z9hG4bK544 ?TCP used for transportMax-Forwards: 70From: <sip:burroughs@h323-gateway.com>;tag=3q526g45To: <sip:stibitz@proxy.com>Call-ID: 526272332146783569054CSeq: 43252 INVITE?CSeq initialized to 43252Contact: <sip:burroughs@h323-gateway.com;transport=tcp>Content-Length: 0M8100 TryingVia: SIP/2.0/TCP 2.3.4.5:4344;branch=z9hG4bK544From: <sip:burroughs@h323-gateway.com>To: <sip:stibitz@proxy.com>Call-ID: 526272332146783569054CSeq: 43252 INVITEContent-Length: 0M9INVITE sip:gstibitz123@snailmail.com SIP/2.0Via: SIP/2.0/TCP 3.4.5.6:5060;branch=z9hG4bK452.1Via: SIP/2.0/TCP 2.3.4.5:4344;branch=z9hG4bK544Max-Forwards: 69From: <sip:burroughs@h323-gateway.com>;tag=3q526g45To: <sip:stibitz@proxy.com>Call-ID: 526272332146783569054CSeq: 43252 INVITEContact: <sip:burroughs@h323-gateway.com;transport=tcp>M10SIP/2.0 180 RingingVia: SIP/2.0/TCP 3.4.5.6:5060; branch=z9hG4bK452.1Via: SIP/2.0/TCP 2.3.4.5:4344;branch=z9hG4bK544From: <sip:burroughs@h323-gateway.com>;tag=3q526g45To: <sip:stibitz@proxy.com>;tag=1926Call-ID: 526272332146783569054CSeq: 43252 INVITEContact: <sip:gstibitz123@snailmail.com;transport=tcp>Content-Length: 0M11SIP/2.0 180 RingingVia: SIP/2.0/TCP 2.3.4.5:4344;branch=z9hG4bK544From: <sip:burroughs@h323-gateway.com>To: <sip:stibitz@proxy.com>;tag=1926Call-ID: 526272332146783569054CSeq: 43252 INVITEContact: <sip:gstibitz123@snailmail.com;transport=tcp>Content-Length: 0M12AlertingM13AlertingM14SIP/2.0 200 OKVia: SIP/2.0/TCP 3.4.5.6:5060; branch=z9hG4bK452.1Via: SIP/2.0/TCP 2.3.4.5:4344;branch=z9hG4bK544From: <sip:burroughs@h323-gateway.com>;tag=3q526g45To: <sip:stibitz@proxy.com>;tag=1926Call-ID: 526272332146783569054CSeq: 43252 INVITEContact: <sip:gstibitz123@snailmail.com;transport=tcp>Content-Type: application/sdpContent-Length: 134v=0o=George 2890844576 2890844576 IN IP4 4.30.19.04s=-t=0 0c=IN IP4 4.30.19.04m=audio 5004 RTP/AVP 0a=rtpmap:0 PCMU/8000M15SIP/2.0 200 OKVia: SIP/2.0/TCP 2.3.4.5:4344;branch=z9hG4bK544From: <sip:burroughs@h323-gateway.com>;tag=3q526g45To: <sip:stibitz@proxy.com>;tag=1926Call-ID: 526272332146783569054CSeq: 43252 INVITEContact: <sip:gstibitz123@snailmail.com>Content-Type: application/sdpContent-Length: 134v=0o=George 2890844576 2890844576 IN IP4 4.30.19.04s=-t=0 0c=IN IP4 4.30.19.04m=audio 5004 RTP/AVP 0a=rtpmap:0 PCMU/8000M16ConnectM17ConnectM18TerminalCapabilitySetM19TerminalCapabilitySetM20TerminalCapabilitySetAckM21TerminalCapabilitySetAckM22TerminalCapabilitySetM23TerminalCapabilitySetM24TerminalCapabilitySetAckM25TerminalCapabilitySetAckM26MasterSlaveDeterminationM27MasterSlaveDeterminationM28MasterSlaveDeterminationAckM29MasterSlaveDeterminationAckM30OpenLogicalChannelg711uLaw 1.28.18.57 60002M31OpenLogicalChannelg711uLaw 1.28.18.57 60002M32OpenLogicalChannelAckM33OpenLogicalChannelAckCall Flow Examples 181M34OpenLogicalChannelg711uLaw 4.30.19.04 5004M35OpenLogicalChannelg711uLaw 4.30.19.04 5004M36OpenLogicalChannelAckM37OpenLogicalChannelAckM38ACK sip:gstibitz123@snailmail.com SIP/2.0Via: SIP/2.0/TCP 2.3.4.5:4344;branch=z9hG4bK32Max-Forwards: 70From: <sip:burroughs@h323-gateway.com>;tag=3q526g45To: <sip:stibitz@proxy.com>;tag=1926Call-ID: 526272332146783569054CSeq: 43252 ACKContent-Type: application/sdpContent-Length: 130v=0o=- 2890844577 2890844577 IN IP4 1.28.18.57s=-t=0 0c=IN IP4 1.28.18.57m=audio 60002 RTP/AVP 0a=rtpmap:0 PCMU/8000M39ACK sip:gstibitz123@snailmail.com SIP/2.0Via: SIP/2.0/TCP 3.4.5.6:5060;branch=z9hG4bK452.1Via: SIP/2.0/TCP 2.3.4.5:4344;branch=z9hG4bK532Max-Forwards: 69From: <sip:burroughs@h323-gateway.com>;tag=3q526g45To: <sip:stibitz@proxy.com>;tag=1926Call-ID: 526272332146783569054CSeq: 43252 ACKContent-Type: application/sdpContent-Length: 130v=0o=- 2890844577 2890844577 IN IP4 1.28.18.57s=-t=0 0c=IN IP4 1.28.18.57m=audio 60002 RTP/AVP 0a=rtpmap:0 PCMU/8000
共2页 9 7 [1] [28 :>

例子:H.323到SIP的呼叫 相关文章:
例子:H.323到SIP的呼叫 相关软件:
特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。
转载请注明来源:http://www.xgdown.com