~sbeattie/ubuntu/lucid/asterisk/reenable-hardening

« back to all changes in this revision

Viewing changes to debian/patches/dahdi-fxsks-hookstate

  • Committer: Bazaar Package Importer
  • Author(s): Jean-Michel Dault
  • Date: 2010-02-16 14:08:54 UTC
  • mfrom: (1.2.5 upstream) (8.3.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100216140854-rb2godspb9lduazl
Tags: 1:1.6.2.2-1ubuntu1
* Merge from Debian: security update
  * Changes:
  - debian/control: Change Maintainer
  - debian/control: Removed Uploaders field.
  - debian/control: Removed Debian Vcs-Svn entry and replaced with
      ubuntu-voip Vcs-Bzr, to reflect divergence in packages.
  - debian/asterisk.init : chown /dev/dahdi
  - debian/backports/hardy : add file
  - debian/backports/asterisk.init.hardy : add file

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Allow FXO channels to send out calls even before someone calls in through 
2
 
them.
 
1
Subject: Allow FXO channels to send out calls even before someone calls in through them
 
2
Author: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
 
3
Bug: http://issues.asterisk.org/view.php?id=14577
 
4
Last-Update: 2009-12-19
3
5
 
4
6
This rxisoffhook does not work. Before 1.6.0 it was wrapped in a #ifdef
5
7
DAHDI_CHECK_HOOKSTATE (or rather: ZAP_CHECK_HOOKSTATE). In 1.6 it is 
8
10
On DAHDI (the kernel) this field is not properly initialized at startup. 
9
11
And thus it will only work after an incoming ring.
10
12
 
11
 
Upstream issue: http://issues.asterisk.org/view.php?id=14577
12
 
 
13
13
--- a/channels/chan_dahdi.c
14
14
+++ b/channels/chan_dahdi.c
15
 
@@ -10666,12 +10666,16 @@
 
15
@@ -10685,12 +10685,16 @@ static inline int available(struct dahdi
16
16
                                /* When "onhook" that means no battery on the line, and thus
17
17
                                  it is out of service..., if it's on a TDM card... If it's a channel
18
18
                                  bank, there is no telling... */