git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51274
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
*/
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];
* to 0 or equivalent
*/
struct zt_chan_conf conf = {
- .pri = {
#ifdef HAVE_PRI
+ .pri = {
.nsf = PRI_NSF_NONE,
.switchtype = PRI_SWITCH_NI2,
.dialplan = PRI_NATIONAL_ISDN + 1,
.unknownprefix = "",
.resetinterval = 3600
-#endif
},
+#endif
.chan = {
.context = "default",
.cid_num = "",