]> git.pld-linux.org Git - packages/asterisk.git/blobdiff - FHS-paths.patch
- fix building with modern autotools
[packages/asterisk.git] / FHS-paths.patch
index 6b72b8e40af6a0ada07d857b7e1fcdf3e008449a..ee880ea838b52603716b641e6b452e4c7e0e2f6a 100644 (file)
@@ -1,18 +1,6 @@
-diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/UPGRADE-1.4.txt asterisk-1.8.6.0/UPGRADE-1.4.txt
---- asterisk-1.8.6.0.orig/UPGRADE-1.4.txt      2009-08-18 22:29:37.000000000 +0200
-+++ asterisk-1.8.6.0/UPGRADE-1.4.txt   2011-09-07 14:09:30.000000000 +0200
-@@ -92,7 +92,7 @@
- WARNING: Asterisk 1.4 supports a new layout for sound files in multiple languages;
- instead of the alternate-language files being stored in subdirectories underneath
- the existing files (for French, that would be digits/fr, letters/fr, phonetic/fr,
--etc.) the new layout creates one directory under /var/lib/asterisk/sounds for the
-+etc.) the new layout creates one directory under /usr/share/asterisk/sounds for the
- language itself, then places all the sound files for that language under that
- directory and its subdirectories. This is the layout that will be created if you
- select non-English languages to be installed via menuselect, HOWEVER Asterisk does
-diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/agi/DialAnMp3.agi asterisk-1.8.6.0/agi/DialAnMp3.agi
---- asterisk-1.8.6.0.orig/agi/DialAnMp3.agi    2006-02-14 20:14:15.000000000 +0100
-+++ asterisk-1.8.6.0/agi/DialAnMp3.agi 2011-09-07 14:09:30.000000000 +0200
+diff -urN asterisk-16.15.0.org/agi/DialAnMp3.agi asterisk-16.15.0/agi/DialAnMp3.agi
+--- asterisk-16.15.0.org/agi/DialAnMp3.agi     2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/agi/DialAnMp3.agi 2020-11-27 12:44:43.374449817 +0100
 @@ -17,7 +17,7 @@
        print STDERR " -- $i = $AGI{$i}\n";
  }
