Fix problem on digital channels due to digital flag not getting set
authorJeff Peeler <jpeeler@digium.com>
Tue, 24 Nov 2009 17:12:25 +0000 (17:12 +0000)
committerJeff Peeler <jpeeler@digium.com>
Tue, 24 Nov 2009 17:12:25 +0000 (17:12 +0000)
commitac9a4cecf3f2f50d38292be56c792a8210815014
tree505fbfc8efc53b76ad51e5b4bb25057d77528553
parent1c7dd506d6a6c6210b863cbc44429e816a421810
Fix problem on digital channels due to digital flag not getting set

Changed areas in sig_pri to set the digital flag using a callback that will
also set the corresponding flag in chan_dahdi. Modified dahdi_request slightly
so that if a bearer is marked as digital, that information is available when
creating the new channel.

(closes issue #16151)
Reported by: alecdavis
Patch based on bug_16151.diff.txt uploaded by alecdavis (license 585)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@231058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_dahdi.c
channels/sig_pri.c
channels/sig_pri.h