SipInstallation

Version 191 (Adrian Georgescu, 08/09/2013 12:19 pm)

1 180 Adrian Georgescu
h1. Installation Instructions
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 189 Adrian Georgescu
Released on August 9th, 2013
16 1 Adrian Georgescu
17 157 Adrian Georgescu
| *Package Name* | *Version*|*Description*|
18 189 Adrian Georgescu
| python-sipsimple |1.0.0| SIP SIMPLE Client SDK|
19 163 Adrian Georgescu
| python-msrplib |0.15.0| MSRP client library|
20 163 Adrian Georgescu
| python-xcaplib |1.0.17| XCAP client library|
21 189 Adrian Georgescu
| sipclients| 1.0.0 | Command Line Tools|
22 97 Adrian Georgescu
23 157 Adrian Georgescu
h2. Tar Archives
24 157 Adrian Georgescu
25 157 Adrian Georgescu
26 1 Adrian Georgescu
The software is available as a tar archive at:
27 1 Adrian Georgescu
28 1 Adrian Georgescu
http://download.ag-projects.com/SipClient/
29 1 Adrian Georgescu
30 97 Adrian Georgescu
31 157 Adrian Georgescu
h2. Debian Packages
32 157 Adrian Georgescu
33 172 Adrian Georgescu
The location of repositories are "here":http://projects.ag-projects.com/projects/documentation/wiki/Repositories
34 1 Adrian Georgescu
35 1 Adrian Georgescu
Update the list of available packages:
36 1 Adrian Georgescu
37 157 Adrian Georgescu
<pre>
38 1 Adrian Georgescu
sudo apt-get update
39 157 Adrian Georgescu
</pre>
40 1 Adrian Georgescu
41 180 Adrian Georgescu
Install SIP SIMPLE Client SDK:
42 1 Adrian Georgescu
43 157 Adrian Georgescu
<pre>
44 137 Adrian Georgescu
sudo apt-get install python-sipsimple
45 157 Adrian Georgescu
</pre>
46 1 Adrian Georgescu
47 1 Adrian Georgescu
Install Command Line Tools:
48 1 Adrian Georgescu
49 157 Adrian Georgescu
<pre>
50 1 Adrian Georgescu
sudo apt-get install sipclients 
51 157 Adrian Georgescu
</pre>
52 1 Adrian Georgescu
53 191 Adrian Georgescu
h3. Ubuntu Precise
54 1 Adrian Georgescu
55 191 Adrian Georgescu
Ubuntu Precise 12.04 has changed libgcrypt11 package in a way that breaks python-simple. To overcome this problem, install this package:
56 98 Adrian Georgescu
57 191 Adrian Georgescu
<pre>
58 191 Adrian Georgescu
sudo apt-get install libgcrypt11=1.5.0-3ububtu0.1+agp
59 191 Adrian Georgescu
<pre>
60 191 Adrian Georgescu
61 191 Adrian Georgescu
62 191 Adrian Georgescu
63 157 Adrian Georgescu
h2. Version Control Repository
64 78 Adrian Georgescu
65 78 Adrian Georgescu
66 177 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.org/report.
67 70 Adrian Georgescu
68 157 Adrian Georgescu
The source code is managed using "darcs":http://darcs.net version control tool. The darcs repository can be fetched with:
69 157 Adrian Georgescu
70 1 Adrian Georgescu
71 158 Adrian Georgescu
h3. SIP SIMPLE Client SDK
72 1 Adrian Georgescu
73 1 Adrian Georgescu
<pre>
74 1 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-sipsimple
75 158 Adrian Georgescu
</pre>
76 158 Adrian Georgescu
77 159 Adrian Georgescu
h4. Dependencies
78 159 Adrian Georgescu
79 159 Adrian Georgescu
Several dependencies provided by AG Projects can be accessed in the same way:
80 159 Adrian Georgescu
81 158 Adrian Georgescu
<pre>
82 179 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-xcaplib
83 179 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-msrplib
84 179 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-application
85 179 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-backports
86 179 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-gnutls
87 179 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-cjson
88 179 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-greenlet
89 179 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-eventlib
90 67 Adrian Georgescu
</pre>
91 1 Adrian Georgescu
92 157 Adrian Georgescu
h3. Command Line Tools
93 157 Adrian Georgescu
94 157 Adrian Georgescu
95 157 Adrian Georgescu
<pre>
96 155 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/sipclients
97 157 Adrian Georgescu
</pre>
98 155 Adrian Georgescu
99 155 Adrian Georgescu
To obtain the incremental changes after the initial get, go to the python-sipsimple and sipclients directory and run:
100 1 Adrian Georgescu
101 1 Adrian Georgescu
<pre>
102 1 Adrian Georgescu
darcs pull -a
103 1 Adrian Georgescu
</pre>
104 1 Adrian Georgescu
105 1 Adrian Georgescu
h2. Dependencies
106 1 Adrian Georgescu
107 190 Adrian Georgescu
 * python                   http://python.org                                2.7
