[SIP SIMPLE client] sylk is not relaying chat messages

Juha Heinanen jh at tutpro.com
Fri Apr 29 15:53:04 CEST 2011


Saúl Ibarra Corretgé writes:

> To avoid leaking private messages the server will not relay MSRP 
> messages if the sender (From header of the CPIM envelope) is different 
> than the From header in the sip signaling.
> Can you check this?

saul,

sorry, i was away for couple of days.  i now checked and they are the
same (test at test.fi).

but now i noticed '415 Content-type header missing' reply in msrp trace
(see at the end of this email).  it is not clear to me who sends the
error reply, but may be it explains why the other participant does not
get the message (hello)?

-- juha

Internet Protocol, Src: 192.98.102.10 (192.98.102.10), Dst: 127.0.0.1 (127.0.0.1)
User Datagram Protocol, Src Port: sip (5060), Dst Port: magpie (5092)
Session Initiation Protocol
    Request-Line: INVITE sip:+35892345671*5393*2075 at test.fi SIP/2.0
    Message Header
        Record-Route: <sip:192.98.102.10;r2=on;lr;ftag=alkL1xgERhGHDSEQq..CMxU8LumM03Py>
        Record-Route: <sip:192.98.102.10:5061;transport=tls;r2=on;lr;ftag=alkL1xgERhGHDSEQq..CMxU8LumM03Py>
        Via: SIP/2.0/UDP 192.98.102.10;branch=z9hG4bK6c6b.45b2e31a31d8870eb6d4a1c2e6016a97.0;i=5
        Via: SIP/2.0/tls 192.98.102.10:41198;rport=41198;branch=z9hG4bKPjGlf5n9u8uvpVB.VilP9pinhlSbetgEhA
        Max-Forwards: 69
        From: <sip:test at test.fi>;tag=alkL1xgERhGHDSEQq..CMxU8LumM03Py
        To: <sip:+35892345671*5393*2075 at cf.test.fi>
        Contact: <sip:maihlcjb at 192.98.102.10:58931;alias=192.98.102.10~41198~3;transport=tls>
        Call-ID: 6z2IPvxOJgoiCUtqPoo-DRP4.a0jUnJQ
        CSeq: 4994 INVITE
        Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, REFER
        Supported: 100rel, norefersub
        User-Agent: sipsimple 0.18.0
        Content-Type: application/sdp
        Content-Length:   303
    Message Body
        Session Description Protocol
            Session Description Protocol Version (v): 0
            Owner/Creator, Session Id (o): - 3513072772 3513072772 IN IP4 192.98.102.10
            Session Name (s): sipsimple 0.18.0
            Connection Information (c): IN IP4 192.98.102.10
            Time Description, active time (t): 0 0
            Media Description, name and address (m): message 2855 TCP/TLS/MSRP *
            Media Attribute (a): path:msrps://87.93.111.93:2855/2761104ffcbe0bfab5a7;tcp
            Media Attribute (a): accept-types:message/cpim text/* application/im-iscomposing+xml
            Media Attribute (a): accept-wrapped-types:*
            Media Attribute (a): setup:active

------------------------------------------------------------------

2011-04-29 16:37:58.064352 [sylk-server 4500]: 87.93.111.93:33995 <-- 87.93.111.93:46046
MSRP cdc4603703452e6f SEND
To-Path: msrps://87.93.111.93:33995/6e6ec1bd7d4100e5c44f;tcp
From-Path: msrps://87.93.111.93:2855/2761104ffcbe0bfab5a7;tcp
Message-ID: 27e078a170bd0f0f
Byte-Range: 1-176/176
Success-Report: yes
Failure-Report: yes
Content-Type: message/cpim

From: <sip:test at test.fi>
To: <sip:+35892345671*5393*2075 at cf.test.fi>
DateTime: 2011-04-29T16:37:58+03:00

MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"

hello
-------cdc4603703452e6f$

2011-04-29 16:37:58.097701 [sylk-server 4500]: 87.93.111.93:33995 --> 87.93.111.93:46046
MSRP cdc4603703452e6f 200 OK
To-Path: msrps://87.93.111.93:2855/2761104ffcbe0bfab5a7;tcp
From-Path: msrps://87.93.111.93:33995/6e6ec1bd7d4100e5c44f;tcp
-------cdc4603703452e6f$

2011-04-29 16:37:58.109429 [sylk-server 4500]: 87.93.111.93:33995 --> 87.93.111.93:46046
MSRP c051914d0d3b613f REPORT
To-Path: msrps://87.93.111.93:2855/2761104ffcbe0bfab5a7;tcp
From-Path: msrps://87.93.111.93:33995/6e6ec1bd7d4100e5c44f;tcp
Status: 000 200 OK
Message-ID: 27e078a170bd0f0f
Byte-Range: 1-176/176
-------c051914d0d3b613f$

2011-04-29 16:38:03.812615 [sylk-server 4500]: 87.93.111.93:40355 <-- 192.168.1.2:59499
MSRP e30693872e0ad2e9 SEND
To-Path: msrps://87.93.111.93:40355/74ffea73728159361595;tcp
From-Path: msrps://192.168.0.43:2855/335033e1b7f3bdb4aaa3;tcp
Message-ID: f44aa2788240dbea
Byte-Range: 1-0/0
-------e30693872e0ad2e9$

2011-04-29 16:38:03.831228 [sylk-server 4500]: 87.93.111.93:40355 --> 192.168.1.2:59499
MSRP e30693872e0ad2e9 415 Content-type header missing
To-Path: msrps://192.168.0.43:2855/335033e1b7f3bdb4aaa3;tcp
From-Path: msrps://87.93.111.93:40355/74ffea73728159361595;tcp
-------e30693872e0ad2e9$




More information about the SIPBeyondVoIP mailing list