/[smecontribs]/rpms/smeserver-freepbx/contribs7/smeserver-freepbx-0.1-templatize_cdr_mysql.patch
ViewVC logotype

Annotation of /rpms/smeserver-freepbx/contribs7/smeserver-freepbx-0.1-templatize_cdr_mysql.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri Apr 10 23:29:40 2009 UTC (15 years, 7 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-freepbx-0_1-26_el4_sme, smeserver-freepbx-0_1-25_el4_sme, smeserver-freepbx-0_1-20_el4_sme, smeserver-freepbx-0_1-27_el4_sme, smeserver-freepbx-0_1-31_el4_sme, smeserver-freepbx-0_1-32_el4_sme, smeserver-freepbx-0_1-18_el4_sme, smeserver-freepbx-0_1-28_el4_sme, smeserver-freepbx-0_1-29_el4_sme, smeserver-freepbx-0_1-24_el4_sme, smeserver-freepbx-0_1-23_el4_sme, smeserver-freepbx-0_1-21_el4_sme, smeserver-freepbx-0_1-30_el4_sme, smeserver-freepbx-0_1-22_el4_sme, HEAD
see changelog

1 vip-ire 1.1 --- smeserver-freepbx-0.1/createlinks.templatize_cdr_mysql 2009-03-27 12:26:28.000000000 +0100
2     +++ smeserver-freepbx-0.1/createlinks 2009-04-11 00:13:58.000000000 +0200
3     @@ -31,6 +31,7 @@
4    
5     my $event = 'freepbx-update';
6     templates2events("/etc/amportal.conf", qw(freepbx-update bootstrap-console-save));
7     +templates2events("/etc/asterisk/cdr_mysql.conf", qw(freepbx-update bootstrap-console-save));
8     templates2events("/etc/httpd/conf/httpd.conf", $event);
9     templates2events("/etc/httpd/fpbx-conf/httpd.conf", qw(freepbx-update bootstrap-console-save conf-userpanel));
10     templates2events("/etc/e-smith/sql/init/freepbx.sql", qw(freepbx-update bootstrap-console-save));
11     --- smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/asterisk/cdr_mysql.conf/all.templatize_cdr_mysql 2009-04-11 00:00:59.000000000 +0200
12     +++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/asterisk/cdr_mysql.conf/all 2009-04-11 00:12:12.000000000 +0200
13     @@ -0,0 +1,20 @@
14     +;
15     +; Note - if the database server is hosted on the same machine as the
16     +; asterisk server, you can achieve a local Unix socket connection by
17     +; setting hostname = localhost
18     +;
19     +; port and sock are both optional parameters. If hostname is specified
20     +; and is not "localhost", then cdr_mysql will attempt to connect to the
21     +; port specified or use the default port. If hostname is not specified
22     +; or if hostname is "localhost", then cdr_mysql will attempt to connect
23     +; to the socket file specified by sock or otherwise use the default socket
24     +; file.
25     +;
26     +[global]
27     +hostname = localhost
28     +dbname = {${'freepbx'}{'CdrDbName'};}
29     +password = {${'freepbx'}{'CdrDbPassword'};}
30     +user = {${'freepbx'}{'DbUser'};}
31     +userfield=1
32     +sock = /var/lib/mysql/mysql.sock
33     +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed