[SIP Beyond VoIP] MSRP: Transaction Response and Success/Failure Report
Andreas Bachmann
andreas at jibemobile.com
Thu May 24 09:33:55 CEST 2012
Hi,
One thing first in general:
* Failure Reports (which are responses to MSRP requests) are always chunk related
* Success Reports (which are MSRP REPORT Requests) are always related to a message (the whole, or parts of it (ByteRange))
So to clarify things here:
1. A message can be sent in one chunk or more then one chunk (depending on size and if the message must be interrupted or not).
2. For each chunk u can request a failure report. If Failure Report is YES or PARTIAL u should run a timer for waiting for 200 OK or an error response (in case of partial). However there is no need to wait for the response before sending the next chunk/message
3. For a MESSAGE you can request a success report by setting the Success-Report header to yes (note default here is false). If the message is chunked – then the value for that header MUST BE equal in every chunk of that message. Which makes sense as the success report is related to the whole message and not one chunk only. If a report was requested a timer could be started and one could wait for the report to be received. But you should be aware that this may take a while as the report signals successful end to end delivery (where responses are hop by hop). So you may find a better strategy by marking a message as send when all chunks are transferred and as received when u get the report.
In any case u only send transaction (chunk) responses in case they have been requested by failure report header. The success report header is not related to transactions at all.
Hope this helps
Andreas
From: venu Y <toyvenu at gmail.com<mailto:toyvenu at gmail.com>>
Date: Donnerstag, 24. Mai 2012 09:07
To: "sipbeyondvoip at lists.ag-projects.com<mailto:sipbeyondvoip at lists.ag-projects.com>" <sipbeyondvoip at lists.ag-projects.com<mailto:sipbeyondvoip at lists.ag-projects.com>>
Subject: [SIP Beyond VoIP] MSRP: Transaction Response and Success/Failure Report
Hi all,
This is my first post in this group.
After going through spec RFC 4975, I've tabulated the relation ship between
Succes/Failure Report option in MSRP headers, Transaction response, Reports and Timers.
Could any expert comment on the tables!! Thanks in advance for your valuable time.
a. After last byte of chunk is sent/submitted to O.S, client has to start the fallowing timer
Option in the chunk Header
Transaction Timer
Success-Report timer
Success-Report - NO
NO
NO
Success-Report – YES
NO
YES
Failure-Report – NO
NO
---
Failure-Report – YES
YES
---
Failure-Report – PARTIAL
NO
----
b. At receiving end, received chunk with the fallowing options:
Option in the received
Chunk header
NO
YES
PARTIAL
Success-Report
Send transaction response
Send transaction response
Send Success-Report
N/A
Failure-Report
No transaction response
No Failure report, even in case of failure
Send transaction response
Send Failure report if any
Send Failure report if any
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20120524/d6cdec85/attachment-0001.html>
More information about the SIPBeyondVoIP
mailing list