[SIP Beyond VoIP] Error while establishing a session

Mihai Richard mihai.richard at softvision.ro
Mon Dec 19 20:08:56 CET 2011


Hello,

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:
sip-settings --account add  te at 80.97.161.39 1234
sip-settings -a default te at 80.97.161.39
sip-settings --account set te at 80.97.161.39 presence.enabled=True
sip-settings --account set te at 80.97.161.39  nat_traversal.use_ice=True
sip-settings --account set te at 80.97.161.39
nat_traversal.msrp_relay=80.97.161.39:2855

If I run a sip-session and than try to do a /chat mr at 80.97.161.39 I get a

media stream failed; A TLS packet with unexpected length was received. error

I am using the sources retrieved using Œdarcs get
http://devel.ag-projects.com/repositories/python-sipsimple¹ and before I
start sip-simple or sip-settings I must do a export
VERSIONER_PYTHON_PREFER_32_BIT=yes.

However if I get the sources from http://download.ag-projects.com/SipClient/
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.

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?

Thank you,
Mihai Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20111219/e4c700c7/attachment.html>


More information about the SIPBeyondVoIP mailing list