sip-ChatServer is the MSRP Chat Server written in Python (by AG) and runs in conjunction with opensips Server. OPensips routes chat session request INV to sip-chatServer to handle it. This is more of a question for sip-ChatServer. The sip-ChatServer accepts the INV and creates a chat room and the sip session is established. But it rejects the incoming MSRPS media connection. I guess it is due to client cert. I generated self signed client auth cert on my PC using openssl. The following is the SSL Dump on the server during connection.<br>
<br>Any pointer why the chat server rejects MSRPS connection will be appreciated.<br><br><p class="MsoNormal"><b><font size="2" face="Arial"><span style="font-family: Arial; font-size: 10pt; font-weight: bold;">Chat-Server
Logs:</span></font></b></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-family: Arial; font-size: 10pt;">Listening for incoming MSRPS
connections on <a href="http://63.148.166.215:2858">63.148.166.215:2858</a></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-family: Arial; font-size: 10pt;">Incoming connection from
<a href="http://63.148.166.3:50233">63.148.166.3:50233</a></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-family: Arial; font-size: 10pt;">Closed connection to
<a href="http://63.148.166.3:50233">63.148.166.3:50233</a></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-family: Arial; font-size: 10pt;"> <br></span></font></p>
<p class="MsoNormal"><b><font size="2" face="Arial"><span style="font-family: Arial; font-size: 10pt; font-weight: bold;">SSL DUMP on
Server ( when trying to connect to sip-chatServer )</span></font> :</b><b><font size="2" face="Arial"><span style="font-family: Arial; font-size: 10pt; font-weight: bold;"></span></font></b></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">New TCP connection #2:
63.148.166.3(51615) <-> <a href="http://smithmicro.com">smithmicro.com</a>(2858)</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">2 1 0.0004 (0.0004)
C>S Handshake</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
ClientHello</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;"> Version
3.1</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;"> cipher
suites</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;"> Unknown value
0x39</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;"> Unknown value
0x38</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;"> Unknown value
0x35</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_RSA_WITH_3DES_EDE_CBC_SHA</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;"> Unknown value
0x33</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;"> Unknown value
0x32</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;"> Unknown value
0x2f</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_RSA_WITH_IDEA_CBC_SHA</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_DHE_DSS_WITH_RC4_128_SHA</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_RSA_WITH_RC4_128_SHA</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_RSA_WITH_RC4_128_MD5</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_RSA_EXPORT1024_WITH_DES_CBC_SHA</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_RSA_EXPORT1024_WITH_RC2_CBC_56_MD5</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_DHE_RSA_WITH_DES_CBC_SHA</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_DHE_DSS_WITH_DES_CBC_SHA</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_RSA_WITH_DES_CBC_SHA</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_DHE_DSS_WITH_RC2_56_CBC_SHA</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_RSA_EXPORT1024_WITH_RC4_56_SHA</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_RSA_EXPORT1024_WITH_RC4_56_MD5</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_RSA_EXPORT_WITH_DES40_CBC_SHA</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
TLS_RSA_EXPORT_WITH_RC4_40_MD5</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;"> compression
methods</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
NULL</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">2 2 0.0015 (0.0010)
S>C Handshake</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
ServerHello</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;"> Version
3.1</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
session_id[32]=</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;"> e2 f0 2c 8d cf f1
11 fc 0c f6 e9 7e e2 5d 67 75</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;"> 4f 13 39 40 c7 f0
20 dc 57 9e 3a 2b 05 40 93 93</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;"> cipherSuite
TLS_RSA_WITH_3DES_EDE_CBC_SHA</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
compressionMethod NULL</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">2 3 0.2746 (0.2730)
S>C Handshake</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
Certificate</span></font></p>
<p class="MsoNormal"><b><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt; font-weight: bold;">2 4
0.2746 (0.0000) S>C Handshake</span></font></b></p>
<p class="MsoNormal"><b><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt; font-weight: bold;">
CertificateRequest</span></font></b></p>
<p class="MsoNormal"><b><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt; font-weight: bold;">
certificate_types rsa_sign</span></font></b></p>
<p class="MsoNormal"><b><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt; font-weight: bold;">
certificate_types dss_sign</span></font></b></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">2 5 0.2746 (0.0000)
S>C Handshake</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
ServerHelloDone</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">2 6 0.2766 (0.0020)
C>S Handshake</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
Certificate</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">2 7 0.2766 (0.0000)
C>S Handshake</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">
ClientKeyExchange</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">2 8 0.2766 (0.0000)
C>S
ChangeCipherSpec</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">2 9 0.2766 (0.0000)
C>S Handshake</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">2 10 0.2826 (0.0059)
S>C ChangeCipherSpec</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">2 11 0.6027 (0.3201)
S>C Handshake</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">2 12 0.6087 (0.0060)
C>S application_data</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">2 13 0.6087 (0.0000)
C>S application_data</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">2 14 0.6109 (0.0021)
S>C application_data</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">2 15 0.6114 (0.0004)
S>C Alert</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">2 0.6114 (0.0000)
S>C TCP FIN</span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-family: 'Courier New'; font-size: 10pt;">2 16 0.6341 (0.0227)
C>S Alert</span></font></p><br>