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. --- socket_server.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'socket_server.h') 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); -- cgit v1.2.3-55-g7522