SipInstallation

Version 2 (Adrian Georgescu, 01/10/2009 11:57 am)

1 1 Adrian Georgescu
= Installation guide =
2 1 Adrian Georgescu
 
3 1 Adrian Georgescu
== Download ==
4 1 Adrian Georgescu
5 1 Adrian Georgescu
=== Tarball ===
6 1 Adrian Georgescu
7 1 Adrian Georgescu
Tarball with the latest released version is available at [http://download.ag-projects.com/SipClient/ http://download.ag-projects.com/SipClient/]
8 1 Adrian Georgescu
9 1 Adrian Georgescu
=== Binary packages ===
10 1 Adrian Georgescu
11 1 Adrian Georgescu
Binary packages are available for Debian or Ubuntu on i386 and amd64 architectures. To install add the following lines to /etc/apt/sources.list:
12 1 Adrian Georgescu
13 1 Adrian Georgescu
{{{
14 1 Adrian Georgescu
deb	http://ag-projects.com/debian unstable main
15 1 Adrian Georgescu
deb-src http://ag-projects.com/debian unstable main
16 1 Adrian Georgescu
}}}
17 1 Adrian Georgescu
18 1 Adrian Georgescu
Install AG Projects debian repository signing key:
19 1 Adrian Georgescu
20 1 Adrian Georgescu
{{{
21 1 Adrian Georgescu
wget http://download.ag-projects.com/agp-debian-gpg.key
22 1 Adrian Georgescu
apt-key add agp-debian-gpg.key
23 1 Adrian Georgescu
}}}
24 1 Adrian Georgescu
25 1 Adrian Georgescu
Install the software:
26 1 Adrian Georgescu
27 1 Adrian Georgescu
{{{
28 1 Adrian Georgescu
apt-get update
29 1 Adrian Georgescu
apt-get install sipclient
30 1 Adrian Georgescu
}}}
31 1 Adrian Georgescu
32 1 Adrian Georgescu
Install dependencies that are not yet available as debian package:
33 1 Adrian Georgescu
34 1 Adrian Georgescu
{{{
35 1 Adrian Georgescu
sudo apt-get install mercurial python-setuptools
36 1 Adrian Georgescu
37 1 Adrian Georgescu
# Download and install eventlet for twisted:
38 1 Adrian Georgescu
hg clone http://devel.ag-projects.com/~denis/cgi-bin/hgweb.cgi/eventlet_twisted
39 1 Adrian Georgescu
cd eventlet_twisted
40 1 Adrian Georgescu
41 1 Adrian Georgescu
# To update the eventlet_twisted at a later date:
42 1 Adrian Georgescu
cd eventlet_twisted
43 1 Adrian Georgescu
hg pull
44 1 Adrian Georgescu
hg update
45 1 Adrian Georgescu
46 1 Adrian Georgescu
sudo python setup.py install
47 1 Adrian Georgescu
}}}
48 1 Adrian Georgescu
49 1 Adrian Georgescu
=== Version control ===
50 1 Adrian Georgescu
51 1 Adrian Georgescu
The source code is managed using [http://darcs.net darcs] version control tool. The darcs repository can be fetched with:
52 1 Adrian Georgescu
53 1 Adrian Georgescu
{{{
54 1 Adrian Georgescu
darcs get http://devel.ag-projects.com/repositories/pypjua sipsimpleclient
55 1 Adrian Georgescu
}}}
56 1 Adrian Georgescu
57 1 Adrian Georgescu
To obtain the incremental changes after the initial get, go to the sipsimpleclient directory and run:
58 1 Adrian Georgescu
59 1 Adrian Georgescu
{{{
60 1 Adrian Georgescu
cd sipsimpleclient
61 1 Adrian Georgescu
darcs pull
62 1 Adrian Georgescu
}}}
63 1 Adrian Georgescu
64 1 Adrian Georgescu
== Building the software ==
65 1 Adrian Georgescu
66 1 Adrian Georgescu
Building instructions for the corresponding platforms are available at:
67 1 Adrian Georgescu
68 1 Adrian Georgescu
 * [source:docs/INSTALL.debian INSTALL.debian]
69 2 Adrian Georgescu
    [[Include(source:docs/INSTALL.debian)]]
70 2 Adrian Georgescu
71 1 Adrian Georgescu
 * [source:docs/INSTALL.linux INSTALL.linux]
72 1 Adrian Georgescu
 * [source:docs/INSTALL.osx INSTALL.osx]
73 1 Adrian Georgescu
 * [source:docs/INSTALL.freebsd INSTALL.freebsd]