diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-08-11 13:33:00 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-08-11 13:33:00 +0000 |
commit | abca98852c3abfa53aae5043383e25868087d9af (patch) | |
tree | b01d0b0113403f99a2dcd6c71655e93d06879489 /kernel/xpp/card_fxo.c | |
parent | 2b167527097d36d4e36864cd1257b51657fda230 (diff) |
xpp: fxo: fix caller-id CID_STYLE_PASS_ALWAYS.
Merged revisions 4468 via svnmerge from
http://svn.digium.com/svn/zaptel/branches/1.2
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4472 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'kernel/xpp/card_fxo.c')
-rw-r--r-- | kernel/xpp/card_fxo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/xpp/card_fxo.c b/kernel/xpp/card_fxo.c index 2e48dca..81906e2 100644 --- a/kernel/xpp/card_fxo.c +++ b/kernel/xpp/card_fxo.c @@ -466,6 +466,8 @@ static int FXO_card_init(xbus_t *xbus, xpd_t *xpd) priv->polarity[i] = POL_UNKNOWN; /* will be updated on next battery sample */ priv->battery[i] = BATTERY_UNKNOWN; /* will be updated on next battery sample */ priv->power[i] = POWER_UNKNOWN; /* will be updated on next battery sample */ + if(caller_id_style == CID_STYLE_PASS_ALWAYS) + BIT_SET(xpd->cid_on, i); } XPD_DBG(GENERAL, xpd, "done\n"); for_each_line(xpd, i) { |