[SIP Beyond VoIP] SylkServer, sip-simple-sdk & pjsip

ANIL KARADAĞ anil.karadag at gmail.com
Mon Dec 3 11:59:50 CET 2012


Hi Volkan,


The problem occurs due to multiple python. Your system has 2.7.1 and 2.7.1+
Python and your python-sipsimple package was installed with Python 2.7.1+.
In addition Python 2.7.1 has been installed manually and wihtout-pymalloc.

So if you build the mentioned module with correct python(2.7.1+ -->
/usr/bin/python), sylkserver run without any errors.


On Sat, Dec 1, 2012 at 11:12 AM, Adrian Georgescu <ag at ag-projects.com>wrote:

> Hello Volkan,
>
> That is no wonder. If you expect that you can just take any version of
> pjsip, build the core and then expect that everything just works, your
> expectation is a bit misplaced.
>
> The SDK works with a certain version of pjsip stack, which is here
> http://download.ag-projects.com/SipClient/pjsip/ on top of which there
> are 55 patches applied:
>
> http://sipsimpleclient.org/projects/sipsimpleclient/repository/show/patches
>
> The build process is described here:
>
>
> http://sipsimpleclient.org/projects/sipsimpleclient/repository/entry/setup_pjsip.py
>
> Any other combination will work only if you port everything at all layers
> in C, Cython and Python, which is many months of work for somebody who must
> know perfectly the internals of both projects.
>
> Regards,
> Adrian
>
> On Dec 1, 2012, at 9:45 AM, Volkan Mat Durgun wrote:
>
> Guys,
>
> I tried to create_core.so manually by executiıng the command in
> build_inplace file.
> I replaced the _core.so file, when I restart Sylk I got the following
> error :-s
>
> Dec  1 13:30:11 trhtlangley35 sylk-server[13493]: Main loop terminated.
> Dec  1 13:30:11 trhtlangley35 sylk-server[13493]: SylkServer stopped
> Dec  1 13:30:12 trhtlangley35 sylk-server[1297]: Starting SylkServer
> 2.2.0, config=/etc/sylkserver/config.ini
> Dec  1 13:30:12 trhtlangley35 sylk-server[1297]: using set_wakeup_fd
> Dec  1 13:30:12 trhtlangley35 sylk-server[1297]: fatal error: failed to
> create SylkServer:
> /usr/lib/python2.7/dist-packages/sipsimple/core/_core.so: undefined symbol:
> _Py_RefTotal
> Dec  1 13:30:12 trhtlangley35 sylk-server[1297]: Traceback (most recent
> call last):
> Dec  1 13:30:12 trhtlangley35 sylk-server[1297]:   File
> "/usr/bin/sylk-server", line 68, in main
> Dec  1 13:30:12 trhtlangley35 sylk-server[1297]:     from sylk.server
> import SylkServer
> Dec  1 13:30:12 trhtlangley35 sylk-server[1297]:   File
> "/usr/local/lib/python2.7/dist-packages/sylk/server.py", line 13, in
> <module>
> Dec  1 13:30:12 trhtlangley35 sylk-server[1297]:     from
> sipsimple.account import Account, BonjourAccount, AccountManager
> Dec  1 13:30:12 trhtlangley35 sylk-server[1297]:   File
> "/usr/lib/python2.7/dist-packages/sipsimple/account/__init__.py", line 25,
> in <module>
> Dec  1 13:30:12 trhtlangley35 sylk-server[1297]:     from
> sipsimple.account.bonjour import BonjourServices, _bonjour
> Dec  1 13:30:12 trhtlangley35 sylk-server[1297]:   File
> "/usr/lib/python2.7/dist-packages/sipsimple/account/bonjour/__init__.py",
> line 21, in <module>
> Dec  1 13:30:12 trhtlangley35 sylk-server[1297]:     from sipsimple.core
> import FrozenSIPURI, SIPCoreError, NoGRUU
> Dec  1 13:30:12 trhtlangley35 sylk-server[1297]:   File
> "/usr/lib/python2.7/dist-packages/sipsimple/core/__init__.py", line 4, in
> <module>
> Dec  1 13:30:12 trhtlangley35 sylk-server[1297]:     from
> sipsimple.core._core import *
> Dec  1 13:30:12 trhtlangley35 sylk-server[1297]: ImportError:
> /usr/lib/python2.7/dist-packages/sipsimple/core/_core.so: undefined symbol:
> _Py_RefTotal
>
>
> On Fri, Nov 30, 2012 at 11:33 AM, volkan mat <volkanmatdurgun at gmail.com>wrote:
>
>> Hi Guys,
>> I faced same problem.
>> When I sent INVITE message to SylkServer via SiPp which contains
>> multipart mesage body, I received (415) unsupported media type from pjsip.
>> This problem is discussed on March. Do you have ETA for now? Or maybe
>> you're already in progress :)
>> Meanwhile, I will try pjsip 1.12 with SDK core.
>>
>> Thanks
>> Volkan Mat Durgun
>>
>
> _______________________________________________
> SIPBeyondVoIP mailing list
> SIPBeyondVoIP at lists.ag-projects.com
> http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip
>
>
>
> _______________________________________________
> SIPBeyondVoIP mailing list
> SIPBeyondVoIP at lists.ag-projects.com
> http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip
>
>


-- 
Anıl KARADAĞ
http://anilkaradag.info/blog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20121203/46ebd9fb/attachment.html>


More information about the SIPBeyondVoIP mailing list