~ubuntu-branches/ubuntu/karmic/asterisk/karmic

« back to all changes in this revision

Viewing changes to debian/patches/bristuff/feature-holdedcalls

  • Committer: Bazaar Package Importer
  • Author(s): Faidon Liambotis, Tzafrir Cohen, Faidon Liambotis
  • Date: 2007-12-06 17:20:21 UTC
  • mfrom: (1.1.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20071206172021-pd0wrjirz3os7hia
Tags: 1:1.4.15~dfsg-1
* New upstream release (Closes: #452054)
  - Fix a potential corrupt of voicemail.conf on simultaneous PIN updates
    (Closes: #353227)

[ Tzafrir Cohen ]
* Add some sample/reference config files as documentation.
* Provide asterisk-bristuff for upgrading from Etch.
* Move libc-client to not be last, so debian/backports/xorcom.etch would
  still work.

[ Faidon Liambotis ]
* Really enable the libcap/ToS functionality; the previous patch didn't
  enable the functionality, even though the code and the libcap.so
  dependency were there. (Closes: #454342)
* Fix a minor issue with init script's stop target when running with
  safe_asterisk.
* Add chan_vpb, adding support for VoiceTronix OpenSwitch and OpenLine
  cards. (Closes: #396499)
* Fix debian/watch by using a pkg-voip wrapper to avoid upstream's silly
  redirections. (Closes: #449706)
* Use DEBVERSION as asterisk's version string.
* Disable the MD5 build sum that breaks all out-of-tree plugins (duh!).
* Create /usr/local/share/asterisk/sounds to put all site-specific
  non-modifiable sounds.
* Add a note about bugs.debian.org to the banner.
* Add noload for res_config_* since loading them results in errors and
  doesn't provide any functionality.
* News entries were added but we never shipped the file; ship NEWS.Debian.
* Add an entry to NEWS.Debian warning users about app_voicemail_*.so
  (Closes: #452596)
* Provide options in /etc/default/asterisk for configuring safe_asterisk.
  (Closes: #381786)

[ Tzafrir Cohen ]
* Provide a custom sounds directory under /var/lib - user-modifieble at
  runtime and hence not under /usr. (Closes: #337209)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- asterisk-1.4.10.1~dfsg.orig/include/asterisk/features.h
2
 
+++ asterisk-1.4.10.1~dfsg/include/asterisk/features.h
 
1
--- a/include/asterisk/features.h
 
2
+++ b/include/asterisk/features.h
3
3
@@ -72,6 +72,12 @@ int ast_park_call(struct ast_channel *ch
4
4
 */
5
5
 int ast_masq_park_call(struct ast_channel *rchan, struct ast_channel *host, int timeout, int *extout);
13
13
 /*! \brief Determine system parking extension
14
14
  *  Returns the call parking extension for drivers that provide special
15
15
     call parking help */
16
 
--- asterisk-1.4.10.1~dfsg.orig/res/res_features.c
17
 
+++ asterisk-1.4.10.1~dfsg/res/res_features.c
 
16
--- a/res/res_features.c
 
17
+++ b/res/res_features.c
18
18
@@ -62,6 +62,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revisi
19
19
 #include "asterisk/adsi.h"
20
20
 #include "asterisk/devicestate.h"
71
71
 char *ast_parking_ext(void)
72
72
 {
73
73
        return parking_ext;
74
 
@@ -1985,6 +2009,282 @@ static int park_exec(struct ast_channel 
 
74
@@ -2009,6 +2033,282 @@ static int park_exec(struct ast_channel 
75
75
        return res;
76
76
 }
77
77
 
354
354
 static int handle_showfeatures(int fd, int argc, char *argv[])
355
355
 {
356
356
        int i;
357
 
@@ -2866,6 +3166,7 @@ static int load_module(void)
 
357
@@ -2890,6 +3190,7 @@ static int load_module(void)
358
358
                return res;
359
359
        ast_cli_register_multiple(cli_features, sizeof(cli_features) / sizeof(struct ast_cli_entry));
360
360
        ast_pthread_create(&parking_thread, NULL, do_parking_thread, NULL);
362
362
        res = ast_register_application(parkedcall, park_exec, synopsis, descrip);
363
363
        if (!res)
364
364
                res = ast_register_application(parkcall, park_call_exec, synopsis2, descrip2);
365
 
@@ -2875,6 +3176,7 @@ static int load_module(void)
 
365
@@ -2899,6 +3200,7 @@ static int load_module(void)
366
366
                        "Park a channel", mandescr_park); 
367
367
        }
368
368
 
370
370
        ast_pthread_create(&autoanswer_thread, NULL, do_autoanswer_thread, NULL);
371
371
        if (!res)
372
372
                res |= ast_register_application(autoanswerlogin, autoanswer_login_exec, synopsis3, descrip3);
373
 
@@ -2897,6 +3199,7 @@ static int unload_module(void)
 
373
@@ -2921,6 +3223,7 @@ static int unload_module(void)
374
374
        ast_unregister_application(parkcall);
375
375
        ast_unregister_application(autoanswer);
376
376
        ast_unregister_application(autoanswerlogin);