summaryrefslogblamecommitdiffstats
path: root/joinremote.h
blob: c0be35adfd144d3344038230e151d232065c0314 (plain) (tree)
1
2
3
4
5
6
7
8

                                                                               
                                                                               



                                                                               
                                                                               


                                                                                
                              

               
                                                                           
                      
                                                                                          
                                                                      
                          
 

                               
                                  


   
                                                                                                                                                                                                           
/*****************************************************************************\
**                                                                           **
** Linux Call Router                                                         **
**                                                                           **
**---------------------------------------------------------------------------**
** Copyright: Andreas Eversberg                                              **
**                                                                           **
** join header file for Asterisk interface                                   **
**                                                                           **
\*****************************************************************************/ 

class JoinRemote : public Join
{
	public:
	JoinRemote(unsigned long serial, char *remote_name, int remote_id);
	~JoinRemote();
	void message_epoint(unsigned long epoint_id, int message, union parameter *param);
	void message_remote(int message_type, union parameter *param);
	int handler(void);

	int j_remote_id;
	char j_remote_name[32];
	unsigned long j_epoint_id;
}; 


void message_bchannel_to_remote(unsigned long remote_id, unsigned long ref, int type, unsigned long handle, int tx_gain, int rx_gain, char *pipeline, unsigned char *crypt, int crypt_len, int crypt_type);