/[smecontribs]/rpms/smeserver-freepbx/contribs8/smeserver-freepbx-0.1-template_asterisk_conf.patch
ViewVC logotype

Contents of /rpms/smeserver-freepbx/contribs8/smeserver-freepbx-0.1-template_asterisk_conf.patch

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


Revision 1.1 - (show annotations) (download)
Tue Feb 26 03:16:30 2013 UTC (11 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-freepbx-0_1-32_el5_sme, smeserver-freepbx-0_1-33_el5_sme, HEAD
Initial import

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-freepbx-0.1/createlinks mezzanine_patched_smeserver-freepbx-0.1/createlinks
2 --- smeserver-freepbx-0.1/createlinks 2010-09-21 20:22:34.000000000 +0200
3 +++ mezzanine_patched_smeserver-freepbx-0.1/createlinks 2010-09-21 20:21:20.000000000 +0200
4 @@ -31,6 +31,7 @@
5
6 my $event = 'freepbx-update';
7 templates2events("/etc/amportal.conf", qw(freepbx-update bootstrap-console-save));
8 +templates2events("/etc/asterisk/asterisk.conf", qw(freepbx-update bootstrap-console-save));
9 templates2events("/etc/asterisk/cdr_mysql.conf", qw(freepbx-update bootstrap-console-save));
10 templates2events("/etc/asterisk/manager.conf", qw(freepbx-update bootstrap-console-save));
11 templates2events("/etc/httpd/conf/httpd.conf", $event);
12 diff -Nur -x '*.orig' -x '*.rej' smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/asterisk/asterisk.conf/10dirs mezzanine_patched_smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/asterisk/asterisk.conf/10dirs
13 --- smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/asterisk/asterisk.conf/10dirs 1970-01-01 01:00:00.000000000 +0100
14 +++ mezzanine_patched_smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/asterisk/asterisk.conf/10dirs 2010-09-21 20:21:20.000000000 +0200
15 @@ -0,0 +1,12 @@
16 +[directories]
17 +astetcdir => /etc/asterisk
18 +astmoddir => { return '/usr/lib64/asterisk/modules' if -d '/usr/lib64/asterisk/modules';
19 + return '/usr/lib/asterisk/modules' if -d '/usr/lib/asterisk/modules'; }
20 +astvarlibdir => /var/lib/asterisk
21 +astdatadir => /usr/share/asterisk
22 +astagidir => /var/lib/asterisk/agi-bin
23 +astspooldir => /var/spool/asterisk
24 +astrundir => /var/run/asterisk
25 +astlogdir => /var/log/asterisk
26 +
27 +
28 diff -Nur -x '*.orig' -x '*.rej' smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/asterisk/asterisk.conf/20options mezzanine_patched_smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/asterisk/asterisk.conf/20options
29 --- smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/asterisk/asterisk.conf/20options 1970-01-01 01:00:00.000000000 +0100
30 +++ mezzanine_patched_smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/asterisk/asterisk.conf/20options 2010-09-21 20:21:20.000000000 +0200
31 @@ -0,0 +1,39 @@
32 +[options]
33 +languageprefix = yes ; Use the new sound prefix path syntax
34 +;verbose = 3
35 +;debug = 3
36 +;alwaysfork = yes ; same as -F at startup
37 +;nofork = yes ; same as -f at startup
38 +;quiet = yes ; same as -q at startup
39 +;timestamp = yes ; same as -T at startup
40 +execincludes = yes ; support #exec in config files
41 +;console = yes ; Run as console (same as -c at startup)
42 +highpriority = yes ; Run realtime priority (same as -p at startup)
43 +;initcrypto = yes ; Initialize crypto keys (same as -i at startup)
44 +nocolor = yes ; Disable console colors
45 +;dontwarn = yes ; Disable some warnings
46 +;dumpcore = yes ; Dump core on crash (same as -g at startup)
47 +;internal_timing = yes
48 +;systemname = my_system_name ; prefix uniqueid with a system name for global uniqueness issues
49 +;maxcalls = 10 ; Maximum amount of calls allowed
50 +;maxload = 0.9 ; Asterisk stops accepting new calls if the load average exceed this limit
51 +;cache_record_files = yes ; Cache recorded sound files to another directory during recording
52 +;record_cache_dir = /tmp ; Specify cache directory (used in conjunction with cache_record_files)
53 +;transmit_silence_during_record = yes ; Transmit SLINEAR silence while a channel is being recorded
54 +;transmit_silence = yes ; Transmit silence while a channel is in a waiting state, a recording only state, or when DTMF is
55 + ; being generated. Note that the silence internally is generated in raw signed linear format.
56 + ; This means that it must be transcoded into the native format of the channel before it can be sent
57 + ; to the device. It is for this reason that this is optional, as it may result in requiring a
58 + ; temporary codec translation path for a channel that may not otherwise require one.
59 +;transcode_via_sln = yes ; Build transcode paths via SLINEAR, instead of directly
60 +;runuser = asterisk ; The user to run as
61 +;rungroup = asterisk ; The group to run as
62 +;dahdichanname = yes ; Channels created by chan_dahdi will be called 'DAHDI', otherwise 'Zap'
63 +
64 +; Changing the following lines may compromise your security.
65 +;[files]
66 +;astctlpermissions = 0660
67 +;astctlowner = root
68 +;astctlgroup = apache
69 +;astctl = asterisk.ctl
70 +
71 diff -Nur -x '*.orig' -x '*.rej' smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/asterisk/asterisk.conf/template-begin mezzanine_patched_smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/asterisk/asterisk.conf/template-begin
72 --- smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/asterisk/asterisk.conf/template-begin 1970-01-01 01:00:00.000000000 +0100
73 +++ mezzanine_patched_smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/asterisk/asterisk.conf/template-begin 2010-09-21 20:22:14.000000000 +0200
74 @@ -0,0 +1,12 @@
75 +;------------------------------------------------------------
76 +; !!DO NOT MODIFY THIS FILE!!
77 +;
78 +; Manual changes will be lost when this file is regenerated.
79 +;
80 +; Please read the developer's guide, which is available
81 +; at http://www.contribs.org/development/
82 +;
83 +; Copyright (C) 1999-2006 Mitel Networks Corporation
84 +;------------------------------------------------------------
85 +
86 +

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