summaryrefslogtreecommitdiffstats
path: root/socket_server.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 /socket_server.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 'socket_server.h')
-rw-r--r--socket_server.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/socket_server.h b/socket_server.h
index b3ea89a..9a31b10 100644
--- a/socket_server.h
+++ b/socket_server.h
@@ -33,8 +33,9 @@ extern struct admin_list *admin_first;
int admin_init(void);
void admin_cleanup(void);
void admin_call_response(int adminid, int message, const char *connected, int cause, int location, int notify);
-int admin_message_to_join(struct admin_message *msg, int remote_id);
-int admin_message_from_join(int remote_id, unsigned int ref, int message_type, union parameter *param);
+int admin_message_to_lcr(struct admin_message *msg, int remote_id);
+int admin_message_from_lcr(int remote_id, unsigned int ref, int message_type, union parameter *param);
+void message_bchannel_to_remote(unsigned int remote_id, unsigned int ref, int type, unsigned int handle, int tx_gain, int rx_gain, char *pipeline, unsigned char *crypt, int crypt_len, int crypt_type, int isloopback);