summaryrefslogtreecommitdiffstats
path: root/interface.c
diff options
context:
space:
mode:
authorSuper User2008-06-01 18:52:10 +0200
committerSuper User2008-06-01 18:52:10 +0200
commit026b04fc75011a144285f399b82890803b4315bd (patch)
treefc208d625cc72cfaa317c160d42fc2cdcf7256a4 /interface.c
parentwork (diff)
downloadlcr-026b04fc75011a144285f399b82890803b4315bd.tar.gz
lcr-026b04fc75011a144285f399b82890803b4315bd.tar.xz
lcr-026b04fc75011a144285f399b82890803b4315bd.zip
LCR is now uses socket based mISDN V2 API
*** chan_lcr, the Asterisk interface works (not complete yet). -> LCR can be used as Asterisk channel driver. modified: Makefile modified: Makefile.am modified: README modified: action.cpp modified: apppbx.cpp modified: bchannel.c modified: bchannel.h modified: callerid.c modified: cause.c modified: chan_lcr.c modified: chan_lcr.h modified: configure.ac modified: default/routing.conf modified: dss1.cpp modified: dss1.h modified: genrc.c modified: ie.cpp modified: interface.c modified: lcradmin.c modified: mISDN.cpp modified: mISDN.h modified: main.c modified: main.h modified: message.h modified: myisdn.h modified: route.c modified: socket_server.c modified: trace.h
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/interface.c b/interface.c
index f8f7bdc..1adc838 100644
--- a/interface.c
+++ b/interface.c
@@ -187,7 +187,6 @@ static int inter_ptmp(struct interface *interface, char *filename, int line, cha
#endif
static int inter_nt(struct interface *interface, char *filename, int line, char *parameter, char *value)
{
-#ifdef SOCKET_MISDN
struct interface_port *ifport;
/* port in chain ? */
@@ -207,7 +206,6 @@ static int inter_nt(struct interface *interface, char *filename, int line, char
return(-1);
}
ifport->nt = 1;
-#endif
return(0);
}
static int inter_tones(struct interface *interface, char *filename, int line, char *parameter, char *value)
@@ -875,11 +873,7 @@ struct interface_param interface_param[] = {
{"nt", &inter_nt, "",
"The given port above is opened in NT-mode.\n"
-#ifdef SOCKET_MISDN
"This is required on interfaces that support both NT-mode and TE-mode.\n"
-#else
- "This parameter is only required for socket based mISDN driver.\n"
-#endif
"This parameter must follow a 'port' parameter."},
{"layer2hold", &inter_l2hold, "yes | no",