From 63821442d4a4671d941f6f90d67a9f39ebd272c6 Mon Sep 17 00:00:00 2001 From: rsoulliere Date: Wed, 19 Oct 2011 09:58:23 -0400 Subject: [PATCH] Apply Dan Scott's patch to correct SIP code location and fix other typos. --- admin/sip.xml | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/admin/sip.xml b/admin/sip.xml index b22021b..5e8dd35 100644 --- a/admin/sip.xml +++ b/admin/sip.xml @@ -25,15 +25,9 @@ This is a rough intro to installing the SIP server for Evergreen. Getting the code - Current SIP code lives at github: + Current SIP server code lives at in the Evergreen git repository: cd /opt - git clone git://github.com/atz/SIPServer.git SIPServer - Or use the old style: - $ cd /opt - $ sudo cvs -d:pserver:anonymous@openncip.cvs.sourceforge.net:/cvsroot/openncip login - When prompted for the CVS password, just hit Enter (sudo password may be req'd) - $ sudo cvs -z3 -d:pserver:anonymous@openncip.cvs.sourceforge.net:/cvsroot/openncip co -P SIPServer - + git clone git://git.evergreen-ils.org/SIPServer.git SIPServer Configuring the Server @@ -98,8 +92,8 @@ max_servers='25' OR use SQL like: -INSERT INTO permission.grp_tree (id,name,parent,description,application_perm) -VALUES (8, 'SIP', 1, 'SIP2 Client Systems', 'group_application.user.sip_client'); +INSERT INTO permission.grp_tree (name,parent,description,application_perm) +VALUES ('SIP', 1, 'SIP2 Client Systems', 'group_application.user.sip_client'); INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable) @@ -128,13 +122,13 @@ WHERE SELECT * -FROM permission.grp_perm_map JOIN permission.perm_list ON -permission.grp_perm_map.perm=permission.perm_list.id -WHERE grp=8; +FROM permission.grp_perm_map pgpm + INNER JOIN permission.perm_list ppl ON pgpm.perm = ppl.id + INNER JOIN permission.grp_tree pgt ON pgt.id = pgpm.grp +WHERE pgt.name = 'SIP'; - Keep in mind that the id (8) may not necessarily be available on your system. For each account created in the <login> section of oils_sip.xml, create a user (via the staff client user editor) @@ -208,7 +202,7 @@ log { source(s_all); filter(f_eg_sip); destination(eg_sip); }; Testing Your <systemitem class="protocol">SIP</systemitem> ConnectionSIP - In the top level CVS checkout of the SIPServer code. + In the root directory of the SIPServer code: $ cd SIPServer/t @@ -451,7 +445,7 @@ Escape character is '^]'. 99: other - the logic for Evergreen to determine the content is magnetic_media comes from either legacy circ scripts or search_config_circ_modifier. + The logic for Evergreen to determine whether the content is magnetic_media comes from either legacy circ scripts or search_config_circ_modifier. The default is non-magnetic.magnetic media The same is true for media_type (default 001). Evergreen does not populate the collection_code because it does not really have any, but it will provide the call_number where available. -- 2.11.0