SipInstallation

Version 164 (Adrian Georgescu, 09/06/2012 09:57 am)

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