Project

General

Profile

SipInstallation » History » Version 201

Adrian Georgescu, 12/05/2014 08:00 PM

1 180 Adrian Georgescu
h1. Installation Instructions
2 1 Adrian Georgescu
3
4 157 Adrian Georgescu
h2. Prerequisites
5
6
7 1 Adrian Georgescu
The following platforms have been tested and are fully supported:
8
9 157 Adrian Georgescu
* Linux Debian and Ubuntu (i386 and amd64 architectures)
10 200 Adrian Georgescu
* MacOSX 10.7, 10.8, 10.9, 10.10 (Intel 32 bit architecture)
11 197 Adrian Georgescu
* Microsoft Windows (XP, Vista, 7, 8)
12 117 Adrian Georgescu
13 157 Adrian Georgescu
h2. Current Version
14
15 201 Adrian Georgescu
Released on December 5th, 2014
16 1 Adrian Georgescu
17 157 Adrian Georgescu
| *Package Name* | *Version*|*Description*|
18 201 Adrian Georgescu
| python-sipsimple |2.1.0| SIP SIMPLE Client SDK|
19 189 Adrian Georgescu
| python-msrplib |0.15.0| MSRP client library|
20 163 Adrian Georgescu
| python-xcaplib |1.0.17| XCAP client library|
21 201 Adrian Georgescu
| sipclients| 2.1.0 | Command Line Tools|
22 193 Adrian Georgescu
23 97 Adrian Georgescu
24 157 Adrian Georgescu
h2. Tar Archives
25
26
27 1 Adrian Georgescu
The software is available as a tar archive at:
28
29
http://download.ag-projects.com/SipClient/
30
31 97 Adrian Georgescu
32 157 Adrian Georgescu
h2. Debian Packages
33
34 172 Adrian Georgescu
The location of repositories are "here":http://projects.ag-projects.com/projects/documentation/wiki/Repositories
35 1 Adrian Georgescu
36
Update the list of available packages:
37
38 157 Adrian Georgescu
<pre>
39 1 Adrian Georgescu
sudo apt-get update
40 157 Adrian Georgescu
</pre>
41 1 Adrian Georgescu
42 180 Adrian Georgescu
Install SIP SIMPLE Client SDK:
43 1 Adrian Georgescu
44 157 Adrian Georgescu
<pre>
45 137 Adrian Georgescu
sudo apt-get install python-sipsimple
46 157 Adrian Georgescu
</pre>
47 1 Adrian Georgescu
48
Install Command Line Tools:
49
50 157 Adrian Georgescu
<pre>
51 1 Adrian Georgescu
sudo apt-get install sipclients 
52 157 Adrian Georgescu
</pre>
53 1 Adrian Georgescu
54 191 Adrian Georgescu
h3. Ubuntu Precise
55 1 Adrian Georgescu
56 191 Adrian Georgescu
Ubuntu Precise 12.04 has changed libgcrypt11 package in a way that breaks python-simple. To overcome this problem, install this package:
57 98 Adrian Georgescu
58 191 Adrian Georgescu
<pre>
59
sudo apt-get install libgcrypt11=1.5.0-3ububtu0.1+agp
60 192 Adrian Georgescu
</pre>
61 191 Adrian Georgescu
62
63
64 157 Adrian Georgescu
h2. Version Control Repository
65 78 Adrian Georgescu
66
67 177 Adrian Georgescu
The trunk is stable and recommended for anyone that wishes to use the library. The project policy is to add only tested code to the main repository. Known issues are listed in the "tickets interface":http://sipsimpleclient.org/report.
68 70 Adrian Georgescu
69 157 Adrian Georgescu
The source code is managed using "darcs":http://darcs.net version control tool. The darcs repository can be fetched with:
70
71 1 Adrian Georgescu
72 158 Adrian Georgescu
h3. SIP SIMPLE Client SDK
73 1 Adrian Georgescu
74
<pre>
75
darcs get http://devel.ag-projects.com/repositories/python-sipsimple
76 158 Adrian Georgescu
</pre>
77
78 159 Adrian Georgescu
h4. Dependencies
79
80
Several dependencies provided by AG Projects can be accessed in the same way:
81
82 158 Adrian Georgescu
<pre>
83 179 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-xcaplib
84
darcs get http://devel.ag-projects.com/repositories/python-msrplib
85
darcs get http://devel.ag-projects.com/repositories/python-application
86
darcs get http://devel.ag-projects.com/repositories/python-backports
87
darcs get http://devel.ag-projects.com/repositories/python-gnutls
88
darcs get http://devel.ag-projects.com/repositories/python-cjson
89
darcs get http://devel.ag-projects.com/repositories/python-greenlet
90
darcs get http://devel.ag-projects.com/repositories/python-eventlib
91 67 Adrian Georgescu
</pre>
92 1 Adrian Georgescu
93 157 Adrian Georgescu
h3. Command Line Tools
94
95
96
<pre>
97 155 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/sipclients
98 157 Adrian Georgescu
</pre>
99 155 Adrian Georgescu
100
To obtain the incremental changes after the initial get, go to the python-sipsimple and sipclients directory and run:
101 1 Adrian Georgescu
102
<pre>
103
darcs pull -a
104
</pre>
105
106
h2. Dependencies
107
108 190 Adrian Georgescu
 * python                   http://python.org                                2.7
