[OpenSIPS-Users] sip-chatserver sends 500 internal server error - for im-conf INVITE

mani sivaraman mani.opensips at gmail.com
Thu Nov 12 18:48:41 CET 2009


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:imconference at mydomain.com <sip%3Aimconference at mydomain.com>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:msivaraman at mydomain.com<sip%3Amsivaraman at mydomain.com>
 From: mani<sip:msivaraman at mydomain.com <sip%3Amsivaraman at mydomain.com>
>;tag=smsiUA_227591048-91588958
 To: <sip:imconference at mydomain.com <sip%3Aimconference at mydomain.com>>
 Call-ID: 227591048-91588956
 CSeq: 1 INVITE
 Contact: msivaraman<sip:msivaraman at 172.16.1.160: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:msivaraman at mydomain.com <sip%3Amsivaraman at mydomain.com>
>;tag=smsiUA_227591048-91588958
 To: <sip:imconference at mydomain.com <sip%3Aimconference at mydomain.com>>
 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:msivaraman at mydomain.com <sip%3Amsivaraman at mydomain.com>
>;tag=smsiUA_227591048-91588958
 To: <sip:imconference at mydomain.com <sip%3Aimconference at mydomain.com>
>;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 <ag at ag-projects.com> wrote:

> You are not using TLS:
>
> m=message 8876 TCP/MSRP *
>
> --
> Adrian
>
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091112/5b6623c6/attachment.htm 


More information about the Users mailing list