lcr/joinremote.h

28 lines
1.3 KiB
C++

/*****************************************************************************\
** **
** 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_join(unsigned long remote_id, unsigned long ref, int type, unsigned long addr);