SipInstallation

Version 170 (Adrian Georgescu, 10/29/2012 02:35 pm)

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