]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Made companding law for SS7 calls only determined by SS7 signaling type.
authorRichard Mudgett <rmudgett@digium.com>
Sat, 15 Sep 2012 00:13:39 +0000 (00:13 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Sat, 15 Sep 2012 00:13:39 +0000 (00:13 +0000)
commit43b66d3ef0f9f2c4a9ae6b44994bd669cbe5042a
tree6c2505f8fc0c9a0b280f6cccc6e236928164e5c6
parent5688c2f104578af4002b08a8c39b7f60308f6aa9
Made companding law for SS7 calls only determined by SS7 signaling type.

For SS7, the companding law for a call was chosen inconsistently depending
upon ss7type (ITU vs ANSI) and the DAHDI companding default (T1 vs E1).
For incoming calls, the companding law was determined by ss7type.  For
outgoing calls, the companding law was determined by the DAHDI default.
With the wrong combination you would get A-law/u-law conflicts.  An
A-law/u-law conflict sounds like bad static on the line.

SS7 ITU  signaling with E1 line: ok
SS7 ITU  signaling with T1 line: noise
SS7 ANSI signaling with E1 line: noise
SS7 ANSI signaling with T1 line: ok

* Fix the companding law used to be determined by the SS7 signaling type
only.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@373090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/sig_ss7.c