From 3a8f58ec8946b7f1683208d1cc3b054486f12e6c Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Mon, 13 Dec 2010 09:22:49 +0100 Subject: 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. --- remote.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 remote.h (limited to 'remote.h') diff --git a/remote.h b/remote.h new file mode 100644 index 0000000..f39245b --- /dev/null +++ b/remote.h @@ -0,0 +1,20 @@ + +/* GSM port class */ +class Premote : public PmISDN +{ + public: + Premote(int type, struct mISDNport *mISDNport, char *portname, struct port_settings *settings, int channel, int exclusive, int mode, int remote_id); + ~Premote(); + + unsigned int p_m_r_ref; + int p_m_r_remote_id; /* remote instance (socket) */ + char p_m_r_remote_app[32]; + unsigned int p_m_r_handle; /* 0, if no bchannel is exported */ + + int message_epoint(unsigned int epoint_id, int message_id, union parameter *param); + void message_remote(int message_type, union parameter *param); + + int hunt_bchannel(void); +}; + + -- cgit v1.2.3-55-g7522