Changes between Version 1 and Version 2 of sysadminSIPServerConfiguration


Ignore:
Timestamp:
Jun 19, 2009, 3:07:03 PM (13 years ago)
Author:
risard
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • sysadminSIPServerConfiguration

    v1 v2  
    106106You can do this quickly via the sip_user.sql script found in /Contrib/trunk/tools (http://svn.open-ils.org/trac/ILS-Contrib/browser/conifer/trunk/tools/sip_user.sql).
    107107
     108Add the user you deliniated in oils_sip.xml <accounts></accounts> to the SIP group.
     109
    108110=== Running the server ===
    109111{{{
     
    196198
    197199http://multimedia.mmm.com/mws/mediawebserver.dyn?6666660Zjcf6lVs6EVs66S0LeCOrrrrQ-
     200
     201== Short Instructions ==
     202
     203{{{
     204    sudo apt-get update
     205    sudo apt-get install cvs
     206    cd /opt
     207    sudo cvs -d:pserver:anonymous@openncip.cvs.sourceforge.net:/cvsroot/openncip login
     208    sudo cvs -z3 -d:pserver:anonymous@openncip.cvs.sourceforge.net:/cvsroot/openncip co -P SIPServer
     209
     210#Configure the Server
     211    su opensrf
     212    $ cd /openils/conf
     213    $ cp oils_sip.xml.example oils_sip.xml
     214
     215#Edit /openils/conf/oils_sip.xml
     216
     217#service ports
     218        <listeners>
     219             <service
     220                     port="127.0.0.1:6001/tcp"
     221                     transport="http"
     222                     protocol="NCIP/1.0" />
     223
     224             <service
     225                     port="8023/tcp"
     226                     transport="telnet"
     227                     protocol="SIP/1.00"
     228                     timeout="60" />
     229
     230             <service
     231                     port="8080/tcp"
     232                     transport="RAW"
     233                     protocol="SIP/2.00"
     234                     timeout="60" />
     235        </listeners>
     236
     237#server params
     238        <server-params
     239                     min_servers='1'
     240                     min_spare_servers='0'
     241                     max_servers='25'
     242        />
     243
     244#accounts
     245        <accounts>
     246                <login id="sipclient" password="sippassword" institution="conifer"/>   
     247        </accounts>
     248
     249# change all instances of "institiution id=" to match institution attribute in accounts
     250# In Evergreen, create a new profile group called SIP with following perms:
     251    COPY_CHECKIN
     252    COPY_CHECKOUT
     253    RENEW_CIRC
     254    VIEW_CIRCULATIONS
     255    VIEW_COPY_CHECKOUT_HISTORY
     256    VIEW_PERMIT_CHECKOUT
     257    VIEW_USER
     258    VIEW_USER_FINES_SUMMARY
     259    VIEW_USER_TRANSACTIONS
     260# Add the user you deliniated in oils_sip.xml <accounts></accounts> to the SIP group.
     261# running / stopping the server:
     262
     263    $ sudo su opensrf
     264    $ oils_ctl.sh -d /openils/var/run/ -s /openils/conf/oils_sip.xml -a [start|stop|restart]_sip
     265
     266}}}