@@ -22,9 +10,9 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/agi/DialAnMp3.agi asteris
  
  sub checkresult {
        my ($res) = @_;
-diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/agi/jukebox.agi asterisk-1.8.6.0/agi/jukebox.agi
---- asterisk-1.8.6.0.orig/agi/jukebox.agi      2006-03-07 00:45:37.000000000 +0100
-+++ asterisk-1.8.6.0/agi/jukebox.agi   2011-09-07 14:09:30.000000000 +0200
+diff -urN asterisk-16.15.0.org/agi/jukebox.agi asterisk-16.15.0/agi/jukebox.agi
+--- asterisk-16.15.0.org/agi/jukebox.agi       2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/agi/jukebox.agi   2020-11-27 12:44:43.374449817 +0100
 @@ -17,7 +17,7 @@
  #
  # Uses festival to list off all your MP3 music files over a channel in
@@ -34,9 +22,9 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/agi/jukebox.agi asterisk-
  #
  # Invocation Example:
  #   exten => 68742,1,Answer()
-diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/agi/numeralize asterisk-1.8.6.0/agi/numeralize
---- asterisk-1.8.6.0.orig/agi/numeralize       2006-02-14 20:14:15.000000000 +0100
-+++ asterisk-1.8.6.0/agi/numeralize    2011-09-07 14:09:30.000000000 +0200
+diff -urN asterisk-16.15.0.org/agi/numeralize asterisk-16.15.0/agi/numeralize
+--- asterisk-16.15.0.org/agi/numeralize        2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/agi/numeralize    2020-11-27 12:44:43.374449817 +0100
 @@ -6,7 +6,7 @@
  
  $mp3dir="/usr/media/mpeg3";
@@ -46,33 +34,21 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/agi/numeralize asterisk-1
  sub process_dir {
        my ($dir) = @_;
        my $file;
-diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/apps/app_rpt.c asterisk-1.8.6.0/apps/app_rpt.c
---- asterisk-1.8.6.0.orig/apps/app_rpt.c       2011-07-14 22:13:06.000000000 +0200
-+++ asterisk-1.8.6.0/apps/app_rpt.c    2011-09-07 14:09:30.000000000 +0200
-@@ -242,7 +242,7 @@
- #define       TONEMACRO "tonemacro"
- #define       FUNCCHAR '*'
- #define       ENDCHAR '#'
--#define       EXTNODEFILE "/var/lib/asterisk/rpt_extnodes"
-+#define       EXTNODEFILE "/usr/share/asterisk/rpt_extnodes"
- #define       NODENAMES "rpt/nodenames"
- #define       PARROTFILE "/tmp/parrot_%s_%u"
-diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/configs/festival.conf.sample asterisk-1.8.6.0/configs/festival.conf.sample
---- asterisk-1.8.6.0.orig/configs/festival.conf.sample 2009-05-28 16:39:21.000000000 +0200
-+++ asterisk-1.8.6.0/configs/festival.conf.sample      2011-09-07 14:09:30.000000000 +0200
+diff -urN asterisk-16.15.0.org/configs/samples/festival.conf.sample asterisk-16.15.0/configs/samples/festival.conf.sample
+--- asterisk-16.15.0.org/configs/samples/festival.conf.sample  2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/configs/samples/festival.conf.sample      2020-11-27 12:44:43.374449817 +0100
 @@ -21,7 +21,7 @@
  ; THIS DIRECTORY *MUST* EXIST and must be writable from the asterisk process.
  ; Defaults to /tmp/
  ;
 -;cachedir=/var/lib/asterisk/festivalcache/
-+;cachedir=/var/spool/asterisk/festival/
++;cachedir=/var/spool/asterisk/festivalcache/
  ;
  ; Festival command to send to the server.
  ; Defaults to: (tts_textasterisk "%s" 'file)(quit)\n
-diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/configs/http.conf.sample asterisk-1.8.6.0/configs/http.conf.sample
---- asterisk-1.8.6.0.orig/configs/http.conf.sample     2011-04-21 20:24:05.000000000 +0200
-+++ asterisk-1.8.6.0/configs/http.conf.sample  2011-09-07 14:09:30.000000000 +0200
+diff -urN asterisk-16.15.0.org/configs/samples/http.conf.sample asterisk-16.15.0/configs/samples/http.conf.sample
+--- asterisk-16.15.0.org/configs/samples/http.conf.sample      2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/configs/samples/http.conf.sample  2020-11-27 12:44:43.374449817 +0100
 @@ -5,7 +5,7 @@
  ; Note about Asterisk documentation:
  ;   If Asterisk was installed from a tarball, then the HTML documentation should
@@ -82,8 +58,8 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/configs/http.conf.sample
  ;   HTTP server is enabled in this file by setting the "enabled", "bindaddr",
  ;   and "bindport" options, then you should be able to view the documentation
  ;   remotely by browsing to:
-@@ -74,6 +74,6 @@
- ;[post_mappings]
+@@ -127,6 +127,6 @@
+ ; config permission to POST files.
  ;
  ; In this example, if the prefix option is set to "asterisk", then using the
 -; POST URL: /asterisk/uploads will put files in /var/lib/asterisk/uploads/.
@@ -91,10 +67,10 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/configs/http.conf.sample
 +; POST URL: /asterisk/uploads will put files in /var/spool/asterisk/uploads/.
 +;uploads = /var/spool/asterisk/uploads/
  ;
-diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/configs/iax.conf.sample asterisk-1.8.6.0/configs/iax.conf.sample
---- asterisk-1.8.6.0.orig/configs/iax.conf.sample      2011-02-02 20:27:19.000000000 +0100
-+++ asterisk-1.8.6.0/configs/iax.conf.sample   2011-09-07 14:09:30.000000000 +0200
-@@ -456,8 +456,8 @@
+diff -urN asterisk-16.15.0.org/configs/samples/iax.conf.sample asterisk-16.15.0/configs/samples/iax.conf.sample
+--- asterisk-16.15.0.org/configs/samples/iax.conf.sample       2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/configs/samples/iax.conf.sample   2020-11-27 12:44:43.374449817 +0100
+@@ -531,8 +531,8 @@
  ; authentication is used, "inkeys" is a list of acceptable public keys on the
  ; local system that can be used to authenticate the remote peer, separated by
  ; the ":" character.  "outkey" is a single, private key to use to authenticate
@@ -105,10 +81,10 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/configs/iax.conf.sample a
  ; keys should always be 3DES encrypted.
  ;
  ;
-diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/configs/musiconhold.conf.sample asterisk-1.8.6.0/configs/musiconhold.conf.sample
---- asterisk-1.8.6.0.orig/configs/musiconhold.conf.sample      2010-10-16 12:47:00.000000000 +0200
-+++ asterisk-1.8.6.0/configs/musiconhold.conf.sample   2011-09-07 14:09:30.000000000 +0200
-@@ -32,7 +32,7 @@
+diff -urN asterisk-16.15.0.org/configs/samples/musiconhold.conf.sample asterisk-16.15.0/configs/samples/musiconhold.conf.sample
+--- asterisk-16.15.0.org/configs/samples/musiconhold.conf.sample       2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/configs/samples/musiconhold.conf.sample   2020-11-27 12:44:43.377783255 +0100
+@@ -36,7 +36,7 @@
  ; The path specified can be either an absolute path (starts with '/'),
  ; or a relative path; relative paths are interpreted as being relative
  ; to the 'astdatalibdir' in asterisk.conf, which defaults to
@@ -117,7 +93,7 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/configs/musiconhold.conf.
  ;
  ; NOTE:
  ; If you are not using "autoload" in modules.conf, then you
-@@ -68,7 +68,7 @@
+@@ -102,7 +102,7 @@
  ;mode=custom
  ; Note that with mode=custom, a directory is not required, such as when reading
  ; from a stream.
@@ -126,31 +102,33 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/configs/musiconhold.conf.
  ;application=/usr/bin/mpg123 -q -r 8000 -f 8192 -b 2048 --mono -s
  
  ;[ulawstream]
-@@ -80,5 +80,5 @@
+@@ -118,7 +118,7 @@
  ; choice
  ;[solaris]
  ;mode=custom
 -;directory=/var/lib/asterisk/mohmp3
 +;directory=/usr/share/asterisk/mohmp3
  ;application=/site/sw/bin/madplay -Q -o raw:- --mono -R 8000 -a -12
-diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/configs/osp.conf.sample asterisk-1.8.6.0/configs/osp.conf.sample
---- asterisk-1.8.6.0.orig/configs/osp.conf.sample      2010-07-12 06:16:18.000000000 +0200
-+++ asterisk-1.8.6.0/configs/osp.conf.sample   2011-09-07 14:09:30.000000000 +0200
+ ; By default, when res_musiconhold reloads or unloads, it sends a HUP signal
+diff -urN asterisk-16.15.0.org/configs/samples/osp.conf.sample asterisk-16.15.0/configs/samples/osp.conf.sample
+--- asterisk-16.15.0.org/configs/samples/osp.conf.sample       2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/configs/samples/osp.conf.sample   2020-11-27 12:44:43.377783255 +0100
 @@ -45,8 +45,8 @@
  ;source=domain name or [IP address in brackets]
  ;
  ; Define path and file name of crypto files.
 -; The default path for crypto file is /var/lib/asterisk/keys.  If no path is
 -; defined, crypto files will in /var/lib/asterisk/keys directory.
-+; The default path for crypto file is /user/share/asterisk/keys.  If no path is
-+; defined, crypto files will in /user/share/asterisk/keys directory.
++; The default path for crypto file is /usr/share/asterisk/keys.  If no path is
++; defined, crypto files will in /usr/share/asterisk/keys directory.
  ;
  ; Specify the private key file name.
  ; If this parameter is unspecified or not present, the default name will be the
-diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/configs/phoneprov.conf.sample asterisk-1.8.6.0/configs/phoneprov.conf.sample
---- asterisk-1.8.6.0.orig/configs/phoneprov.conf.sample        2011-02-03 16:50:35.000000000 +0100
-+++ asterisk-1.8.6.0/configs/phoneprov.conf.sample     2011-09-07 14:10:47.000000000 +0200
-@@ -130,7 +130,7 @@
+diff -urN asterisk-16.15.0.org/configs/samples/phoneprov.conf.sample asterisk-16.15.0/configs/samples/phoneprov.conf.sample
+--- asterisk-16.15.0.org/configs/samples/phoneprov.conf.sample 2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/configs/samples/phoneprov.conf.sample     2020-11-27 12:44:43.377783255 +0100
+@@ -136,7 +136,7 @@
  ${MAC}-phone.cfg => 000000000000-phone.cfg   ; (relative to AST_DATA_DIR/phoneprov)
  config/${MAC} => polycom.xml                 ; Dynamic Filename => template file
  ${MAC}-directory.xml => 000000000000-directory.xml
@@ -159,9 +137,9 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/configs/phoneprov.conf.sa
  
  ;snom 300, 320, 360, 370, 820, 821, 870 support
  snom-${MAC}.xml => snom-mac.xml
-diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/configs/res_config_sqlite.conf.sample asterisk-1.8.6.0/configs/res_config_sqlite.conf.sample
---- asterisk-1.8.6.0.orig/configs/res_config_sqlite.conf.sample        2009-06-30 19:22:16.000000000 +0200
-+++ asterisk-1.8.6.0/configs/res_config_sqlite.conf.sample     2011-09-07 14:09:30.000000000 +0200
+diff -urN asterisk-16.15.0.org/configs/samples/res_config_sqlite.conf.sample asterisk-16.15.0/configs/samples/res_config_sqlite.conf.sample
+--- asterisk-16.15.0.org/configs/samples/res_config_sqlite.conf.sample 2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/configs/samples/res_config_sqlite.conf.sample     2020-11-27 12:44:43.377783255 +0100
 @@ -1,7 +1,7 @@
  [general]
  
@@ -171,9 +149,9 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/configs/res_config_sqlite
  
  ; Both config_table and cdr_table are optional. If config_table is omitted,
  ; you must specify it in extconfig.conf. If it is both provided here and in
-diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/contrib/scripts/astgenkey asterisk-1.8.6.0/contrib/scripts/astgenkey
---- asterisk-1.8.6.0.orig/contrib/scripts/astgenkey    2006-02-14 20:14:15.000000000 +0100
-+++ asterisk-1.8.6.0/contrib/scripts/astgenkey 2011-09-07 14:09:30.000000000 +0200
+diff -urN asterisk-16.15.0.org/contrib/scripts/astgenkey asterisk-16.15.0/contrib/scripts/astgenkey
+--- asterisk-16.15.0.org/contrib/scripts/astgenkey     2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/contrib/scripts/astgenkey 2020-11-27 12:44:43.377783255 +0100
 @@ -29,7 +29,7 @@
        echo "in PEM format for use by Asterisk.  You will be asked to"
        echo "enter a passcode for your key multiple times.  Please"
@@ -182,14 +160,14 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/contrib/scripts/astgenkey
 +      echo "need to be moved to /usr/share/asterisk/keys if you want"
        echo "to use them, and any private keys (.key files) will"
        echo "need to be initialized at runtime either by running"
-       echo "Asterisk with the '-i' option, or with the 'init keys'"
-diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/contrib/scripts/astgenkey.8 asterisk-1.8.6.0/contrib/scripts/astgenkey.8
---- asterisk-1.8.6.0.orig/contrib/scripts/astgenkey.8  2010-04-10 10:33:57.000000000 +0200
-+++ asterisk-1.8.6.0/contrib/scripts/astgenkey.8       2011-09-07 14:09:30.000000000 +0200
+       echo "Asterisk with the '-i' option, or with the 'keys init'"
+diff -urN asterisk-16.15.0.org/contrib/scripts/astgenkey.8 asterisk-16.15.0/contrib/scripts/astgenkey.8
+--- asterisk-16.15.0.org/contrib/scripts/astgenkey.8   2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/contrib/scripts/astgenkey.8       2020-11-27 12:44:43.377783255 +0100
 @@ -87,7 +87,7 @@
  .RE
  
- Those files should be copied to 
+ Those files should be copied to
 -.I /var/lib/asterisk/keys
 +.I /usr/share/asterisk/keys
  
@@ -208,10 +186,10 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/contrib/scripts/astgenkey
  .RS
  .RE
  
-diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/contrib/utils/README.rawplayer asterisk-1.8.6.0/contrib/utils/README.rawplayer
---- asterisk-1.8.6.0.orig/contrib/utils/README.rawplayer       2006-02-14 20:14:15.000000000 +0100
-+++ asterisk-1.8.6.0/contrib/utils/README.rawplayer    2011-09-07 14:09:30.000000000 +0200
-@@ -16,11 +16,11 @@
+diff -urN asterisk-16.15.0.org/contrib/utils/README.rawplayer asterisk-16.15.0/contrib/utils/README.rawplayer
+--- asterisk-16.15.0.org/contrib/utils/README.rawplayer        2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/contrib/utils/README.rawplayer    2020-11-27 12:44:43.377783255 +0100
+@@ -16,7 +16,7 @@
  sox -c 1 track01.wav -t raw -r 8000 -c 1 -s -w track01.raw
  
  
@@ -220,21 +198,16 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/contrib/utils/README.rawp
  and set up a class in musiconhold.conf like so:
  
  [classes]
--default => custom:/var/lib/asterisk/holdmusic_raw,/usr/bin/rawplayer
-+default => custom:/usr/share/asterisk/holdmusic_raw,/usr/bin/rawplayer
- This is the most efficient way to implement moh because no cpu usage is required to 
-diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/pbx/ael/ael-test/ael-test3/extensions.ael asterisk-1.8.6.0/pbx/ael/ael-test/ael-test3/extensions.ael
---- asterisk-1.8.6.0.orig/pbx/ael/ael-test/ael-test3/extensions.ael    2007-11-27 00:15:53.000000000 +0100
-+++ asterisk-1.8.6.0/pbx/ael/ael-test/ael-test3/extensions.ael 2011-09-07 14:09:30.000000000 +0200
+diff -urN asterisk-16.15.0.org/pbx/ael/ael-test/ael-test3/extensions.ael asterisk-16.15.0/pbx/ael/ael-test/ael-test3/extensions.ael
+--- asterisk-16.15.0.org/pbx/ael/ael-test/ael-test3/extensions.ael     2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/pbx/ael/ael-test/ael-test3/extensions.ael 2020-11-27 12:44:43.377783255 +0100
 @@ -2049,7 +2049,7 @@
  
  macro callerid-liar()
  {
 -      TrySystem(/usr/bin/play /var/lib/asterisk/sounds/priv-callerintros/LIAR.gsm&);
 +      TrySystem(/usr/bin/play /usr/share/asterisk/sounds/priv-callerintros/LIAR.gsm&);
-       Background(priv-liar);  // Script: OOOps! Sorry! I don't allow men with ski masks pulled over their 
+       Background(priv-liar);  // Script: OOOps! Sorry! I don't allow men with ski masks pulled over their
                              //         faces to get in the front door, and unidentified callers won't fair
                              //         any better. You entered *MY* phone number. That won't work.
 @@ -2106,7 +2106,7 @@
@@ -256,7 +229,7 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/pbx/ael/ael-test/ael-test
                        switch(${direct})
                        {
 @@ -2223,7 +2223,7 @@
-               
        }
        1 => {  // Sonya
 -                      TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
@@ -281,7 +254,7 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/pbx/ael/ael-test/ael-test
                        TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/4/greet.wav&);
                        Voicemail(u4);
                        goto homeline|s|loopback;
-                       
                        // SetMusicOnHold(erics);
 -                      // TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
 +                      // TrySystem(/usr/bin/play /usr/share/asterisk/sounds/call-for.gsm);
@@ -309,7 +282,7 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/pbx/ael/ael-test/ael-test
                        TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/7/greet.wav&);
                        &std-priv-exten(Zap/3r2&Zap/5r2,7,35,mtw,telemarket,telemarket);
                        goto homeline|s|loopback;
-                       
        }
        6 => {
 -                      TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
@@ -331,7 +304,7 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/pbx/ael/ael-test/ael-test
 -              TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
 +              TrySystem(/usr/bin/play /usr/share/asterisk/sounds/call-for.gsm);
                TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/1/greet.wav&);
-               
                &std-priv-exten(Zap/6&Sip/murf,1,30,mtw,telemarket,telemarket);
 @@ -2778,7 +2778,7 @@
        }
@@ -342,16 +315,16 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/pbx/ael/ael-test/ael-test
                goto s|loopback;
        }
        762 => {
-diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/pbx/ael/ael-test/ael-vtest13/extensions.ael asterisk-1.8.6.0/pbx/ael/ael-test/ael-vtest13/extensions.ael
---- asterisk-1.8.6.0.orig/pbx/ael/ael-test/ael-vtest13/extensions.ael  2007-11-27 00:15:53.000000000 +0100
-+++ asterisk-1.8.6.0/pbx/ael/ael-test/ael-vtest13/extensions.ael       2011-09-07 14:09:30.000000000 +0200
+diff -urN asterisk-16.15.0.org/pbx/ael/ael-test/ael-vtest13/extensions.ael asterisk-16.15.0/pbx/ael/ael-test/ael-vtest13/extensions.ael
+--- asterisk-16.15.0.org/pbx/ael/ael-test/ael-vtest13/extensions.ael   2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/pbx/ael/ael-test/ael-vtest13/extensions.ael       2020-11-27 12:44:43.377783255 +0100
 @@ -2048,7 +2048,7 @@
  
  macro callerid-liar()
  {
 -      TrySystem(/usr/bin/play /var/lib/asterisk/sounds/priv-callerintros/LIAR.gsm&);
 +      TrySystem(/usr/bin/play /usr/share/asterisk/sounds/priv-callerintros/LIAR.gsm&);
-       Background(priv-liar);  // Script: OOOps! Sorry! I don't allow men with ski masks pulled over their 
+       Background(priv-liar);  // Script: OOOps! Sorry! I don't allow men with ski masks pulled over their
                              //         faces to get in the front door, and unidentified callers won't fair
                              //         any better. You entered *MY* phone number. That won't work.
 @@ -2105,7 +2105,7 @@
@@ -373,7 +346,7 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/pbx/ael/ael-test/ael-vtes
                        switch(${direct})
                        {
 @@ -2222,7 +2222,7 @@
-               
        }
        1 => {  // Sonya
 -                      TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
@@ -398,7 +371,7 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/pbx/ael/ael-test/ael-vtes
                        TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/4/greet.wav&);
                        Voicemail(u4);
                        goto homeline|s|loopback;
-                       
                        // SetMusicOnHold(erics);
 -                      // TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
 +                      // TrySystem(/usr/bin/play /usr/share/asterisk/sounds/call-for.gsm);
@@ -426,7 +399,7 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/pbx/ael/ael-test/ael-vtes
                        TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/7/greet.wav&);
                        &std-priv-exten(Zap/3r2&Zap/5r2,7,35,mtw,telemarket,telemarket);
                        goto homeline|s|loopback;
-                       
        }
        6 => {
 -                      TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
@@ -448,7 +421,7 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/pbx/ael/ael-test/ael-vtes
 -              TrySystem(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm);
 +              TrySystem(/usr/bin/play /usr/share/asterisk/sounds/call-for.gsm);
                TrySystem(/usr/bin/play /var/spool/asterisk/voicemail/default/1/greet.wav&);
-               
                &std-priv-exten(Zap/6&Sip/murf,1,30,mtw,telemarket,telemarket);
 @@ -2777,7 +2777,7 @@
        }
@@ -459,9 +432,9 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/pbx/ael/ael-test/ael-vtes
                goto s|loopback;
        }
        762 => {
-diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/pbx/ael/ael-test/ref.ael-vtest13 asterisk-1.8.6.0/pbx/ael/ael-test/ref.ael-vtest13
---- asterisk-1.8.6.0.orig/pbx/ael/ael-test/ref.ael-vtest13     2010-12-22 21:05:02.000000000 +0100
-+++ asterisk-1.8.6.0/pbx/ael/ael-test/ref.ael-vtest13  2011-09-07 14:09:30.000000000 +0200
+diff -urN asterisk-16.15.0.org/pbx/ael/ael-test/ref.ael-vtest13 asterisk-16.15.0/pbx/ael/ael-test/ref.ael-vtest13
+--- asterisk-16.15.0.org/pbx/ael/ael-test/ref.ael-vtest13      2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/pbx/ael/ael-test/ref.ael-vtest13  2020-11-27 12:44:43.381116692 +0100
 @@ -2182,7 +2182,7 @@
  
  
@@ -555,15 +528,15 @@ diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/pbx/ael/ael-test/ref.ael-
  exten => 761,3,Goto(s,loopback)
  exten => 762,1,agi(tts-riddle.agi)
  exten => 762,2,Background(gsm/what-time-it-is2)
-diff -dur -x '*.orig' -x '*.rej' asterisk-1.8.6.0.orig/utils/ael_main.c asterisk-1.8.6.0/utils/ael_main.c
---- asterisk-1.8.6.0.orig/utils/ael_main.c     2011-07-14 22:13:06.000000000 +0200
-+++ asterisk-1.8.6.0/utils/ael_main.c  2011-09-07 14:09:30.000000000 +0200
-@@ -503,7 +503,7 @@
+diff -urN asterisk-16.15.0.org/utils/ael_main.c asterisk-16.15.0/utils/ael_main.c
+--- asterisk-16.15.0.org/utils/ael_main.c      2020-11-19 13:34:40.000000000 +0100
++++ asterisk-16.15.0/utils/ael_main.c  2020-11-27 12:44:43.381116692 +0100
+@@ -525,7 +525,7 @@
                strcpy(config_dir, "/etc/asterisk");
                localized_use_conf_dir();
        }
 -      strcpy(var_dir, "/var/lib/asterisk");
 +      strcpy(var_dir, "/usr/share/asterisk");
-       
        if( dump_extensions ) {
                dumpfile = fopen("extensions.conf.aeldump","w");
This page took 0.057364 seconds and 4 git commands to generate.