summaryrefslogtreecommitdiffstats
path: root/port.h
diff options
context:
space:
mode:
authorAndreas Eversberg2010-12-13 09:22:49 +0100
committerAndreas Eversberg2010-12-13 09:22:49 +0100
commit3a8f58ec8946b7f1683208d1cc3b054486f12e6c (patch)
treeb7cf56794d5bc684a658b6c1e970d0bc4efb1ab5 /port.h
parentAdding various arguments to 'execute' condition and 'execute' action. (diff)
downloadlcr-3a8f58ec8946b7f1683208d1cc3b054486f12e6c.tar.gz
lcr-3a8f58ec8946b7f1683208d1cc3b054486f12e6c.tar.xz
lcr-3a8f58ec8946b7f1683208d1cc3b054486f12e6c.zip
Adding interface support for remote app (chan_lcr).
chan_lcr can be handled as an interface. This way it is possible to (e.g.): - make a SIP phone become an LCR extension with all LCR features. - make conference calls. (untested) - perform parallel ringing. (ISDN phone and SIP phones can ring in parallel.) - do voice recoding. It is still also possible to link chan_lcr directly without interface (as before). Documentation/howto for that will follow.
Diffstat (limited to 'port.h')
-rw-r--r--port.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/port.h b/port.h
index d7c0580..a4da7de 100644
--- a/port.h
+++ b/port.h
@@ -22,10 +22,14 @@
#define PORT_CLASS_GSM_BS 0x1210
#define PORT_CLASS_GSM_MS 0x1220
#define PORT_CLASS_SS5 0x1300
+#define PORT_CLASS_REMOTE 0x1400
#define PORT_CLASS_MASK 0xf000
#define PORT_CLASS_mISDN_MASK 0xff00
#define PORT_CLASS_DSS1_MASK 0xfff0
#define PORT_CLASS_GSM_MASK 0xfff0
+#define PORT_CLASS_DIR_MASK 0x000f
+#define PORT_CLASS_DIR_IN 0x0001
+#define PORT_CLASS_DIR_OUT 0x0002
/* nt-mode */
#define PORT_TYPE_DSS1_NT_IN 0x1111
#define PORT_TYPE_DSS1_NT_OUT 0x1112
@@ -41,6 +45,9 @@
#define PORT_TYPE_SS5_IN 0x1311
#define PORT_TYPE_SS5_OUT 0x1312
#define PORT_TYPE_SS5_IDLE 0x1313
+ /* remote */
+#define PORT_TYPE_REMOTE_IN 0x1411
+#define PORT_TYPE_REMOTE_OUT 0x1412
/* answering machine */
#define PORT_TYPE_VBOX_OUT 0x3111