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

« back to all changes in this revision

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

  • 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
@@ -47,6 +47,8 @@ struct ast_call_feature {
4
4
 };
5
5
 
9
9
 
10
10
 /*! \brief Park a call and read back parked location 
11
11
  *  \param chan the channel to actually be parked
12
 
--- asterisk-1.4.10.1~dfsg.orig/res/res_features.c
13
 
+++ asterisk-1.4.10.1~dfsg/res/res_features.c
 
12
--- a/res/res_features.c
 
13
+++ b/res/res_features.c
14
14
@@ -11,6 +11,10 @@
15
15
  * the project provides a web site, mailing lists and IRC
16
16
  * channels for your use.
67
67
 static struct parkeduser *parkinglot;
68
68
 
69
69
 AST_MUTEX_DEFINE_STATIC(parking_lock); /*!< protects all static variables above */
70
 
@@ -404,11 +439,13 @@ int ast_park_call(struct ast_channel *ch
 
70
@@ -402,11 +437,13 @@ static int park_call_full(struct ast_cha
71
71
                "From: %s\r\n"
72
72
                "Timeout: %ld\r\n"
73
73
                "CallerID: %s\r\n"
83
83
                );
84
84
 
85
85
        if (peer && adsipark && ast_adsi_available(peer)) {
86
 
@@ -1609,11 +1646,13 @@ static void post_manager_event(const cha
 
86
@@ -1626,11 +1663,13 @@ static void post_manager_event(const cha
87
87
                "Exten: %s\r\n"
88
88
                "Channel: %s\r\n"
89
89
                "CallerID: %s\r\n"
99
99
                );
100
100
 }
101
101
 
102
 
@@ -1864,10 +1903,12 @@ static int park_exec(struct ast_channel 
 
102
@@ -1885,10 +1924,12 @@ static int park_exec(struct ast_channel 
103
103
                        "Channel: %s\r\n"
104
104
                        "From: %s\r\n"
105
105
                        "CallerID: %s\r\n"
114
114
                        );
115
115
 
116
116
                free(pu);
117
 
@@ -2018,15 +2059,10 @@ static struct ast_cli_entry cli_show_fea
 
117
@@ -2042,15 +2083,10 @@ static struct ast_cli_entry cli_show_fea
118
118
        handle_showfeatures, NULL,
119
119
        NULL };
120
120
 
133
133
 
134
134
 /*! \brief Dump lot status */
135
135
 static int manager_parking_status( struct mansession *s, const struct message *m)
136
 
@@ -2050,12 +2086,13 @@ static int manager_parking_status( struc
 
136
@@ -2074,12 +2110,13 @@ static int manager_parking_status( struc
137
137
                        "Timeout: %ld\r\n"
138
138
                        "CallerID: %s\r\n"
139
139
                        "CallerIDName: %s\r\n"
148
148
                        idText);
149
149
        }
150
150
 
151
 
@@ -2130,6 +2167,427 @@ static int manager_park(struct mansessio
 
151
@@ -2154,6 +2191,427 @@ static int manager_park(struct mansessio
152
152
        return 0;
153
153
 }
154
154
 
576
576
 
577
577
 int ast_pickup_call(struct ast_channel *chan)
578
578
 {
579
 
@@ -2393,6 +2851,7 @@ static int load_config(void) 
 
579
@@ -2417,6 +2875,7 @@ static int load_config(void) 
580
580
 
581
581
 static int reload(void)
582
582
 {
584
584
        return load_config();
585
585
 }
586
586
 
587
 
@@ -2416,6 +2875,12 @@ static int load_module(void)
 
587
@@ -2440,6 +2899,12 @@ static int load_module(void)
588
588
                        "Park a channel", mandescr_park); 
589
589
        }
590
590
 
597
597
        res |= ast_devstate_prov_add("Park", metermaidstate);
598
598
 
599
599
        return res;
600
 
@@ -2430,6 +2895,8 @@ static int unload_module(void)
 
600
@@ -2454,6 +2919,8 @@ static int unload_module(void)
601
601
        ast_manager_unregister("Park");
602
602
        ast_cli_unregister_multiple(cli_features, sizeof(cli_features) / sizeof(struct ast_cli_entry));
603
603
        ast_unregister_application(parkcall);