2007-05-06 13:54:52 +00:00
|
|
|
/*****************************************************************************\
|
|
|
|
** **
|
2007-07-17 17:28:09 +00:00
|
|
|
** Linux Call Router **
|
2007-05-06 13:54:52 +00:00
|
|
|
** **
|
|
|
|
**---------------------------------------------------------------------------**
|
|
|
|
** Copyright: Andreas Eversberg **
|
|
|
|
** **
|
2007-07-17 17:28:09 +00:00
|
|
|
** join header file for Asterisk interface **
|
2007-05-06 13:54:52 +00:00
|
|
|
** **
|
|
|
|
\*****************************************************************************/
|
|
|
|
|
2007-07-26 12:23:56 +00:00
|
|
|
class JoinRemote : public Join
|
2007-05-06 13:54:52 +00:00
|
|
|
{
|
|
|
|
public:
|
2007-07-27 18:07:22 +00:00
|
|
|
JoinRemote(unsigned long serial, char *remote_name, int remote_id);
|
2007-07-26 12:23:56 +00:00
|
|
|
~JoinRemote();
|
2007-05-06 13:54:52 +00:00
|
|
|
void message_epoint(unsigned long epoint_id, int message, union parameter *param);
|
2007-08-11 13:57:58 +00:00
|
|
|
void message_remote(int message_type, union parameter *param);
|
2007-05-06 13:54:52 +00:00
|
|
|
int handler(void);
|
|
|
|
|
2007-07-27 18:07:22 +00:00
|
|
|
int j_remote_id;
|
|
|
|
char j_remote_name[32];
|
2007-07-26 12:23:56 +00:00
|
|
|
unsigned long j_epoint_id;
|
2007-05-06 13:54:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2007-08-12 08:16:19 +00:00
|
|
|
void message_bchannel_to_join(unsigned long remote_id, unsigned long ref, int type, unsigned long addr);
|