SipInstallation

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