108 163 Adrian Georgescu
 * python-application       http://pypi.python.org/simple/python-application  >=1.4.0
109 163 Adrian Georgescu
 * python-backports         http://download.ag-projects.com/SipClient         >=1.0.0
110 163 Adrian Georgescu
 * python-cjson             http://pypi.python.org/pypi/python-cjson/         >=1.0.5
111 163 Adrian Georgescu
 * python-dateutil          http://niemeyer.net/python-dateutil                 >=1.4
112 181 Adrian Georgescu
 * python-eventlib          http://download.ag-projects.com/SipClient         >=0.1.1
113 163 Adrian Georgescu
 * python-greenlet          http://download.ag-projects.com/SipClient          =0.4.0
114 163 Adrian Georgescu
 * python-gnutls            http://pypi.python.org/simple/python-gnutls       >=1.1.9
115 163 Adrian Georgescu
 * python-lxml              http://codespeak.net/lxml                         >=2.1.2
116 163 Adrian Georgescu
 * python-msrplib           http://download.ag-projects.com/MSRP             >=0.15.0
117 163 Adrian Georgescu
 * python-xcaplib           http://download.ag-projects.com/XCAP             >=1.0.17
118 163 Adrian Georgescu
 * cython                   http://www.cython.org                            >=0.13.0
119 163 Adrian Georgescu
 * dnspython                http://www.dnspython.org                          >=1.6.0
120 163 Adrian Georgescu
 * twisted                  http://twistedmatrix.com/trac                     >=8.1.0
121 1 Adrian Georgescu
 * zope-interface           http://www.zope.org                               >=3.3.1
122 175 Adrian Georgescu
123 176 Adrian Georgescu
For how to build the dependencies see the documentation that comes with each package. Do no ask us how to build the required dependencies because it is as difficult as having people landed on the Moon, which is not even certain it actually happened.
124 157 Adrian Georgescu
125 157 Adrian Georgescu
h2. Building Instructions
126 157 Adrian Georgescu
127 124 Adrian Georgescu
128 106 Adrian Georgescu
Complete building and installation instructions for the corresponding platforms are available in the doc folder that comes with the source code:
129 157 Adrian Georgescu
130 157 Adrian Georgescu
| Install.linux |  Generic Linux | 
131 157 Adrian Georgescu
| Install.debian |  Debian Linux |  
132 157 Adrian Georgescu
| Install.ubuntu |  Ubuntu Linux |  
133 157 Adrian Georgescu
| Install.windows  | Microsoft Windows | 
134 161 Adrian Georgescu
| Install.osx-10.6  | MacOSX 10.6 Snow Leopard | 
135 163 Adrian Georgescu
| Install.osx-10.7  | MacOSX 10.7 Lion| 
136 186 Adrian Georgescu
| Install.osx-10.8  | MacOSX 10.8 Mountain Lion| 
137 190 Adrian Georgescu
138 190 Adrian Georgescu
139 190 Adrian Georgescu
h2. Testing
140 190 Adrian Georgescu
141 190 Adrian Georgescu
142 190 Adrian Georgescu
To test SIP SIMPLE Client SDK, you can use the Command Line Tools provided by the sipclients package. Command Line Tools are compatible with MacOSX and Linux only.
143 190 Adrian Georgescu
144 190 Adrian Georgescu
See [[SipTesting|Testing]] page for how to test the SDK.