SipInstallation

Version 169 (Adrian Georgescu, 10/29/2012 02:26 pm)

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 167 Adrian Georgescu
"Released on October 29th, 2012":http://sipsimpleclient.com/news/11
20 156 Adrian Georgescu
21 157 Adrian Georgescu
| *Package Name* | *Version*|*Description*|
22 166 Adrian Georgescu
| python-sipsimple |0.31.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 166 Adrian Georgescu
| sipclients| 0.31.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 157 Adrian Georgescu
h3. Ubuntu Natty (11.04) 
69 157 Adrian Georgescu
70 157 Adrian Georgescu
71 157 Adrian Georgescu
<pre>
72 1 Adrian Georgescu
# AG Projects software
73 1 Adrian Georgescu
deb	http://ag-projects.com/ubuntu natty main
74 1 Adrian Georgescu
deb-src http://ag-projects.com/ubuntu natty main
75 1 Adrian Georgescu
</pre>
76 1 Adrian Georgescu
77 1 Adrian Georgescu
78 1 Adrian Georgescu
h3. Ubuntu Oneiric (11.10) 
79 1 Adrian Georgescu
80 1 Adrian Georgescu
81 1 Adrian Georgescu
<pre>
82 1 Adrian Georgescu
# AG Projects software
83 1 Adrian Georgescu
deb	http://ag-projects.com/ubuntu oneiric main
84 157 Adrian Georgescu
deb-src http://ag-projects.com/ubuntu oneiric main
85 1 Adrian Georgescu
</pre>
86 165 Adrian Georgescu
87 165 Adrian Georgescu
h3. Ubuntu Precise (12.04) 
88 165 Adrian Georgescu
89 165 Adrian Georgescu
<pre>
90 165 Adrian Georgescu
# AG Projects software
91 165 Adrian Georgescu
deb	http://ag-projects.com/ubuntu precise main
92 165 Adrian Georgescu
deb-src http://ag-projects.com/ubuntu precise main
93 165 Adrian Georgescu
</pre>
94 165 Adrian Georgescu
95 168 Adrian Georgescu
h3. Ubuntu Quantal (12.10) 
96 168 Adrian Georgescu
97 168 Adrian Georgescu
<pre>
98 168 Adrian Georgescu
# AG Projects software
99 168 Adrian Georgescu
deb	http://ag-projects.com/ubuntu quantal main
100 168 Adrian Georgescu
deb-src http://ag-projects.com/ubuntu quantal main
101 168 Adrian Georgescu
</pre>
102 168 Adrian Georgescu
103 1 Adrian Georgescu
104 1 Adrian Georgescu
Update the list of available packages:
105 1 Adrian Georgescu
106 157 Adrian Georgescu
<pre>
107 1 Adrian Georgescu
sudo apt-get update
108 157 Adrian Georgescu
</pre>
109 1 Adrian Georgescu
110 1 Adrian Georgescu
Install SIP SIMPLE client SDK:
111 1 Adrian Georgescu
112 157 Adrian Georgescu
<pre>
113 137 Adrian Georgescu
sudo apt-get install python-sipsimple
114 157 Adrian Georgescu
</pre>
115 1 Adrian Georgescu
116 1 Adrian Georgescu
Install Command Line Tools:
117 1 Adrian Georgescu
118 157 Adrian Georgescu
<pre>
119 1 Adrian Georgescu
sudo apt-get install sipclients 
120 157 Adrian Georgescu
</pre>
121 1 Adrian Georgescu
122 1 Adrian Georgescu
123 98 Adrian Georgescu
124 157 Adrian Georgescu
h2. Version Control Repository
125 78 Adrian Georgescu
126 78 Adrian Georgescu
127 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.
128 70 Adrian Georgescu
129 157 Adrian Georgescu
The source code is managed using "darcs":http://darcs.net version control tool. The darcs repository can be fetched with:
130 157 Adrian Georgescu
131 1 Adrian Georgescu
132 158 Adrian Georgescu
h3. SIP SIMPLE Client SDK
133 1 Adrian Georgescu
134 1 Adrian Georgescu
<pre>
135 1 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-sipsimple
136 158 Adrian Georgescu
</pre>
137 158 Adrian Georgescu
138 159 Adrian Georgescu
h4. Dependencies
139 159 Adrian Georgescu
140 159 Adrian Georgescu
Several dependencies provided by AG Projects can be accessed in the same way:
141 159 Adrian Georgescu
142 158 Adrian Georgescu
<pre>
143 160 Adrian Georgescu
* darcs get http://devel.ag-projects.com/repositories/python-xcaplib
144 160 Adrian Georgescu
* darcs get http://devel.ag-projects.com/repositories/python-msrplib
145 160 Adrian Georgescu
* darcs get http://devel.ag-projects.com/repositories/python-application
146 160 Adrian Georgescu
* darcs get http://devel.ag-projects.com/repositories/python-backports
147 160 Adrian Georgescu
* darcs get http://devel.ag-projects.com/repositories/python-gnutls
148 160 Adrian Georgescu
* darcs get http://devel.ag-projects.com/repositories/python-cjson
149 160 Adrian Georgescu
* darcs get http://devel.ag-projects.com/repositories/python-greenlet
150 163 Adrian Georgescu
* darcs get http://devel.ag-projects.com/repositories/python-eventlib
151 1 Adrian Georgescu
</pre>
152 67 Adrian Georgescu
153 1 Adrian Georgescu
154 157 Adrian Georgescu
h3. Command Line Tools
155 157 Adrian Georgescu
156 157 Adrian Georgescu
157 157 Adrian Georgescu
<pre>
158 155 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/sipclients
159 157 Adrian Georgescu
</pre>
160 155 Adrian Georgescu
161 155 Adrian Georgescu
To obtain the incremental changes after the initial get, go to the python-sipsimple and sipclients directory and run:
162 1 Adrian Georgescu
163 1 Adrian Georgescu
<pre>
164 1 Adrian Georgescu
darcs pull -a
165 1 Adrian Georgescu
</pre>
166 1 Adrian Georgescu
167 1 Adrian Georgescu
168 1 Adrian Georgescu
h2. Dependencies
169 1 Adrian Georgescu
170 163 Adrian Georgescu
 * python                   http://python.org                                2.6, 2.7
