Hi, is valid the following escenario? All the communication is done in the TCP
connextion open by UA_1 in the first INVITE:
UA_1 UA_2
------ -------
INVITE -------------->
<----------- 404
<----------- MESSAGE(*)
ACK -------------->
The MESSAGE is a initial request. Should UA_1 accept the MESSAGE? AFAIK it
should accept it, since those UA's could be proxies or gateways interchanging
lots of messages between them, so they could reuse existint TCP connections
for that.
Anyway I'm trying a UA (UA_1 = Twinkle) and it doesn't accept that MESSAGE (it
only accepts it if first UA_1 sends the ACK and this ACK is read by UA_2.
Assumming it should accept it, should be CRLF between 404 and MESSAGE if 404
has body?
ABNF syntax of SIP says that it shouldn't be a CRLF after the body:
SIP-message = Request / Response
Request = Request-Line
*( message-header )
CRLF
[ message-body ]
Response = Status-Line
*( message-header )
CRLF
[ message-body ]
For example imaging sending you MESSAGE in this way:
----------------------
MESSAGE RURI_1 SIP/2.0
Via: ....
Content-type: text/plain
Content-Lentgh: 4
1234MESSAGE RURI_2 SIP/2.0
Via: ....
Content-type: text/plain
Content-Lentgh: 8
12345678
------------------------
Are those two MESSAGE valid? In my opinion they are valid, a UAS should read 4
bytes as body from the first MESSAGE and after that new data should be
considered.
Thanks a lot.
--
Iñaki Baz Castillo
[EMAIL PROTECTED]
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors