diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-08-10 02:38:43 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-08-10 02:38:43 +0000 |
commit | 99a3ccdba4500df334460bf45b1955d0d663b238 (patch) | |
tree | b888cbe0c1d9f97948fbe2f27adea811455471bd /xpp/card_fxs.c | |
parent | 608b6a40db52a9db9017f384a0c69f0d4b973763 (diff) |
- In SIG_CHANGED only sig_toggles bits are interesting (was good in FXS,
now fixed in FXO).
- Better DBG messages for SIG_CHANGED (FXS and FXO).
- Start work on new RING logic (for FXO caller id).
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1279 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/card_fxs.c')
-rw-r--r-- | xpp/card_fxs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xpp/card_fxs.c b/xpp/card_fxs.c index 094ed71..09f548b 100644 --- a/xpp/card_fxs.c +++ b/xpp/card_fxs.c @@ -781,12 +781,12 @@ HANDLER_DEF(FXS, SIG_CHANGED) do_chan_power(xpd->xbus, xpd, BIT(i), 0); // When not ringing, VBAT is always Low MARK_BLINK(priv,i,LED_GREEN,0); if(IS_SET(sig_status, i)) { - DBG("OFFHOOK: channo=%d\n", chan->channo); + DBG("%s/%s/%d: OFFHOOK\n", xbus->busname, xpd->xpdname, chan->channo); MARK_LED(priv,i,LED_GREEN,LED_ON); BIT_SET(xpd->hookstate, i); zt_hooksig(chan, ZT_RXSIG_OFFHOOK); } else { - DBG("ONHOOK channo=%d\n", chan->channo); + DBG("%s/%s/%d: ONHOOK\n", xbus->busname, xpd->xpdname, chan->channo); MARK_LED(priv,i,LED_GREEN,LED_OFF); BIT_CLR(xpd->hookstate, i); zt_hooksig(chan, ZT_RXSIG_ONHOOK); |