root/docs/INSTALL.txt @ 66

Revision 66, 2.5 KB (checked in by Adrian Georgescu <ag@ag-projects.com>, 19 months ago)

Moved documentation under docs/

Line 
1
2SIP chatserver installation
3---------------------------
4
5The software runs on Debian or Ubuntu Linux, MacOSX or any Unix variant
6supported by its main dependency sipclient version >= 0.4.0 available from
7http://sipsimpleclient.com
8
9You can install SIP chatserver in the following ways:
10
11a. From a Debian package
12b. From a tar archive
13c. From the version control repository
14
15
16Debian package installation
17---------------------------
18
19For people running Debian or Ubuntu there is an official public repository
20provided by AG Projects. To use it, add these lines in /etc/apt/sources.list
21
22# AG Projects software
23deb     http://ag-projects.com/debian unstable main
24deb-src http://ag-projects.com/debian unstable main
25
26Install the AG Projects debian software signing key:
27
28wget http://download.ag-projects.com/agp-debian-gpg.key
29apt-key add agp-debian-gpg.key
30
31After that, run:
32
33apt-get update
34apt-get install sip-chatserver
35
36
37Installing from the tar archive
38-------------------------------
39
40You must also install manually all software dependencies.
41
42The software can be downloaded as a tar archive from:
43
44http://download.ag-projects.com/SipChatServer/
45
46Extract it using tar xzvf sip-chatserver-version.tar.gz
47
48To install the server run:
49python setup.py install
50
51
52Installing from the version control repository
53----------------------------------------------
54
55The source code is managed using darcs version control tool. The darcs
56repository can be fetched with:
57
58darcs get http://devel.ag-projects.com/repositories/sip-chatserver
59
60To obtain the incremental changes after the initial get:
61
62cd sip-chatserver
63darcs pull -a
64
65To install the server run:
66python setup.py install
67
68
69Running server
70--------------
71
72The server configuration must reside in /etc/sip-chatserver. Copy
73/etc/sip-chatserver/config.ini.sample to etc/sip-chatserver/config.ini and
74edit it with the proper values.
75
76Start the server using the init.d script:
77
78/etc/init.d/sip-chatserver start
79
80All server activity messages are logged to syslog.
81
82
83Using the server
84----------------
85
86To use the server you need a SIP client with support for MSRP chat sessions.
87You can use http://sipsimpleclient.com library that contains a test script
88for establishing MSRP sessions (sip_im_session).
89
90To join a chat room send INVITE with MSRP media type to any SIP URI that
91maps to the server address. The username part of the SIP URI will me used by
92the server to generate a room. The room will exists as long as there is at
93least one participant connected.
94
95Check the syslog messages to see the server activity related to users
96joining or leaving the rooms.
Note: See TracBrowser for help on using the browser.