[zaptel-commits] tzafrir: branch 1.2 r4468 - /branches/1.2/xpp/card_fxo.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Thu Aug 7 07:30:48 CDT 2008


Author: tzafrir
Date: Thu Aug  7 07:30:48 2008
New Revision: 4468

URL: http://svn.digium.com/view/zaptel?view=rev&rev=4468
Log:
xpp: fxo: fix caller-id CID_STYLE_PASS_ALWAYS.

Modified:
    branches/1.2/xpp/card_fxo.c

Modified: branches/1.2/xpp/card_fxo.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/xpp/card_fxo.c?view=diff&rev=4468&r1=4467&r2=4468
==============================================================================
--- branches/1.2/xpp/card_fxo.c (original)
+++ branches/1.2/xpp/card_fxo.c Thu Aug  7 07:30:48 2008
@@ -466,6 +466,8 @@
 		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) {




More information about the zaptel-commits mailing list