<!-- Set Net::Server runtime parameters. "personality" may -->
<!-- be either PreFork or Multiplex. -->
<server-params personality='Multiplex' min_servers='3' min_spare_servers='1' max_servers='50' />
<!-- One or more Memecache servers are required for Multiplex mode. -->
<!-- Cache server(s) are ignored in non-Multiplex mode -->
<cache>
<server>127.0.0.1:11211</server>
</cache>
<!-- Institution tags will hold stuff used to interface to -->
<!-- the rest of the ILS: authentication parameters, etc. I -->
<!-- don't know what yet, so it'll just be blank. But there -->
<!-- needs to be one institution stanza for each institution -->
<!-- named in the accounts above. -->
<institutions>
<institution id="UWOLS" implementation="ILS" parms="">
<policy checkin="true" renewal="false" status_update="false" offline="false" timeout="600" client_location_code="true" retries="3" /> <relais_extensions_to_msg24 enabled="false" /> <encoding>ascii</encoding>
</institution>
</institutions>
</acsconfig>
---
Results without the patch:
---
spawn telnet 127.0.0.1 6001
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
9900402.00
98YNNYNN60000320210512 1449022.00AOUWOLS|BXYYYYYYYYYNYNYYYY|
Results with the patch:
---
spawn telnet 127.0.0.1 6001
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
9900402.00
98YNNYNN60000320210512 1451122.00AOUWOLS|BXYYYYYYYYYNYNYYYY|
And here's a configuration that doesn't depend on Evergreen at all, just the test ILS driver, where I can reliably reproduce the bug:
oils_sip.xml / SIPConfig.xml openncip. org/acs- config/ 1.0/">
---
<acsconfig xmlns="http://
<error-detect enabled="true" />
<!-- Set Net::Server runtime parameters. "personality" may -->
personality ='Multiplex'
min_ servers= '3'
min_ spare_servers= '1'
max_ servers= '50' />
<!-- be either PreFork or Multiplex. -->
<server-params
<listeners> "127.0. 0.1:6001/ tcp" ="RAW" "SIP/2. 00" sc_status_ then_login= "enabled"
<service
port=
transport
protocol=
allow_
timeout="60" />
</listeners>
<!-- One or more Memecache servers are required for Multiplex mode. --> 127.0.0. 1:11211< /server>
<!-- Cache server(s) are ignored in non-Multiplex mode -->
<cache>
<server>
</cache>
<accounts> "clientpwd" institution= "UWOLS" ></login>
<login id="scclient" password=
</accounts>
<!-- Institution tags will hold stuff used to interface to --> "ILS" parms="">
status_ update= "false" offline="false"
timeout= "600" client_ location_ code="true"
retries= "3" />
<relais_ extensions_ to_msg24 enabled="false" />
<encoding> ascii</ encoding>
<!-- the rest of the ILS: authentication parameters, etc. I -->
<!-- don't know what yet, so it'll just be blank. But there -->
<!-- needs to be one institution stanza for each institution -->
<!-- named in the accounts above. -->
<institutions>
<institution id="UWOLS" implementation=
<policy checkin="true" renewal="false"
</institution>
</institutions>
</acsconfig>
---
The expect script:
---
#!/usr/bin/expect
spawn telnet 127.0.0.1 6001 |COclientpwd| CPUWOLS\ r";
sleep .1;
send "9900402.00\r";
expect "98";
puts "\n";
sleep .1;
send "9300CNscclient
expect "941";
puts "\n";
sleep 6;
send "9900402.00\r";
expect "98";
puts "\ndone\n";
---
Results without the patch: 0210512 1449022. 00AOUWOLS| BXYYYYYYYYYNYNY YYY|
---
spawn telnet 127.0.0.1 6001
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
9900402.00
98YNNYNN6000032
9300CNscclient| COclientpwd| CPUWOLS
941
9900402.00 0210512 1449082. 00AOUWOLS| BXYYYYYYYYYNYNY YYY|
98YNNNNN0000002
done
---
Results with the patch: 0210512 1451122. 00AOUWOLS| BXYYYYYYYYYNYNY YYY|
---
spawn telnet 127.0.0.1 6001
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
9900402.00
98YNNYNN6000032
9300CNscclient| COclientpwd| CPUWOLS
941
9900402.00 0210512 1451182. 00AOUWOLS| BXYYYYYYYYYNYNY YYY|
98YNNYNN6000032
done
---