<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You must use latest trunk version of SIP SIMPLE client SDK.<div><br></div><div>Adrian</div><div><br><div><br><div><div>On Sep 27, 2013, at 12:21 PM, David Hubbard wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div text="#000000" bgcolor="#FFFFFF">
Adrian<br>
<br>
Many thanks - now installed + along with an updated version of MRSP
(you have a different version [0.14.2] at
<a class="moz-txt-link-freetext" href="http://download.ag-projects.com/MSRP/">http://download.ag-projects.com/MSRP/</a>)<br>
<br>
Now sylkserver starts - and is listening on ports - but I get an
Exception (non-fatal) on the console<br>
<br>
<blockquote> File
"/usr/local/lib/python2.7/site-packages/application/python/types.py",
line 37, in __call__<br>
return cls.__instantiate__(*args, **kw)<br>
File "<string>", line 1, in __init__<br>
File
"/usr/local/lib/python2.7/site-packages/application/python/types.py",
line 31, in instance_creator<br>
cls.__instances__[key] = super(Singleton, cls).__call__(*args,
**kw)<br>
File "/usr/sylkserver/sylkserver/sylk/applications/__init__.py",
line 118, in __init__<br>
load_applications()<br>
File "/usr/sylkserver/sylkserver/sylk/applications/__init__.py",
line 102, in load_applications<br>
load_builtin_applications()<br>
File "/usr/sylkserver/sylkserver/sylk/applications/__init__.py",
line 90, in load_builtin_applications<br>
__import__(module)<br>
File
"/usr/sylkserver/sylkserver/sylk/applications/conference/__init__.py",
line 25, in <module><br>
from sylk.applications.conference.room import Room<br>
File
"/usr/sylkserver/sylkserver/sylk/applications/conference/room.py",
line 24, in <module><br>
from sipsimple.audio import AudioConference, WavePlayer,
WavePlayerError<br>
ImportError: cannot import name AudioConference<br>
</blockquote>
Should I worry about this? <br>
<br>
Now just got to figure out how to connect Blink into this and get
into my XMPP Server ;o) (any easy to follow SIP noob guides for
that?)<br>
<br>
Regards<br>
David<br>
<br>
<div class="moz-cite-prefix">On 27/09/2013 10:28, Adrian Georgescu
wrote:<br>
</div>
<blockquote cite="mid:E038C4C9-29B6-4E15-A514-BF7670C1F2ED@ag-projects.com" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
Go here
<div><br>
</div>
<div><a moz-do-not-send="true" href="http://download.ag-projects.com/SipClient/">http://download.ag-projects.com/SipClient/</a>
<div><br>
<div>
<div>On Sep 27, 2013, at 11:22 AM, David Hubbard
<a class="moz-txt-link-rfc2396E" href="mailto:david.hubbard@agenor.co.uk"><david.hubbard@agenor.co.uk></a> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div text="#000000" bgcolor="#FFFFFF"> Saúl<br>
<br>
Thanks for replying<br>
<br>
So I have started again using Python 2.7 and adding all
the dependencies for "sipsimple" in the
"Dependencies.txt"<br>
<br>
Plus - I have now installed ALSA library<br>
<br>
<blockquote>yum install alsa-lib alsa-lib-devel<br>
</blockquote>
<br>
And now "sipsimple" builds/installs ok<br>
<br>
However now when I run "sylkserver" I get<br>
<br>
<blockquote> File
"/usr/local/lib/python2.7/site-packages/sipsimple/account/xcap/__init__.py",
line 29, in <module><br>
from xcaplib.green import XCAPClient<br>
ImportError: No module named xcaplib.green<br>
</blockquote>
Looking at this link <a moz-do-not-send="true" href="http://www.linuxforums.org/forum/red-hat-fedora-linux/180226-blink-sip-client-fedora.html">http://www.linuxforums.org/forum/red-hat-fedora-linux/180226-blink-sip-client-fedora.html</a>
indicates I need
"<a href="http://download.ag-projects.com/XCAP/python-xcaplib-1.0.16.tar.gz">download.ag-projects.com/XCAP/python-xcaplib-1.0.16.tar.gz</a>"
however the only file in this XCAP directory (yours) is
an "openxcap" library (which I have installed) and no
"python-xcaplib" <br>
<br>
Any pointers? feel I might be close (but not cigar
currently)<br>
<br>
Regards<br>
David<br>
<br>
<div class="moz-cite-prefix">On 27/09/2013 08:30, Saúl
Ibarra Corretgé wrote:<br>
</div>
<blockquote cite="mid:82C3F631-8647-43F5-B27F-A97E3A7880EA@ag-projects.com" type="cite">
<pre wrap="">On Sep 26, 2013, at 5:26 PM, David Hubbard wrote:
</pre>
<blockquote type="cite">
<pre wrap="">An update
I have got a little further - I realised that my changing of header file to
#define PJMEDIA_AUDIO_DEV_HAS_ALSA 0
</pre>
</blockquote>
<pre wrap="">You can't just change that and hope things will work, python-sipsimple needs ALSA on Linux systems, it's a requirement, not optional. Did you install ALSA header files? (they are called libasound-dev on Debian-like systems).
</pre>
<blockquote type="cite">
<pre wrap="">was actually done part way through compile/link - so some code was compiled with this set to 1 (items using the factory rather than providing).
So I removed the simsimple folder and unpacked again
As this header appears to be generated by the PJSIP configure stage I killed the setup just after this stage and made the change again, before re-running setup and getting a clean compile/install.
Now when I run sylkserver I get
Starting SylkServer 2.5.0, with no configuration file
fatal error: failed to create SylkServer: cannot import name WeakSet
Traceback (most recent call last):
File "./sylk-server", line 68, in main
from sylk.server import SylkServer
File "/tmp/sylkserver/sylk/server.py", line 13, in <module>
from sipsimple.account import Account, BonjourAccount, AccountManager
File "/usr/lib64/python2.6/site-packages/sipsimple/account/__init__.py", line 25, in <module>
from sipsimple.account.bonjour import BonjourServices, _bonjour
File "/usr/lib64/python2.6/site-packages/sipsimple/account/bonjour/__init__.py", line 24, in <module>
from sipsimple.configuration.settings import SIPSimpleSettings
File "/usr/lib64/python2.6/site-packages/sipsimple/configuration/__init__.py", line 15, in <module>
from weakref import WeakSet
ImportError: cannot import name WeakSet
Clearly a dependancy I'm missing somewhere
I've found the "Dependencies.txt" and "Install.linux" docs in "./python-sipsimple-1.0.0/docs" - so I'm going to try a clean install following these a bit more closely for this module
</pre>
</blockquote>
<pre wrap="">Python 2.6 is no longer supported, you need Python 2.7.
Regards,
--
Saúl Ibarra Corretgé
AG Projects
_______________________________________________
SIPBeyondVoIP mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:SIPBeyondVoIP@lists.ag-projects.com">SIPBeyondVoIP@lists.ag-projects.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip">http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip</a>
</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
SIPBeyondVoIP mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:SIPBeyondVoIP@lists.ag-projects.com">SIPBeyondVoIP@lists.ag-projects.com</a><br>
<a class="moz-txt-link-freetext" href="http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip">http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote></div><br></div></div></body></html>