SipInstallation

Version 171 (Adrian Georgescu, 10/29/2012 02:36 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 171 Adrian Georgescu
Installation instructions are available:
35 168 Adrian Georgescu
36 171 Adrian Georgescu
<a href=http://projects.ag-projects.com/projects/documentation/wiki/Repositories>here</a>.
37 1 Adrian Georgescu
38 1 Adrian Georgescu
Update the list of available packages:
39 1 Adrian Georgescu
40 157 Adrian Georgescu
<pre>
41 1 Adrian Georgescu
sudo apt-get update
42 157 Adrian Georgescu
</pre>
43 1 Adrian Georgescu
44 1 Adrian Georgescu
Install SIP SIMPLE client SDK:
45 1 Adrian Georgescu
46 157 Adrian Georgescu
<pre>
47 137 Adrian Georgescu
sudo apt-get install python-sipsimple
48 157 Adrian Georgescu
</pre>
49 1 Adrian Georgescu
50 1 Adrian Georgescu
Install Command Line Tools:
51 1 Adrian Georgescu
52 157 Adrian Georgescu
<pre>
53 1 Adrian Georgescu
sudo apt-get install sipclients 
54 157 Adrian Georgescu
</pre>
55 1 Adrian Georgescu
56 1 Adrian Georgescu
57 98 Adrian Georgescu
58 157 Adrian Georgescu
h2. Version Control Repository
59 78 Adrian Georgescu
60 78 Adrian Georgescu
61 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.
62 70 Adrian Georgescu
63 157 Adrian Georgescu
The source code is managed using "darcs":http://darcs.net version control tool. The darcs repository can be fetched with:
64 157 Adrian Georgescu
65 1 Adrian Georgescu
66 158 Adrian Georgescu
h3. SIP SIMPLE Client SDK
67 1 Adrian Georgescu
68 1 Adrian Georgescu
<pre>
69 1 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-sipsimple
70 158 Adrian Georgescu
</pre>
71 158 Adrian Georgescu
72 159 Adrian Georgescu
h4. Dependencies
73 159 Adrian Georgescu
74 159 Adrian Georgescu
Several dependencies provided by AG Projects can be accessed in the same way:
75 159 Adrian Georgescu
76 158 Adrian Georgescu
<pre>
77 160 Adrian Georgescu
* darcs get http://devel.ag-projects.com/repositories/python-xcaplib
78 160 Adrian Georgescu
* darcs get http://devel.ag-projects.com/repositories/python-msrplib
79 160 Adrian Georgescu
* darcs get http://devel.ag-projects.com/repositories/python-application
80 160 Adrian Georgescu
* darcs get http://devel.ag-projects.com/repositories/python-backports
81 160 Adrian Georgescu
* darcs get http://devel.ag-projects.com/repositories/python-gnutls
82 160 Adrian Georgescu
* darcs get http://devel.ag-projects.com/repositories/python-cjson
83 160 Adrian Georgescu
* darcs get http://devel.ag-projects.com/repositories/python-greenlet
84 163 Adrian Georgescu
* darcs get http://devel.ag-projects.com/repositories/python-eventlib
85 1 Adrian Georgescu
</pre>
86 67 Adrian Georgescu
87 1 Adrian Georgescu
88 157 Adrian Georgescu
h3. Command Line Tools
89 157 Adrian Georgescu
90 157 Adrian Georgescu
91 157 Adrian Georgescu
<pre>
92 155 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/sipclients
93 157 Adrian Georgescu
</pre>
94 155 Adrian Georgescu
95 155 Adrian Georgescu
To obtain the incremental changes after the initial get, go to the python-sipsimple and sipclients directory and run:
96 1 Adrian Georgescu
97 1 Adrian Georgescu
<pre>
98 1 Adrian Georgescu
darcs pull -a
99 1 Adrian Georgescu
</pre>
100 1 Adrian Georgescu
101 1 Adrian Georgescu
102 1 Adrian Georgescu
h2. Dependencies
103 1 Adrian Georgescu
104 163 Adrian Georgescu
 * python                   http://python.org                                2.6, 2.7
105 163 Adrian Georgescu
 * python-application       http://pypi.python.org/simple/python-application  >=1.4.0
106 163 Adrian Georgescu
 * python-backports         http://download.ag-projects.com/SipClient         >=1.0.0
107 163 Adrian Georgescu
 * python-cjson             http://pypi.python.org/pypi/python-cjson/         >=1.0.5
108 163 Adrian Georgescu
 * python-dateutil          http://niemeyer.net/python-dateutil                 >=1.4
109 163 Adrian Georgescu
 * python-eventlib          http://download.ag-projects.com/SipClient         >=0.1.0
110 163 Adrian Georgescu
 * python-greenlet          http://download.ag-projects.com/SipClient          =0.4.0
111 163 Adrian Georgescu
 * python-gnutls            http://pypi.python.org/simple/python-gnutls       >=1.1.9
112 163 Adrian Georgescu
 * python-lxml              http://codespeak.net/lxml                         >=2.1.2
113 163 Adrian Georgescu
 * python-msrplib           http://download.ag-projects.com/MSRP             >=0.15.0
114 163 Adrian Georgescu
 * python-xcaplib           http://download.ag-projects.com/XCAP             >=1.0.17
115 163 Adrian Georgescu
 * cython                   http://www.cython.org                            >=0.13.0
116 163 Adrian Georgescu
 * dnspython                http://www.dnspython.org                          >=1.6.0
117 163 Adrian Georgescu
 * twisted                  http://twistedmatrix.com/trac                     >=8.1.0
118 163 Adrian Georgescu
 * zope-interface           http://www.zope.org                               >=3.3.1
119 157 Adrian Georgescu
120 157 Adrian Georgescu
h2. Building Instructions
121 157 Adrian Georgescu
122 124 Adrian Georgescu
123 106 Adrian Georgescu
Complete building and installation instructions for the corresponding platforms are available in the doc folder that comes with the source code:
124 157 Adrian Georgescu
125 157 Adrian Georgescu
| Install.linux |  Generic Linux | 
126 157 Adrian Georgescu
| Install.debian |  Debian Linux |  
127 157 Adrian Georgescu
| Install.ubuntu |  Ubuntu Linux |  
128 157 Adrian Georgescu
| Install.windows  | Microsoft Windows | 
129 161 Adrian Georgescu
| Install.osx-10.6  | MacOSX 10.6 Snow Leopard | 
130 163 Adrian Georgescu
| Install.osx-10.7  | MacOSX 10.7 Lion| 
131 163 Adrian Georgescu
| Install.osx-10.7  | MacOSX 10.8 Mountain Lion| 
132 157 Adrian Georgescu
133 1 Adrian Georgescu
134 1 Adrian Georgescu
h2. Audio Device Sharing
135 157 Adrian Georgescu
136 157 Adrian Georgescu
137 157 Adrian Georgescu
For audio device sharing on Linux see [[SipAudioDeviceSharingLinux|Audio Device Sharing]]
138 157 Adrian Georgescu
139 157 Adrian Georgescu
140 157 Adrian Georgescu
h2. Testing
141 1 Adrian Georgescu
142 1 Adrian Georgescu
143 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.
144 1 Adrian Georgescu
145 1 Adrian Georgescu
See [[SipTesting|Testing]] page for how to test the SDK.