<HTML>
<HEAD>
<TITLE>Error while establishing a session</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hello,<BR>
<BR>
I’m having trouble establishing a sip session using the latest python-sipsimple on Mac OSX. The account that I’m using was set up with the following commands:<BR>
sip-settings --account add <a href="te@80.97.161.39">te@80.97.161.39</a> 1234<BR>
sip-settings -a default <a href="te@80.97.161.39">te@80.97.161.39</a><BR>
sip-settings --account set <a href="te@80.97.161.39">te@80.97.161.39</a> presence.enabled=True<BR>
sip-settings --account set <a href="te@80.97.161.39">te@80.97.161.39</a> nat_traversal.use_ice=True<BR>
sip-settings --account set <a href="te@80.97.161.39">te@80.97.161.39</a> nat_traversal.msrp_relay=80.97.161.39:2855<BR>
<BR>
If I run a sip-session and than try to do a /chat <a href="mr@80.97.161.39">mr@80.97.161.39</a> I get a <BR>
<BR>
media stream failed; A TLS packet with unexpected length was received. error<BR>
<BR>
I am using the sources retrieved using ‘darcs get <a href="http://devel.ag-projects.com/repositories/python-sipsimple">http://devel.ag-projects.com/repositories/python-sipsimple</a>’ and before I start sip-simple or sip-settings I must do a export VERSIONER_PYTHON_PREFER_32_BIT=yes.<BR>
<BR>
However if I get the sources from <a href="http://download.ag-projects.com/SipClient/">http://download.ag-projects.com/SipClient/</a> and install sipsimple I can successfully make a session but in this case, sip-session runs in a 64-bit python interpretor. I must run sip-session in a 32-bit environment.<BR>
<BR>
Do you know if there were some changes to the python-sipsimple code or the fact that it runs on 32 bits might cause this problem?<BR>
<BR>
Thank you,<BR>
Mihai Richard</SPAN></FONT>
</BODY>
</HTML>