freetdm: fix codec for CAS signaling
This commit is contained in:
parent
7fd0f84cce
commit
b76e7f1812
|
@ -259,7 +259,10 @@ static unsigned wp_open_range(ftdm_span_t *span, unsigned spanno, unsigned start
|
|||
chan->physical_chan_id = x;
|
||||
chan->rate = 8000;
|
||||
|
||||
if (type == FTDM_CHAN_TYPE_FXS || type == FTDM_CHAN_TYPE_FXO || type == FTDM_CHAN_TYPE_B) {
|
||||
if (type == FTDM_CHAN_TYPE_FXS
|
||||
|| type == FTDM_CHAN_TYPE_FXO
|
||||
|| type == FTDM_CHAN_TYPE_CAS
|
||||
|| type == FTDM_CHAN_TYPE_B) {
|
||||
int err;
|
||||
|
||||
dtmf = "software";
|
||||
|
|
Loading…
Reference in New Issue