SIP MESSAGE Delivered
来源:互联网 发布:十大淘客软件 编辑:程序博客网 时间:2024/05/06 16:18
Share From: http://www.ucunleashed.com/?p=155
Some people misconstrue SIP MESSAGE to be SIP counterpart of existing SMS. But it is not. SMS works on store-n-forward mechanism i.e. even if destination is not available the SMS will be stored in SMSC for prescribed time. It will get delivered when the user gets available. Some services use delivery receipts as trigger for presence related services. On the other hand, SIP MESSAGE is real time and equivalent to instant message.
SIP MESSAGE is after all a SIP request only so it inherits all the routing capabilities of it.
MESSAGE sip:xx@yy.com SIP/2.0
Via: SIP/2.0/TCP zz.yy.com;branch=z9hG4bK776sgdkse
Max-Forwards: 70
From: sip:xx@yy.com;tag=49584
To: sip:ww@yy.com
Call-ID: asd88as54545345545@1.2.3.4
CSeq: 1 MESSAGE
Content-Type: text/plain
Content-Length: 10
Hi there !
First line of MESSAGE represents the request-uri i.e. the destination user. The payload of MESSAGE could be any format agreed upon by end-points. However, this agreement is outside the scope of MESSAGE and done out of band. Another MESSAGE to same request-uri will not be send until 200 OK of the previous request has been received.
Generally, plain text is used for sending the MESSAGE. For encrypted message S/MIME type body will be used.
SIP/2.0 200 OK
Via: SIP/2.0/TCP Via: SIP/2.0/TCP zz.yy.com;branch=z9hG4bK776sgdkse; received=1.2.3.4
From: sip:xx@yy.com;tag=49584
To: sip:ww@yy.com
Call-ID: asd88as54545345545@1.2.3.4
CSeq: 1 MESSAGE
Content-Length: 0
The successful delivery of the SIP MESSAGE will result in 200 OK response from the remote user. Remember, 200 OK only represents that message have been delivered to the end-user it has no information of whether user has seen it or not.
Generally for secure MESSAGE, message/cpim format is used for the content. It contains payload along with encrypted metadata. Encrypted meta data is usually some of fields from the SIP header itself used for cross checking.
SIP MESSAGE has been further investigated by SIMPLE WG for various enhancements that we will cover later.
- SIP MESSAGE Delivered
- [SIP]Message
- 关于MESSAGE/SIP
- This message is looping: it already has my Delivered-To line
- SIP 183 Session Progress Message
- SIP——MESSAGE方法
- sofia sip开发四 发送接收SIP Message例程
- SIP Message——SIP学习笔记(四)
- Display SIP message flow using Sipviewer
- SIP Presence and Instant Message Example
- sipml5实现SIP MESSAGE方法(一)
- RCS-SIP MESSAGE消息会话流程
- SIP对Instant Message的支持——MESSAGE方法
- delivered overnight and directly
- how to send a SIP message using OSIP stack
- 如何改写一个SIP Message中的SDP内容
- SIP常用消息实例参考 3、MESSAGE消息
- akka 消息 not delivered deadletter
- Backbone基础-01
- SIP Presence SUBSCRIBE-NOTIFY
- Forking in SIP
- debian进入单用户模式更改密码
- Why only SIP INVITE can be CANCELed ?
- SIP MESSAGE Delivered
- super位置
- 基于RSTP协议的流媒体播放
- dev C++ windows程序 undefine reference to
- TEC1304.值集和弹性域相关技术总结 - 第四章 弹性域安全性详解
- [C++]pragma comment的使用
- 18. 4Sum#1
- 最基本的C++ 窗口程序代码及完整注释
- 《Effective java》笔记(第二版) --第二章(1-3)