<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">This has to do with building GNUTLS library.<div><br></div><div>The documentation in docs/Install.osx-10.7 and docs/Install.osx-10.6 is up to date and works just fine.</div><div><br></div><div>Adrian</div><div><br></div><div><br><div><div><div>On Dec 19, 2011, at 8:08 PM, Mihai Richard wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">

<title>Error while establishing a session</title>

<div>
<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="x-msg://224/te@80.97.161.39">te@80.97.161.39</a> 1234<br>
sip-settings -a default <a href="x-msg://224/te@80.97.161.39">te@80.97.161.39</a><br>
sip-settings --account set <a href="x-msg://224/te@80.97.161.39">te@80.97.161.39</a> presence.enabled=True<br>
sip-settings --account set <a href="x-msg://224/te@80.97.161.39">te@80.97.161.39</a>  nat_traversal.use_ice=True<br>
sip-settings --account set <a href="x-msg://224/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="x-msg://224/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>
</div>


_______________________________________________<br>SIPBeyondVoIP mailing list<br><a href="mailto:SIPBeyondVoIP@lists.ag-projects.com">SIPBeyondVoIP@lists.ag-projects.com</a><br>http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip<br></blockquote></div><br></div></div></body></html>