Project

General

Profile

SipInstallation » History » Version 158

Adrian Georgescu, 05/01/2012 12:13 PM

1 157 Adrian Georgescu
h1. Installation
2 1 Adrian Georgescu
3
4 157 Adrian Georgescu
5
6
7
h2. Prerequisites
8
9
10 1 Adrian Georgescu
The following platforms have been tested and are fully supported:
11
12 157 Adrian Georgescu
* Linux Debian and Ubuntu (i386 and amd64 architectures)
13
* MacOSX 10.6 and 10.7 (Intel 32 bit architecture)
14
* Microsoft Windows (XP, Vista and 7)
15 117 Adrian Georgescu
16 1 Adrian Georgescu
17 157 Adrian Georgescu
h2. Current Version
18
19
20 148 Adrian Georgescu
Released on December 20th, 2011
21 156 Adrian Georgescu
22 157 Adrian Georgescu
| *Package Name* | *Version*|*Description*|
23
| python-sipsimple |0.20.0| SIP SIMPLE client SDK|
24
| python-msrplib |0.14.2| MSRP client library|
25
| python-xcaplib |1.0.16| XCAP client library|
26
| sipclients| 0.20.0 | Command Line Tools|
27 1 Adrian Georgescu
28 97 Adrian Georgescu
29 157 Adrian Georgescu
h2. Tar Archives
30
31
32 1 Adrian Georgescu
The software is available as a tar archive at:
33
34
http://download.ag-projects.com/SipClient/
35
36 97 Adrian Georgescu
37 157 Adrian Georgescu
h2. Debian Packages
38
39
40 1 Adrian Georgescu
Install the AG Projects debian software signing key:
41
42 157 Adrian Georgescu
<pre>
43 1 Adrian Georgescu
wget http://download.ag-projects.com/agp-debian-gpg.key
44 97 Adrian Georgescu
sudo apt-key add agp-debian-gpg.key
45 157 Adrian Georgescu
</pre>
46 70 Adrian Georgescu
47 1 Adrian Georgescu
Add these lines to /etc/apt/sources.list:
48
49
50 157 Adrian Georgescu
h3. Debian Stable (Squeeze)
51
52
53
<pre>
54 1 Adrian Georgescu
# AG Projects software
55
deb	http://ag-projects.com/debian stable main
56
deb-src http://ag-projects.com/debian stable main
57 157 Adrian Georgescu
</pre>
58 100 Adrian Georgescu
59
60 157 Adrian Georgescu
h3. Debian Unstable (Sid)
61
62
63
<pre>
64 1 Adrian Georgescu
# AG Projects software
65
deb	http://ag-projects.com/debian unstable main
66
deb-src http://ag-projects.com/debian unstable main
67 157 Adrian Georgescu
</pre>
68 1 Adrian Georgescu
69
70
71 157 Adrian Georgescu
h3. Ubuntu Lucid (10.04)  
72
73
74
<pre>
75 147 Adrian Georgescu
# AG Projects software
76
deb	http://ag-projects.com/ubuntu lucid main
77 1 Adrian Georgescu
deb-src http://ag-projects.com/ubuntu lucid main
78 157 Adrian Georgescu
</pre>
79 147 Adrian Georgescu
80 1 Adrian Georgescu
81 157 Adrian Georgescu
h3. Ubuntu Maverick (10.10) 
82
83
84
<pre>
85 1 Adrian Georgescu
# AG Projects software
86
deb	http://ag-projects.com/ubuntu maverick main
87 84 Adrian Georgescu
deb-src http://ag-projects.com/ubuntu maverick main
88 157 Adrian Georgescu
</pre>
89 1 Adrian Georgescu
90
91 157 Adrian Georgescu
h3. Ubuntu Natty (11.04) 
92
93
94
<pre>
95 1 Adrian Georgescu
# AG Projects software
96
deb	http://ag-projects.com/ubuntu natty main
97
deb-src http://ag-projects.com/ubuntu natty main
98 157 Adrian Georgescu
</pre>
99 1 Adrian Georgescu
100
101 157 Adrian Georgescu
h3. Ubuntu Oneiric (11.10) 
102
103
104
<pre>
105 1 Adrian Georgescu
# AG Projects software
106
deb	http://ag-projects.com/ubuntu oneiric main
107
deb-src http://ag-projects.com/ubuntu oneiric main
108 157 Adrian Georgescu
</pre>
109 1 Adrian Georgescu
110
Update the list of available packages:
111
112 157 Adrian Georgescu
<pre>
113 1 Adrian Georgescu
sudo apt-get update
114 157 Adrian Georgescu
</pre>
115 1 Adrian Georgescu
116
Install SIP SIMPLE client SDK:
117
118 157 Adrian Georgescu
<pre>
119 137 Adrian Georgescu
sudo apt-get install python-sipsimple
120 157 Adrian Georgescu
</pre>
121 1 Adrian Georgescu
122
Install Command Line Tools:
123
124 157 Adrian Georgescu
<pre>
125 1 Adrian Georgescu
sudo apt-get install sipclients 
126 157 Adrian Georgescu
</pre>
127 1 Adrian Georgescu
128
129 98 Adrian Georgescu
130 157 Adrian Georgescu
h2. Version Control Repository
131 78 Adrian Georgescu
132
133 157 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.com/report.
134 70 Adrian Georgescu
135 157 Adrian Georgescu
The source code is managed using "darcs":http://darcs.net version control tool. The darcs repository can be fetched with:
136
137 1 Adrian Georgescu
138 158 Adrian Georgescu
h3. SIP SIMPLE Client SDK
139 1 Adrian Georgescu
140
<pre>
141
darcs get http://devel.ag-projects.com/repositories/python-sipsimple
142 158 Adrian Georgescu
</pre>
143
144
<pre>
145
darcs get http://devel.ag-projects.com/repositories/python-xcaplib
146
</pre>
147
148
<pre>
149
darcs get http://devel.ag-projects.com/repositories/python-msrplib
150 157 Adrian Georgescu
</pre>
151 1 Adrian Georgescu
152 67 Adrian Georgescu
153 1 Adrian Georgescu
154 157 Adrian Georgescu
h3. Command Line Tools
155
156
157
<pre>
158 155 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/sipclients
159 157 Adrian Georgescu
</pre>
160 155 Adrian Georgescu
161
To obtain the incremental changes after the initial get, go to the python-sipsimple and sipclients directory and run:
162 1 Adrian Georgescu
163 157 Adrian Georgescu
<pre>
164 155 Adrian Georgescu
darcs pull -a
165 157 Adrian Georgescu
</pre>
166 155 Adrian Georgescu
167 156 Adrian Georgescu
168 157 Adrian Georgescu
h2. Dependencies
169 155 Adrian Georgescu
170
171 157 Adrian Georgescu
* python                   http://python.org                                2.6, 2.7
172
* python-application       http://pypi.python.org/simple/python-application  >=1.2.8
173
* python-backports         http://download.ag-projects.com/SipClient         >=1.0.0
174
* python-cjson             http://pypi.python.org/pypi/python-cjson/         >=1.0.5
175
* python-dateutil          http://niemeyer.net/python-dateutil                 >=1.4
176
* python-eventlet          http://download.ag-projects.com/SipClient         =0.8.11
177
* python-greenlet          http://download.ag-projects.com/SipClient          =0.4.0
178
* python-gnutls            http://pypi.python.org/simple/python-gnutls       >=1.1.9
179
* python-lxml              http://codespeak.net/lxml                         >=2.1.2
180
* python-msrplib           http://download.ag-projects.com/MSRP             >=0.14.2
181
* python-xcaplib           http://download.ag-projects.com/XCAP             >=1.0.15
182
* cython                   http://www.cython.org                    >=0.13.0 & <0.15
183
* dnspython                http://www.dnspython.org                          >=1.6.0
184
* twisted                  http://twistedmatrix.com/trac                     >=8.1.0
185
* zope-interface           http://www.zope.org                               >=3.3.1
186
* Python Imaging Library   http://pypi.python.org/pypi/PIL/                  >=1.1.6
187
188
189
h2. Building Instructions
190
191
192 124 Adrian Georgescu
Complete building and installation instructions for the corresponding platforms are available in the doc folder that comes with the source code:
193 106 Adrian Georgescu
194 157 Adrian Georgescu
| Install.linux |  Generic Linux | 
195
| Install.debian |  Debian Linux |  
196
| Install.ubuntu |  Ubuntu Linux |  
197
| Install.windows  | Microsoft Windows | 
198
| Install.osx-10.6  | MacOSX 10.6 Snow Leopard | 
199
| Install.osx-10.7  | MacOSX 10.7 Lion | 
200 1 Adrian Georgescu
201
202 157 Adrian Georgescu
h2. Audio Device Sharing
203 1 Adrian Georgescu
204
205 157 Adrian Georgescu
For audio device sharing on Linux see [[SipAudioDeviceSharingLinux|Audio Device Sharing]]
206
207
208
h2. Testing
209
210
211 1 Adrian Georgescu
To test SIP SIMPLE client SDK, you can use the Command Line Tools provided by the sipclients package. The Command Line Tools are compatible with MacOSX and Linux only.
212
213 157 Adrian Georgescu
See [[SipTesting|Testing]] page for how to test the SDK.