mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 00:00:44 +00:00
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…
x
Reference in New Issue
Block a user