171 163 Adrian Georgescu
 * python-application       http://pypi.python.org/simple/python-application  >=1.4.0
172 163 Adrian Georgescu
 * python-backports         http://download.ag-projects.com/SipClient         >=1.0.0
173 163 Adrian Georgescu
 * python-cjson             http://pypi.python.org/pypi/python-cjson/         >=1.0.5
174 163 Adrian Georgescu
 * python-dateutil          http://niemeyer.net/python-dateutil                 >=1.4
175 163 Adrian Georgescu
 * python-eventlib          http://download.ag-projects.com/SipClient         >=0.1.0
176 163 Adrian Georgescu
 * python-greenlet          http://download.ag-projects.com/SipClient          =0.4.0
177 163 Adrian Georgescu
 * python-gnutls            http://pypi.python.org/simple/python-gnutls       >=1.1.9
178 163 Adrian Georgescu
 * python-lxml              http://codespeak.net/lxml                         >=2.1.2
179 163 Adrian Georgescu
 * python-msrplib           http://download.ag-projects.com/MSRP             >=0.15.0
180 163 Adrian Georgescu
 * python-xcaplib           http://download.ag-projects.com/XCAP             >=1.0.17
181 163 Adrian Georgescu
 * cython                   http://www.cython.org                            >=0.13.0
182 163 Adrian Georgescu
 * dnspython                http://www.dnspython.org                          >=1.6.0
183 163 Adrian Georgescu
 * twisted                  http://twistedmatrix.com/trac                     >=8.1.0
184 163 Adrian Georgescu
 * zope-interface           http://www.zope.org                               >=3.3.1
185 157 Adrian Georgescu
186 157 Adrian Georgescu
h2. Building Instructions
187 157 Adrian Georgescu
188 124 Adrian Georgescu
189 106 Adrian Georgescu
Complete building and installation instructions for the corresponding platforms are available in the doc folder that comes with the source code:
190 157 Adrian Georgescu
191 157 Adrian Georgescu
| Install.linux |  Generic Linux | 
192 157 Adrian Georgescu
| Install.debian |  Debian Linux |  
193 157 Adrian Georgescu
| Install.ubuntu |  Ubuntu Linux |  
194 157 Adrian Georgescu
| Install.windows  | Microsoft Windows | 
195 161 Adrian Georgescu
| Install.osx-10.6  | MacOSX 10.6 Snow Leopard | 
196 163 Adrian Georgescu
| Install.osx-10.7  | MacOSX 10.7 Lion| 
197 163 Adrian Georgescu
| Install.osx-10.7  | MacOSX 10.8 Mountain Lion| 
198 157 Adrian Georgescu
199 1 Adrian Georgescu
200 1 Adrian Georgescu
h2. Audio Device Sharing
201 157 Adrian Georgescu
202 157 Adrian Georgescu
203 157 Adrian Georgescu
For audio device sharing on Linux see [[SipAudioDeviceSharingLinux|Audio Device Sharing]]
204 157 Adrian Georgescu
205 157 Adrian Georgescu
206 157 Adrian Georgescu
h2. Testing
207 1 Adrian Georgescu
208 1 Adrian Georgescu
209 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.
210 1 Adrian Georgescu
211 1 Adrian Georgescu
See [[SipTesting|Testing]] page for how to test the SDK.