SipInstallation

Version 188 (Adrian Georgescu, 07/23/2013 10:08 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 185 Adrian Georgescu
Released on June 26th, 2013
16 1 Adrian Georgescu
17 157 Adrian Georgescu
| *Package Name* | *Version*|*Description*|
18 188 Adrian Georgescu
| python-sipsimple |0.35.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 185 Adrian Georgescu
| sipclients| 0.35.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 1 Adrian Georgescu
54 98 Adrian Georgescu
55 157 Adrian Georgescu
h2. Version Control Repository
56 78 Adrian Georgescu
57 78 Adrian Georgescu
58 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.
59 70 Adrian Georgescu
60 157 Adrian Georgescu
The source code is managed using "darcs":http://darcs.net version control tool. The darcs repository can be fetched with:
61 157 Adrian Georgescu
62 1 Adrian Georgescu
63 158 Adrian Georgescu
h3. SIP SIMPLE Client SDK
64 1 Adrian Georgescu
65 1 Adrian Georgescu
<pre>
66 1 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-sipsimple
67 158 Adrian Georgescu
</pre>
68 158 Adrian Georgescu
69 159 Adrian Georgescu
h4. Dependencies
70 159 Adrian Georgescu
71 159 Adrian Georgescu
Several dependencies provided by AG Projects can be accessed in the same way:
72 159 Adrian Georgescu
73 158 Adrian Georgescu
<pre>
74 179 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-xcaplib
75 179 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-msrplib
76 179 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-application
77 179 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-backports
78 179 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-gnutls
79 179 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-cjson
80 179 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-greenlet
81 179 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/python-eventlib
82 67 Adrian Georgescu
</pre>
83 1 Adrian Georgescu
84 157 Adrian Georgescu
h3. Command Line Tools
85 157 Adrian Georgescu
86 157 Adrian Georgescu
87 157 Adrian Georgescu
<pre>
88 155 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/sipclients
89 157 Adrian Georgescu
</pre>
90 155 Adrian Georgescu
91 155 Adrian Georgescu
To obtain the incremental changes after the initial get, go to the python-sipsimple and sipclients directory and run:
92 1 Adrian Georgescu
93 1 Adrian Georgescu
<pre>
94 1 Adrian Georgescu
darcs pull -a
95 1 Adrian Georgescu
</pre>
96 1 Adrian Georgescu
97 1 Adrian Georgescu
h2. Dependencies
98 1 Adrian Georgescu
99 163 Adrian Georgescu
 * python                   http://python.org                                2.6, 2.7
100 163 Adrian Georgescu
 * python-application       http://pypi.python.org/simple/python-application  >=1.4.0
101 163 Adrian Georgescu
 * python-backports         http://download.ag-projects.com/SipClient         >=1.0.0
102 163 Adrian Georgescu
 * python-cjson             http://pypi.python.org/pypi/python-cjson/         >=1.0.5
103 163 Adrian Georgescu
 * python-dateutil          http://niemeyer.net/python-dateutil                 >=1.4
104 181 Adrian Georgescu
 * python-eventlib          http://download.ag-projects.com/SipClient         >=0.1.1
105 163 Adrian Georgescu
 * python-greenlet          http://download.ag-projects.com/SipClient          =0.4.0
106 163 Adrian Georgescu
 * python-gnutls            http://pypi.python.org/simple/python-gnutls       >=1.1.9
107 163 Adrian Georgescu
 * python-lxml              http://codespeak.net/lxml                         >=2.1.2
108 163 Adrian Georgescu
 * python-msrplib           http://download.ag-projects.com/MSRP             >=0.15.0
109 163 Adrian Georgescu
 * python-xcaplib           http://download.ag-projects.com/XCAP             >=1.0.17
110 163 Adrian Georgescu
 * cython                   http://www.cython.org                            >=0.13.0
111 163 Adrian Georgescu
 * dnspython                http://www.dnspython.org                          >=1.6.0
112 163 Adrian Georgescu
 * twisted                  http://twistedmatrix.com/trac                     >=8.1.0
113 1 Adrian Georgescu
 * zope-interface           http://www.zope.org                               >=3.3.1
114 175 Adrian Georgescu
115 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.
116 157 Adrian Georgescu
117 157 Adrian Georgescu
h2. Building Instructions
118 157 Adrian Georgescu
119 124 Adrian Georgescu
120 106 Adrian Georgescu
Complete building and installation instructions for the corresponding platforms are available in the doc folder that comes with the source code:
121 157 Adrian Georgescu
122 157 Adrian Georgescu
| Install.linux |  Generic Linux | 
123 157 Adrian Georgescu
| Install.debian |  Debian Linux |  
124 157 Adrian Georgescu
| Install.ubuntu |  Ubuntu Linux |  
125 157 Adrian Georgescu
| Install.windows  | Microsoft Windows | 
126 161 Adrian Georgescu
| Install.osx-10.6  | MacOSX 10.6 Snow Leopard | 
127 163 Adrian Georgescu
| Install.osx-10.7  | MacOSX 10.7 Lion| 
128 186 Adrian Georgescu
| Install.osx-10.8  | MacOSX 10.8 Mountain Lion| 
129 157 Adrian Georgescu
130 1 Adrian Georgescu
131 157 Adrian Georgescu
h2. Testing
132 1 Adrian Georgescu
133 1 Adrian Georgescu
134 180 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.
135 1 Adrian Georgescu
136 1 Adrian Georgescu
See [[SipTesting|Testing]] page for how to test the SDK.