[asterisk-commits] dhubbard: branch 1.4 r51274 -
/branches/1.4/channels/chan_zap.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Jan 18 17:17:32 MST 2007
Author: dhubbard
Date: Thu Jan 18 18:17:32 2007
New Revision: 51274
URL: http://svn.digium.com/view/asterisk?view=rev&rev=51274
Log:
chan_zap compiles without libpri after committing 7877 patch
Modified:
branches/1.4/channels/chan_zap.c
Modified: branches/1.4/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_zap.c?view=diff&rev=51274&r1=51273&r2=51274
==============================================================================
--- branches/1.4/channels/chan_zap.c (original)
+++ branches/1.4/channels/chan_zap.c Thu Jan 18 18:17:32 2007
@@ -590,7 +590,9 @@
*/
struct zt_chan_conf {
struct zt_pvt chan;
+#ifdef HAVE_PRI
struct zt_pri pri;
+#endif
ZT_PARAMS timing;
char smdi_port[SMDI_MAX_FILENAME_LEN];
@@ -602,8 +604,8 @@
* to 0 or equivalent
*/
struct zt_chan_conf conf = {
+#ifdef HAVE_PRI
.pri = {
-#ifdef HAVE_PRI
.nsf = PRI_NSF_NONE,
.switchtype = PRI_SWITCH_NI2,
.dialplan = PRI_NATIONAL_ISDN + 1,
@@ -620,8 +622,8 @@
.unknownprefix = "",
.resetinterval = 3600
+ },
#endif
- },
.chan = {
.context = "default",
.cid_num = "",
More information about the asterisk-commits
mailing list