[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?


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: (, Dst: (
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:;r2=on;lr;ftag=alkL1xgERhGHDSEQq..CMxU8LumM03Py>
        Record-Route: <sip:;transport=tls;r2=on;lr;ftag=alkL1xgERhGHDSEQq..CMxU8LumM03Py>
        Via: SIP/2.0/UDP;branch=z9hG4bK6c6b.45b2e31a31d8870eb6d4a1c2e6016a97.0;i=5
        Via: SIP/2.0/tls;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;alias=;transport=tls>
        Call-ID: 6z2IPvxOJgoiCUtqPoo-DRP4.a0jUnJQ
        CSeq: 4994 INVITE
        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
            Session Name (s): sipsimple 0.18.0
            Connection Information (c): IN IP4
            Time Description, active time (t): 0 0
            Media Description, name and address (m): message 2855 TCP/TLS/MSRP *
            Media Attribute (a): path:msrps://;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]: <--
MSRP cdc4603703452e6f SEND
To-Path: msrps://;tcp
From-Path: msrps://;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"


2011-04-29 16:37:58.097701 [sylk-server 4500]: -->
MSRP cdc4603703452e6f 200 OK
To-Path: msrps://;tcp
From-Path: msrps://;tcp

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

2011-04-29 16:38:03.812615 [sylk-server 4500]: <--
MSRP e30693872e0ad2e9 SEND
To-Path: msrps://;tcp
From-Path: msrps://;tcp
Message-ID: f44aa2788240dbea
Byte-Range: 1-0/0

2011-04-29 16:38:03.831228 [sylk-server 4500]: -->
MSRP e30693872e0ad2e9 415 Content-type header missing
To-Path: msrps://;tcp
From-Path: msrps://;tcp

More information about the SIPBeyondVoIP mailing list