109 163 Adrian Georgescu
 * python-application       http://pypi.python.org/simple/python-application  >=1.4.0
110
 * python-backports         http://download.ag-projects.com/SipClient         >=1.0.0
111
 * python-cjson             http://pypi.python.org/pypi/python-cjson/         >=1.0.5
112
 * python-dateutil          http://niemeyer.net/python-dateutil                 >=1.4
113 181 Adrian Georgescu
 * python-eventlib          http://download.ag-projects.com/SipClient         >=0.1.1
114 163 Adrian Georgescu
 * python-greenlet          http://download.ag-projects.com/SipClient          =0.4.0
115
 * python-gnutls            http://pypi.python.org/simple/python-gnutls       >=1.1.9
116
 * python-lxml              http://codespeak.net/lxml                         >=2.1.2
117
 * python-msrplib           http://download.ag-projects.com/MSRP             >=0.15.0
118
 * python-xcaplib           http://download.ag-projects.com/XCAP             >=1.0.17
119
 * cython                   http://www.cython.org                            >=0.13.0
120
 * dnspython                http://www.dnspython.org                          >=1.6.0
121
 * twisted                  http://twistedmatrix.com/trac                     >=8.1.0
122 1 Adrian Georgescu
 * zope-interface           http://www.zope.org                               >=3.3.1
123 175 Adrian Georgescu
124 176 Adrian Georgescu
For how to build the dependencies see the documentation that comes with each package. Do no ask us how to build the required dependencies because it is as difficult as having people landed on the Moon, which is not even certain it actually happened.
125 157 Adrian Georgescu
126
h2. Building Instructions
127
128 124 Adrian Georgescu
129 106 Adrian Georgescu
Complete building and installation instructions for the corresponding platforms are available in the doc folder that comes with the source code:
130 157 Adrian Georgescu
131
| Install.linux |  Generic Linux | 
132
| Install.debian |  Debian Linux |  
133
| Install.ubuntu |  Ubuntu Linux |  
134
| Install.windows  | Microsoft Windows | 
135 1 Adrian Georgescu
| Install.osx-10.7  | MacOSX 10.7 Lion| 
136 199 Adrian Georgescu
| Install.osx-10.8  | MacOSX 10.8 & 10.9| 
137 190 Adrian Georgescu
138
139
h2. Testing
140
141
142
To test SIP SIMPLE Client SDK, you can use the Command Line Tools provided by the sipclients package. Command Line Tools are compatible with MacOSX and Linux only.
143
144
See [[SipTesting|Testing]] page for how to test the SDK.