1 diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/agi/DialAnMp3.agi asterisk-14.5.0/agi/DialAnMp3.agi
2 --- asterisk-14.5.0.orig/agi/DialAnMp3.agi 2017-05-30 19:50:46.000000000 +0200
3 +++ asterisk-14.5.0/agi/DialAnMp3.agi 2017-06-09 14:40:59.000000000 +0200
5 print STDERR " -- $i = $AGI{$i}\n";
8 -dbmopen(%DIGITS, "/var/lib/asterisk/mp3list", 0644) || die("Unable to open mp3list");;
9 +dbmopen(%DIGITS, "/usr/share/asterisk/mp3list", 0644) || die("Unable to open mp3list");;
13 diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/agi/jukebox.agi asterisk-14.5.0/agi/jukebox.agi
14 --- asterisk-14.5.0.orig/agi/jukebox.agi 2017-05-30 19:50:46.000000000 +0200
15 +++ asterisk-14.5.0/agi/jukebox.agi 2017-06-09 14:40:59.000000000 +0200
18 # Uses festival to list off all your MP3 music files over a channel in
19 # a hierarchical fashion. Put this file in your agi-bin folder which
20 -# is located at: /var/lib/asterisk/agi-bin Be sure to chmod +x it!
21 +# is located at: /usr/share/asterisk/agi-bin Be sure to chmod +x it!
24 # exten => 68742,1,Answer()
25 diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/agi/numeralize asterisk-14.5.0/agi/numeralize
26 --- asterisk-14.5.0.orig/agi/numeralize 2017-05-30 19:50:46.000000000 +0200
27 +++ asterisk-14.5.0/agi/numeralize 2017-06-09 14:40:59.000000000 +0200
30 $mp3dir="/usr/media/mpeg3";
32 -dbmopen(%DIGITS, "/var/lib/asterisk/mp3list", 0644) || die("Unable to open mp3list");;
33 +dbmopen(%DIGITS, "/usr/share/asterisk/mp3list", 0644) || die("Unable to open mp3list");;
37 diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/festival.conf.sample asterisk-14.5.0/configs/samples/festival.conf.sample
38 --- asterisk-14.5.0.orig/configs/samples/festival.conf.sample 2017-05-30 19:50:46.000000000 +0200
39 +++ asterisk-14.5.0/configs/samples/festival.conf.sample 2017-06-09 14:40:59.000000000 +0200
41 ; THIS DIRECTORY *MUST* EXIST and must be writable from the asterisk process.
44 -;cachedir=/var/lib/asterisk/festivalcache/
45 +;cachedir=/var/spool/asterisk/festivalcache/
47 ; Festival command to send to the server.
48 ; Defaults to: (tts_textasterisk "%s" 'file)(quit)\n
49 diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/http.conf.sample asterisk-14.5.0/configs/samples/http.conf.sample
50 --- asterisk-14.5.0.orig/configs/samples/http.conf.sample 2017-05-30 19:50:46.000000000 +0200
51 +++ asterisk-14.5.0/configs/samples/http.conf.sample 2017-06-09 14:40:59.000000000 +0200
53 ; Note about Asterisk documentation:
54 ; If Asterisk was installed from a tarball, then the HTML documentation should
55 ; be installed in the static-http/docs directory which is
56 -; (/var/lib/asterisk/static-http/docs) on linux by default. If the Asterisk
57 +; (/usr/share/asterisk/static-http/docs) on linux by default. If the Asterisk
58 ; HTTP server is enabled in this file by setting the "enabled", "bindaddr",
59 ; and "bindport" options, then you should be able to view the documentation
60 ; remotely by browsing to:
62 ; config permission to POST files.
64 ; In this example, if the prefix option is set to "asterisk", then using the
65 -; POST URL: /asterisk/uploads will put files in /var/lib/asterisk/uploads/.
66 -;uploads = /var/lib/asterisk/uploads/
67 +; POST URL: /asterisk/uploads will put files in /var/spool/asterisk/uploads/.
68 +;uploads = /var/spool/asterisk/uploads/
70 diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/iax.conf.sample asterisk-14.5.0/configs/samples/iax.conf.sample
71 --- asterisk-14.5.0.orig/configs/samples/iax.conf.sample 2017-05-30 19:50:46.000000000 +0200
72 +++ asterisk-14.5.0/configs/samples/iax.conf.sample 2017-06-09 14:40:59.000000000 +0200
74 ; authentication is used, "inkeys" is a list of acceptable public keys on the
75 ; local system that can be used to authenticate the remote peer, separated by
76 ; the ":" character. "outkey" is a single, private key to use to authenticate
77 -; to the other side. Public keys are named /var/lib/asterisk/keys/<name>.pub
78 -; while private keys are named /var/lib/asterisk/keys/<name>.key. Private
79 +; to the other side. Public keys are named /usr/share/asterisk/keys/<name>.pub
80 +; while private keys are named /usr/share/asterisk/keys/<name>.key. Private
81 ; keys should always be 3DES encrypted.
84 diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/musiconhold.conf.sample asterisk-14.5.0/configs/samples/musiconhold.conf.sample
85 --- asterisk-14.5.0.orig/configs/samples/musiconhold.conf.sample 2017-05-30 19:50:46.000000000 +0200
86 +++ asterisk-14.5.0/configs/samples/musiconhold.conf.sample 2017-06-09 14:40:59.000000000 +0200
88 ; The path specified can be either an absolute path (starts with '/'),
89 ; or a relative path; relative paths are interpreted as being relative
90 ; to the 'astdatalibdir' in asterisk.conf, which defaults to
92 +; /usr/share/asterisk.
95 ; If you are not using "autoload" in modules.conf, then you
98 ; Note that with mode=custom, a directory is not required, such as when reading
100 -;directory=/var/lib/asterisk/mohmp3
101 +;directory=/usr/share/asterisk/mohmp3
102 ;application=/usr/bin/mpg123 -q -r 8000 -f 8192 -b 2048 --mono -s
109 -;directory=/var/lib/asterisk/mohmp3
110 +;directory=/usr/share/asterisk/mohmp3
111 ;application=/site/sw/bin/madplay -Q -o raw:- --mono -R 8000 -a -12
112 diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/osp.conf.sample asterisk-14.5.0/configs/samples/osp.conf.sample
113 --- asterisk-14.5.0.orig/configs/samples/osp.conf.sample 2017-05-30 19:50:46.000000000 +0200
114 +++ asterisk-14.5.0/configs/samples/osp.conf.sample 2017-06-09 14:40:59.000000000 +0200
116 ;source=domain name or [IP address in brackets]
118 ; Define path and file name of crypto files.
119 -; The default path for crypto file is /var/lib/asterisk/keys. If no path is
120 -; defined, crypto files will in /var/lib/asterisk/keys directory.
121 +; The default path for crypto file is /usr/share/asterisk/keys. If no path is
122 +; defined, crypto files will in /usr/share/asterisk/keys directory.
124 ; Specify the private key file name.
125 ; If this parameter is unspecified or not present, the default name will be the
126 diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/phoneprov.conf.sample asterisk-14.5.0/configs/samples/phoneprov.conf.sample
127 --- asterisk-14.5.0.orig/configs/samples/phoneprov.conf.sample 2017-05-30 19:50:46.000000000 +0200
128 +++ asterisk-14.5.0/configs/samples/phoneprov.conf.sample 2017-06-09 14:40:59.000000000 +0200
130 ${MAC}-phone.cfg => 000000000000-phone.cfg ; (relative to AST_DATA_DIR/phoneprov)
131 config/${MAC} => polycom.xml ; Dynamic Filename => template file
132 ${MAC}-directory.xml => 000000000000-directory.xml
133 -setvar => CUSTOM_CONFIG=/var/lib/asterisk/phoneprov/configs/custom.cfg ; Custom variable
134 +setvar => CUSTOM_CONFIG=/usr/share/asterisk/phoneprov/configs/custom.cfg ; Custom variable
136 ;snom 300, 320, 360, 370, 820, 821, 870 support
137 snom-${MAC}.xml => snom-mac.xml
138 diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/configs/samples/res_config_sqlite.conf.sample asterisk-14.5.0/configs/samples/res_config_sqlite.conf.sample
139 --- asterisk-14.5.0.orig/configs/samples/res_config_sqlite.conf.sample 2017-05-30 19:50:46.000000000 +0200
140 +++ asterisk-14.5.0/configs/samples/res_config_sqlite.conf.sample 2017-06-09 14:40:59.000000000 +0200
145 -dbfile => /var/lib/asterisk/sqlite.db
146 +dbfile => /var/spool/asterisk/sqlite.db
148 ; Both config_table and cdr_table are optional. If config_table is omitted,
149 ; you must specify it in extconfig.conf. If it is both provided here and in
150 diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/contrib/scripts/astgenkey asterisk-14.5.0/contrib/scripts/astgenkey
151 --- asterisk-14.5.0.orig/contrib/scripts/astgenkey 2017-05-30 19:50:46.000000000 +0200
152 +++ asterisk-14.5.0/contrib/scripts/astgenkey 2017-06-09 14:40:59.000000000 +0200
154 echo "in PEM format for use by Asterisk. You will be asked to"
155 echo "enter a passcode for your key multiple times. Please"
156 echo "enter the same code each time. The resulting files will"
157 - echo "need to be moved to /var/lib/asterisk/keys if you want"
158 + echo "need to be moved to /usr/share/asterisk/keys if you want"
159 echo "to use them, and any private keys (.key files) will"
160 echo "need to be initialized at runtime either by running"
161 echo "Asterisk with the '-i' option, or with the 'keys init'"
162 diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/contrib/scripts/astgenkey.8 asterisk-14.5.0/contrib/scripts/astgenkey.8
163 --- asterisk-14.5.0.orig/contrib/scripts/astgenkey.8 2017-05-30 19:50:46.000000000 +0200
164 +++ asterisk-14.5.0/contrib/scripts/astgenkey.8 2017-06-09 14:40:59.000000000 +0200
168 Those files should be copied to
169 -.I /var/lib/asterisk/keys
170 +.I /usr/share/asterisk/keys
172 (The private key: on your system. The public key: on other systems)
174 @@ -121,10 +121,10 @@
175 And then make the key accessible to Asterisk (assuming you run it as
178 - chown asterisk /var/lib/asterisk/keys/yourname.*
179 + chown asterisk /usr/share/asterisk/keys/yourname.*
182 -.I /var/lib/asterisk/keys
183 +.I /usr/share/asterisk/keys
187 diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/contrib/utils/README.rawplayer asterisk-14.5.0/contrib/utils/README.rawplayer
188 --- asterisk-14.5.0.orig/contrib/utils/README.rawplayer 2017-05-30 19:50:46.000000000 +0200
189 +++ asterisk-14.5.0/contrib/utils/README.rawplayer 2017-06-09 14:40:59.000000000 +0200
191 sox -c 1 track01.wav -t raw -r 8000 -c 1 -s -w track01.raw
194 -Once you have the raw files put them in any dir on your system (eg /var/lib/asterisk/holdmusic_raw).
195 +Once you have the raw files put them in any dir on your system (eg /usr/share/asterisk/holdmusic_raw).
196 and set up a class in musiconhold.conf like so:
199 diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/pbx/ael/ael-test/ael-test3/extensions.ael asterisk-14.5.0/pbx/ael/ael-test/ael-test3/extensions.ael
200 --- asterisk-14.5.0.orig/pbx/ael/ael-test/ael-test3/extensions.ael 2017-05-30 19:50:46.000000000 +0200
201 +++ asterisk-14.5.0/pbx/ael/ael-test/ael-test3/extensions.ael 2017-06-09 14:40:59.000000000 +0200
202 @@ -2049,7 +2049,7 @@
204 macro callerid-liar()
206 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/priv-callerintros/LIAR.gsm&);
207 + TrySystem(/usr/bin/play /usr/share/asterisk/sounds/priv-callerintros/LIAR.gsm&);
208 Background(priv-liar); // Script: OOOps! Sorry! I don't allow men with ski masks pulled over their
209 // faces to get in the front door, and unidentified callers won't fair
210 // any better. You entered *MY* phone number. That won't work.
211 @@ -2106,7 +2106,7 @@
213 if( "${PRIVACYMGRSTATUS}" = "FAILED" )
215 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/privmanfailed.gsm);
216 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/privmanfailed.gsm);
217 &std-priv-exten(Zap/3r1&Zap/5r1,2,25,mtw,telemarket,telemarket);
220 @@ -2138,7 +2138,7 @@
221 verbose(direct is XXX#${direct}XXXX);
222 Playback(greetings/direct); // Welcome to the Murphy residence. This system will automatically try to connect you to...
223 Playback(/var/spool/asterisk/voicemail/default/${direct}/greet);
224 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
225 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
226 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/${direct}/greet.wav&);
229 @@ -2223,7 +2223,7 @@
233 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
234 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
235 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/2/greet.wav&);
236 &std-priv-exten(Zap/3r1&Zap/5r1,2,25,mtw,telemarket,telemarket);
238 @@ -2421,51 +2421,51 @@
239 Background(murphy-homeline-kids); // Which Kid? 1=Sean, 2:Eric, 3:Ryan, 4:Kyle, 5:Amber, 6:Alex, 7:Neal
242 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
243 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
244 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/3/greet.wav&);
245 // &std-priv-exten(Zap/3r2&Zap/5r2,3,35,mtw,telemarket,telemarket);
246 &std-priv-exten(IAX2/seaniax&Zap/5r2,3,35,mtw,telemarket,telemarket);
247 goto homeline|s|loopback;
250 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
251 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
252 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/4/greet.wav&);
254 goto homeline|s|loopback;
256 // SetMusicOnHold(erics);
257 - // TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
258 + // TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
259 // TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/4/greet.wav&);
260 // &std-priv-exten(Zap/3r2&Zap/5r2,4,35,mtw,telemarket,telemarket);
261 // goto homeline|s|loopback;
264 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
265 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
266 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/5/greet.wav&);
267 &std-priv-exten(Zap/3r2&Zap/5r2,5,35,mtw,telemarket,telemarket);
268 goto homeline|s|loopback;
271 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
272 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
273 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/6/greet.wav&);
274 &std-priv-exten(Zap/3r2&Zap/5r2,6,35,mtw,telemarket,telemarket);
275 goto homeline|s|loopback;
278 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
279 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
280 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/7/greet.wav&);
281 &std-priv-exten(Zap/3r2&Zap/5r2,7,35,mtw,telemarket,telemarket);
282 goto homeline|s|loopback;
286 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
287 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
288 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/8/greet.wav&);
289 &std-priv-exten(Zap/3r2&Zap/5r2,8,35,mtw,telemarket,telemarket);
290 goto homeline|s|loopback;
293 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
294 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
295 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/9/greet.wav&);
296 &std-priv-exten(Zap/3r2&Zap/5r2,9,35,mtw,telemarket,telemarket);
297 goto homeline|s|loopback;
298 @@ -2517,7 +2517,7 @@
299 // Otherwise, dial 1, and hopefully, you will reach Steve.
302 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
303 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
304 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/1/greet.wav&);
306 &std-priv-exten(Zap/6&Sip/murf,1,30,mtw,telemarket,telemarket);
307 @@ -2778,7 +2778,7 @@
310 Record(announcement:gsm);
311 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/announcement.gsm&);
312 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/announcement.gsm&);
316 diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/pbx/ael/ael-test/ael-vtest13/extensions.ael asterisk-14.5.0/pbx/ael/ael-test/ael-vtest13/extensions.ael
317 --- asterisk-14.5.0.orig/pbx/ael/ael-test/ael-vtest13/extensions.ael 2017-05-30 19:50:46.000000000 +0200
318 +++ asterisk-14.5.0/pbx/ael/ael-test/ael-vtest13/extensions.ael 2017-06-09 14:40:59.000000000 +0200
319 @@ -2048,7 +2048,7 @@
321 macro callerid-liar()
323 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/priv-callerintros/LIAR.gsm&);
324 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/priv-callerintros/LIAR.gsm&);
325 Background(priv-liar); // Script: OOOps! Sorry! I don't allow men with ski masks pulled over their
326 // faces to get in the front door, and unidentified callers won't fair
327 // any better. You entered *MY* phone number. That won't work.
328 @@ -2105,7 +2105,7 @@
330 if( "${PRIVACYMGRSTATUS}" = "FAILED" )
332 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/privmanfailed.gsm);
333 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/privmanfailed.gsm);
334 &std-priv-exten(Zap/3r1&Zap/5r1,2,25,mtw,telemarket,telemarket);
337 @@ -2137,7 +2137,7 @@
338 verbose(direct is XXX#${direct}XXXX);
339 Playback(greetings/direct); // Welcome to the Murphy residence. This system will automatically try to connect you to...
340 Playback(/var/spool/asterisk/voicemail/default/${direct}/greet);
341 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
342 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
343 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/${direct}/greet.wav&);
346 @@ -2222,7 +2222,7 @@
350 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
351 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
352 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/2/greet.wav&);
353 &std-priv-exten(Zap/3r1&Zap/5r1,2,25,mtw,telemarket,telemarket);
355 @@ -2420,51 +2420,51 @@
356 Background(murphy-homeline-kids); // Which Kid? 1=Sean, 2:Eric, 3:Ryan, 4:Kyle, 5:Amber, 6:Alex, 7:Neal
359 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
360 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
361 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/3/greet.wav&);
362 // &std-priv-exten(Zap/3r2&Zap/5r2,3,35,mtw,telemarket,telemarket);
363 &std-priv-exten(IAX2/seaniax&Zap/5r2,3,35,mtw,telemarket,telemarket);
364 goto homeline|s|loopback;
367 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
368 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
369 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/4/greet.wav&);
371 goto homeline|s|loopback;
373 // SetMusicOnHold(erics);
374 - // TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
375 + // TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
376 // TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/4/greet.wav&);
377 // &std-priv-exten(Zap/3r2&Zap/5r2,4,35,mtw,telemarket,telemarket);
378 // goto homeline|s|loopback;
381 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
382 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
383 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/5/greet.wav&);
384 &std-priv-exten(Zap/3r2&Zap/5r2,5,35,mtw,telemarket,telemarket);
385 goto homeline|s|loopback;
388 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
389 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
390 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/6/greet.wav&);
391 &std-priv-exten(Zap/3r2&Zap/5r2,6,35,mtw,telemarket,telemarket);
392 goto homeline|s|loopback;
395 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
396 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
397 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/7/greet.wav&);
398 &std-priv-exten(Zap/3r2&Zap/5r2,7,35,mtw,telemarket,telemarket);
399 goto homeline|s|loopback;
403 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
404 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
405 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/8/greet.wav&);
406 &std-priv-exten(Zap/3r2&Zap/5r2,8,35,mtw,telemarket,telemarket);
407 goto homeline|s|loopback;
410 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
411 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
412 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/9/greet.wav&);
413 &std-priv-exten(Zap/3r2&Zap/5r2,9,35,mtw,telemarket,telemarket);
414 goto homeline|s|loopback;
415 @@ -2516,7 +2516,7 @@
416 // Otherwise, dial 1, and hopefully, you will reach Steve.
419 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
420 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm);
421 TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/1/greet.wav&);
423 &std-priv-exten(Zap/6&Sip/murf,1,30,mtw,telemarket,telemarket);
424 @@ -2777,7 +2777,7 @@
427 Record(announcement:gsm);
428 - TrySystem(/usr/bin/play /var/lib/asterisk/sounds/announcement.gsm&);
429 + TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/announcement.gsm&);
433 diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/pbx/ael/ael-test/ref.ael-vtest13 asterisk-14.5.0/pbx/ael/ael-test/ref.ael-vtest13
434 --- asterisk-14.5.0.orig/pbx/ael/ael-test/ref.ael-vtest13 2017-05-30 19:50:46.000000000 +0200
435 +++ asterisk-14.5.0/pbx/ael/ael-test/ref.ael-vtest13 2017-06-09 14:40:59.000000000 +0200
436 @@ -2182,7 +2182,7 @@
440 -exten => ~~s~~,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/priv-callerintros/LIAR.gsm&)
441 +exten => ~~s~~,1,TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/priv-callerintros/LIAR.gsm&)
442 exten => ~~s~~,2,Background(priv-liar)
443 exten => ~~s~~,3,Hangup()
444 exten => ~~s~~,4,Return()
445 @@ -2217,7 +2217,7 @@
446 exten => s,4,Zapateller(nocallerid)
447 exten => s,5,PrivacyManager()
448 exten => s,6,GotoIf($["${PRIVACYMGRSTATUS}" = "FAILED" ]?7:11)
449 -exten => s,7,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/privmanfailed.gsm)
450 +exten => s,7,TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/privmanfailed.gsm)
451 exten => s,8,Gosub(std-priv-exten,~~s~~,1(Zap/3r1&Zap/5r1,2,25,mtw,telemarket,telemarket))
452 exten => s,9,Hangup()
453 exten => s,10,Return()
454 @@ -2243,7 +2243,7 @@
455 exten => s,30,verbose(direct is XXX#${direct}XXXX)
456 exten => s,31,Playback(greetings/direct)
457 exten => s,32,Playback(/var/spool/asterisk/voicemail/default/${direct}/greet)
458 -exten => s,33,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
459 +exten => s,33,TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm)
460 exten => s,34,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/${direct}/greet.wav&)
461 exten => s,35,Goto(sw_92_${direct},10)
462 exten => s,36,NoOp(Finish switch_if_homeline_91_92)
463 @@ -2322,7 +2322,7 @@
464 exten => sw_92_2,11,Goto(s,loopback)
465 exten => sw_92_1,10,Gosub(std-priv-exten,~~s~~,1(Zap/6r3&Sip/murf,1,25,mpA(beep)tw,telemarket,telemarket))
466 exten => sw_92_1,11,Goto(s,loopback)
467 -exten => 1,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
468 +exten => 1,1,TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm)
469 exten => 1,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/2/greet.wav&)
470 exten => 1,3,Gosub(std-priv-exten,~~s~~,1(Zap/3r1&Zap/5r1,2,25,mtw,telemarket,telemarket))
471 exten => 1,4,Goto(s,loopback)
472 @@ -2399,31 +2399,31 @@
475 exten => s,1(begin),Background(murphy-homeline-kids)
476 -exten => 1,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
477 +exten => 1,1,TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm)
478 exten => 1,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/3/greet.wav&)
479 exten => 1,3,Gosub(std-priv-exten,~~s~~,1(IAX2/seaniax&Zap/5r2,3,35,mtw,telemarket,telemarket))
480 exten => 1,4,Goto(homeline,s,loopback)
481 -exten => 2,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
482 +exten => 2,1,TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm)
483 exten => 2,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/4/greet.wav&)
484 exten => 2,3,Voicemail(u4)
485 exten => 2,4,Goto(homeline,s,loopback)
486 -exten => 3,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
487 +exten => 3,1,TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm)
488 exten => 3,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/5/greet.wav&)
489 exten => 3,3,Gosub(std-priv-exten,~~s~~,1(Zap/3r2&Zap/5r2,5,35,mtw,telemarket,telemarket))
490 exten => 3,4,Goto(homeline,s,loopback)
491 -exten => 4,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
492 +exten => 4,1,TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm)
493 exten => 4,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/6/greet.wav&)
494 exten => 4,3,Gosub(std-priv-exten,~~s~~,1(Zap/3r2&Zap/5r2,6,35,mtw,telemarket,telemarket))
495 exten => 4,4,Goto(homeline,s,loopback)
496 -exten => 5,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
497 +exten => 5,1,TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm)
498 exten => 5,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/7/greet.wav&)
499 exten => 5,3,Gosub(std-priv-exten,~~s~~,1(Zap/3r2&Zap/5r2,7,35,mtw,telemarket,telemarket))
500 exten => 5,4,Goto(homeline,s,loopback)
501 -exten => 6,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
502 +exten => 6,1,TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm)
503 exten => 6,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/8/greet.wav&)
504 exten => 6,3,Gosub(std-priv-exten,~~s~~,1(Zap/3r2&Zap/5r2,8,35,mtw,telemarket,telemarket))
505 exten => 6,4,Goto(homeline,s,loopback)
506 -exten => 7,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
507 +exten => 7,1,TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm)
508 exten => 7,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/9/greet.wav&)
509 exten => 7,3,Gosub(std-priv-exten,~~s~~,1(Zap/3r2&Zap/5r2,9,35,mtw,telemarket,telemarket))
510 exten => 7,4,Goto(homeline,s,loopback)
511 @@ -2451,7 +2451,7 @@
512 exten => s,6,TrySystem(/usr/local/bin/who-is-it ${CALLERID(num)} "${CALLERID(name)}"&)
513 exten => s,7(loopback),Background(greetings/greeting)
514 exten => s,8,Background(murphy-office-intro1)
515 -exten => 1,1,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm)
516 +exten => 1,1,TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/call-for.gsm)
517 exten => 1,2,TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/1/greet.wav&)
518 exten => 1,3,Gosub(std-priv-exten,~~s~~,1(Zap/6&Sip/murf,1,30,mtw,telemarket,telemarket))
519 exten => 1,4,Goto(s,loopback)
520 @@ -2577,7 +2577,7 @@
521 exten => 760,1,DateTime()
522 exten => 760,2,Goto(s,loopback)
523 exten => 761,1,Record(announcement:gsm)
524 -exten => 761,2,TrySystem(/usr/bin/play /var/lib/asterisk/sounds/announcement.gsm&)
525 +exten => 761,2,TrySystem(/usr/bin/play /usr/shre/asterisk/sounds/announcement.gsm&)
526 exten => 761,3,Goto(s,loopback)
527 exten => 762,1,agi(tts-riddle.agi)
528 exten => 762,2,Background(gsm/what-time-it-is2)
529 diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/UPGRADE-1.4.txt asterisk-14.5.0/UPGRADE-1.4.txt
530 --- asterisk-14.5.0.orig/UPGRADE-1.4.txt 2017-05-30 19:50:46.000000000 +0200
531 +++ asterisk-14.5.0/UPGRADE-1.4.txt 2017-06-09 14:40:59.000000000 +0200
533 WARNING: Asterisk 1.4 supports a new layout for sound files in multiple languages;
534 instead of the alternate-language files being stored in subdirectories underneath
535 the existing files (for French, that would be digits/fr, letters/fr, phonetic/fr,
536 -etc.) the new layout creates one directory under /var/lib/asterisk/sounds for the
537 +etc.) the new layout creates one directory under /usr/share/asterisk/sounds for the
538 language itself, then places all the sound files for that language under that
539 directory and its subdirectories. This is the layout that will be created if you
540 select non-English languages to be installed via menuselect, HOWEVER Asterisk does
541 diff -dur -x '*~' -x '*.orig' -x '*.rej' asterisk-14.5.0.orig/utils/ael_main.c asterisk-14.5.0/utils/ael_main.c
542 --- asterisk-14.5.0.orig/utils/ael_main.c 2017-05-30 19:50:46.000000000 +0200
543 +++ asterisk-14.5.0/utils/ael_main.c 2017-06-09 14:41:43.000000000 +0200
545 strcpy(config_dir, "/etc/asterisk");
546 localized_use_conf_dir();
548 - strcpy(var_dir, "/var/lib/asterisk");
549 + strcpy(var_dir, "/usr/share/asterisk");
551 if( dump_extensions ) {
552 dumpfile = fopen("extensions.conf.aeldump","w");