]>
Commit | Line | Data |
---|---|---|
0c5fa515 | 1 | --- config.xml~ 2007-05-26 09:40:05.000000000 +0200 |
2 | +++ config.xml 2007-05-26 09:42:32.000000000 +0200 | |
3 | @@ -4,25 +4,24 @@ | |
f8908886 | 4 | <!-- server's address to connect to as a component --> |
5 | <server>127.0.0.1</server> | |
6 | <!-- server port to connect to --> | |
7 | - <port>1234567</port> | |
8 | + <port>5347</port> | |
9 | <!-- component authentication password --> | |
10 | - <password></password> | |
11 | + <password>secret</password> | |
12 | <!-- agent's verbosity level --> | |
13 | - <verbose>4</verbose> | |
14 | + <verbose>0</verbose> | |
15 | <!-- the directory where plugins for SMS gateways are placed --> | |
16 | - <plugin_dir>./plugins/</plugin_dir> | |
6cf7f205 | 17 | + <plugin_dir>/usr/lib/jabber/asa/plugins/</plugin_dir> |
f8908886 | 18 | <!-- a filename prefix for files containing per-user phone numbers MLDBM/SDB database --> |
19 | - <users_numbers_file>./storage/numbers-storage.mldbm</users_numbers_file> | |
20 | + <users_numbers_file>/var/lib/jabber/asa/storage/numbers-storage.mldbm</users_numbers_file> | |
21 | <!-- above hash/file access cache size, higher values improve performance --> | |
22 | <numbers_tiehash_cache>1024K</numbers_tiehash_cache> | |
23 | <!-- a filename prefix for files containing per-user priority preferences MLDBM/SDB database --> | |
24 | - <users_prio_prefs_file>./storage/prio-prefs-storage.mldbm</users_prio_prefs_file> | |
25 | + <users_prio_prefs_file>/var/lib/jabber/asa/storage/prio-prefs-storage.mldbm</users_prio_prefs_file> | |
26 | <!-- above hash/file access cache size, higher values improve performance --> | |
27 | <prio_prefs_tiehash_cache>1024K</prio_prefs_tiehash_cache> | |
28 | <!-- ugly list of pretty admins :) --> | |
0c5fa515 | 29 | <admins> |
30 | - <admin>apatsch@jabber.iron.wroc.biz</admin> | |
31 | - <admin>apatsch@jabber.aster.pl</admin> | |
32 | + <admin>admin@jabber.server.somewhere</admin> | |
33 | </admins> | |
34 | <!-- plugins to load, these are parts of filenames! like MiastoPlusa.pl but w/o .pl --> | |
35 | <load> | |
36 | @@ -35,16 +34,16 @@ | |
f8908886 | 37 | <!-- plugins' own options and settings --> |
38 | <plugins> | |
39 | <MiastoPlusa> | |
40 | - <accounts_file>./storage/accounts-MiastoPlusa.mldbm</accounts_file> | |
41 | + <accounts_file>/var/lib/jabber/asa/storage/accounts-MiastoPlusa.mldbm</accounts_file> | |
42 | </MiastoPlusa> | |
0c5fa515 | 43 | <OrangeMbox> |
44 | - <accounts_file>./storage/accounts-OrangeMbox.mldbm</accounts_file> | |
45 | + <accounts_file>/var/lib/jabber/asa/storage/accounts-OrangeMbox.mldbm</accounts_file> | |
46 | </OrangeMbox> | |
47 | <EraOmnix_Sponsorowana> | |
48 | - <accounts_file>./storage/accounts-EraOmnix_Sponsorowana.mldbm</accounts_file> | |
49 | + <accounts_file>/var/lib/jabber/asa/storage/accounts-EraOmnix_Sponsorowana.mldbm</accounts_file> | |
50 | </EraOmnix_Sponsorowana> | |
51 | <EraOmnix_Multimedialna> | |
52 | - <accounts_file>./storage/accounts-EraOmnix_Multimedialna.mldbm</accounts_file> | |
53 | + <accounts_file>/var/lib/jabber/asa/storage/accounts-EraOmnix_Multimedialna.mldbm</accounts_file> | |
54 | </EraOmnix_Multimedialna> | |
f8908886 | 55 | </plugins> |
56 | </config> | |
0c5fa515 | 57 | --- ApaSMSAgent.pl~ 2007-05-26 09:44:21.000000000 +0200 |
58 | +++ ApaSMSAgent.pl 2007-05-26 09:48:56.000000000 +0200 | |
59 | @@ -4,8 +4,8 @@ | |
60 | # jabber:x:data+message (nice!) options for plugins and for agent | |
9c858307 | 61 | # optimizations/cleanups for faster and saner, strict code |
62 | ||
0c5fa515 | 63 | -use constant VERSION => "0.1.6"; |
9c858307 | 64 | -use constant CONFIG_FILE => "config.xml"; |
0c5fa515 | 65 | +use constant VERSION => "0.1.7"; |
9c858307 | 66 | +use constant CONFIG_FILE => "/etc/jabber/asa.xml"; |
67 | use constant DEVEL_RUN => 0; # useful when testing, things are seen as 'away' in DEVEL_RUN mode | |
68 | ||
69 | use XML::Stream; # for config files, etc |