Extract sig_ss7 out of chan_dahdi.
authorRichard Mudgett <rmudgett@digium.com>
Mon, 7 Jun 2010 20:04:42 +0000 (20:04 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 7 Jun 2010 20:04:42 +0000 (20:04 +0000)
commit0122ccd29ca5c3c5840143b55e58e6bb1d98793e
tree9bba1c89c97de2eb935ef6c15c3b3d65e764e9bb
parent17bd11b8aada4827580aec9d41abc5b8d0a836cc
Extract sig_ss7 out of chan_dahdi.

Extract the SS7 specific code out of chan_dahdi like what was done to
ISDN/PRI and analog signaling.  The new SS7 structures were modeled on
sig_pri.

The changes to sig_pri are an enhancement and a bug fix made possible
because SS7 was extracted.

1) The sig_pri TRANSFERCAPABILITY channel variable should have been set
unconditionally in sig_pri_new_ast_channel().

2) SS7/PRI transfer capability interaction in dahdi_new() fixed because of
SS7 extraction.

3) Module ref count error in dahdi_new() if startpbx failed to start the
PBX for some reason.

Review: https://reviewboard.asterisk.org/r/661/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@268774 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/Makefile
channels/chan_dahdi.c
channels/sig_pri.c
channels/sig_pri.h
channels/sig_ss7.c [new file with mode: 0644]
channels/sig_ss7.h [new file with mode: 0644]