summaryrefslogtreecommitdiffstats
path: root/joinremote.h
diff options
context:
space:
mode:
authorSuper User2007-07-26 14:23:56 +0200
committerSuper User2007-07-26 14:23:56 +0200
commit701b046a45c2c79cc6d07ac3a4f84f499f7ed376 (patch)
tree0b534df0b08d2016f473fbee74bae36a010a7258 /joinremote.h
parentfixes & improvements (diff)
downloadlcr-701b046a45c2c79cc6d07ac3a4f84f499f7ed376.tar.gz
lcr-701b046a45c2c79cc6d07ac3a4f84f499f7ed376.tar.xz
lcr-701b046a45c2c79cc6d07ac3a4f84f499f7ed376.zip
unified socket application interface (for asterisk and maybe other apps)
bugfixes
Diffstat (limited to 'joinremote.h')
-rw-r--r--joinremote.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/joinremote.h b/joinremote.h
new file mode 100644
index 0000000..d9e7e2b
--- /dev/null
+++ b/joinremote.h
@@ -0,0 +1,25 @@
+/*****************************************************************************\
+** **
+** Linux Call Router **
+** **
+**---------------------------------------------------------------------------**
+** Copyright: Andreas Eversberg **
+** **
+** join header file for Asterisk interface **
+** **
+\*****************************************************************************/
+
+class JoinRemote : public Join
+{
+ public:
+ JoinRemote(unsigned long serial, char *remote);
+ ~JoinRemote();
+ void message_epoint(unsigned long epoint_id, int message, union parameter *param);
+ void message_remote(unsigned long ref, int message_type, union parameter *param);
+ int handler(void);
+
+ char j_remote[32];
+ unsigned long j_epoint_id;
+};
+
+