summaryrefslogtreecommitdiff
path: root/wcfxs.c
diff options
context:
space:
mode:
authorjim <jim@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-04-25 02:27:38 +0000
committerjim <jim@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-04-25 02:27:38 +0000
commitf822496f02b70bf91fd3afcedda1228198019d3b (patch)
tree389bfd7fa1099554c38d47097c9d1c8a411a7671 /wcfxs.c
parentc5b95f77b5ca4d802a252eaef278d8c4f4afa5c4 (diff)
Fixed problem allowing FXO_GS (groundstart on FXS modules) to work.
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@373 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wcfxs.c')
-rwxr-xr-xwcfxs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wcfxs.c b/wcfxs.c
index 0d99d03..1a7420d 100755
--- a/wcfxs.c
+++ b/wcfxs.c
@@ -1498,7 +1498,7 @@ static int wcfxs_initialize(struct wcfxs *wc)
wc->span.deflaw = ZT_LAW_MULAW;
for (x=0;x<wc->cards;x++) {
sprintf(wc->chans[x].name, "WCTDM/%d/%d", wc->pos, x);
- wc->chans[x].sigcap = ZT_SIG_FXOKS | ZT_SIG_FXOLS | ZT_SIG_SF;
+ wc->chans[x].sigcap = ZT_SIG_FXOKS | ZT_SIG_FXOLS | ZT_SIG_FXOGS | ZT_SIG_SF;
wc->chans[x].sigcap |= ZT_SIG_FXSKS | ZT_SIG_FXSLS | ZT_SIG_SF;
wc->chans[x].chanpos = x+1;
wc->chans[x].pvt = wc;
@@ -1530,7 +1530,7 @@ static void wcfxs_post_initialize(struct wcfxs *wc)
if (wc->modtype[x] == MOD_TYPE_FXO)
wc->chans[x].sigcap = ZT_SIG_FXSKS | ZT_SIG_FXSLS | ZT_SIG_SF;
else
- wc->chans[x].sigcap = ZT_SIG_FXOKS | ZT_SIG_FXOLS | ZT_SIG_SF;
+ wc->chans[x].sigcap = ZT_SIG_FXOKS | ZT_SIG_FXOLS | ZT_SIG_FXOGS | ZT_SIG_SF;
}
}
}