Hi Adrian I changed by SDP to support TLS and now I'm getting "500 Internal Server Error" from sip-chatserver. Please see the trace below. The only change from your working trace and mine is that, my client tries to send TLS connect to sip-chatserver and not listen on port 2855. Where as your client seems like it acts as a TLS server that listen on port 2855. Is this the problem ?
here is the trace. ------------------------------------------------------------ INVITE sip:[email protected] <sip%[email protected]>SIP/2.0 Via: SIP/2.0/UDP 172.16.1.160:7927;rport;branch=z9hG4bK227591048-91588957 Max-Forwards: 70 Allow: INVITE,BYE,CANCEL,ACK,INFO,PRACK,OPTIONS,SUBSCRIBE,NOTIFY,PUBLISH,MESSAGE,REFER,REGISTER,UPDATE Supported: timer,replaces,norefersub,100rel Accept-Contact: *;+g.oma.sip-im User-Agent: SMSI IMS Client R02.0.00 P-Preferred-Identity: sip:[email protected]<sip%[email protected]> From: mani<sip:[email protected] <sip%[email protected]> >;tag=smsiUA_227591048-91588958 To: <sip:[email protected] <sip%[email protected]>> Call-ID: 227591048-91588956 CSeq: 1 INVITE Contact: msivaraman<sip:[email protected]:7927 ;transport=udp>;+g.oma.sip-im Content-Type: application/sdp Content-Length: 328 v=0 o=SMSI 256 2 IN IP4 172.16.1.160 s=SipSession with SMSIUA i=SIP Session in SMSIUA u=http://www.mydomain.com c=IN IP4 172.16.1.160 t=0 0 m=message 9602 TCP/TLS/MSRP * c=IN IP4 172.16.1.160 a=accept-types:message/cpim text/* a=path:msrps://172.16.1.160:9602/z3mfbweby6vb;tcp a=accept-wrapped-types:* a=sendrecv -------------------------------------------------------------- Got a message on UDP ------------------------------------------------------------ Trace generated at : Thu Nov 12 11:41:28 2009 ------------------------------------------------------------ SIP/2.0 100 Giving a try Via: SIP/2.0/UDP 172.16.1.160:7927 ;rport=25279;branch=z9hG4bK227591048-91588957;received=63.148.166.3 From: mani<sip:[email protected] <sip%[email protected]> >;tag=smsiUA_227591048-91588958 To: <sip:[email protected] <sip%[email protected]>> Call-ID: 227591048-91588956 CSeq: 1 INVITE Server: OpenSIPS (1.5.3-tls (i386/linux)) Content-Length: 0 -------------------------------------------------------------- Got a message on UDP ------------------------------------------------------------ Trace generated at : Thu Nov 12 11:41:28 2009 ------------------------------------------------------------ SIP/2.0 500 Internal Server Error Via: SIP/2.0/UDP 172.16.1.160:7927 ;rport=25279;received=63.148.166.3;branch=z9hG4bK227591048-91588957 Call-ID: 227591048-91588956 From: "mani" <sip:[email protected] <sip%[email protected]> >;tag=smsiUA_227591048-91588958 To: <sip:[email protected] <sip%[email protected]> >;tag=id9HOCrk1cfHWEoKDHmKpZaHX60esLl1 CSeq: 1 INVITE Server: sip-chatserver-0.9.2 Content-Length: 0 -------------------------------------------------------------- On Fri, Nov 6, 2009 at 3:50 AM, Adrian Georgescu <[email protected]> wrote: > You are not using TLS: > > m=message 8876 TCP/MSRP * > > -- > Adrian > > > > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
