diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-08-07 12:30:48 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-08-07 12:30:48 +0000 |
commit | fd5cd404bce291706d50a25e44fc4add6c1ffd22 (patch) | |
tree | 55d541b72802a271ca7307382d56b5278ba8ccde | |
parent | 7e63c5db9520d28a203482ab53b86499d32f7a96 (diff) |
xpp: fxo: fix caller-id CID_STYLE_PASS_ALWAYS.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4468 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r-- | xpp/card_fxo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xpp/card_fxo.c b/xpp/card_fxo.c index 2e48dca..81906e2 100644 --- a/xpp/card_fxo.c +++ b/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) { |