backup
[lcr.git] / joinremote.h
1 /*****************************************************************************\
2 **                                                                           **
3 ** Linux Call Router                                                         **
4 **                                                                           **
5 **---------------------------------------------------------------------------**
6 ** Copyright: Andreas Eversberg                                              **
7 **                                                                           **
8 ** join header file for Asterisk interface                                   **
9 **                                                                           **
10 \*****************************************************************************/ 
11
12 class JoinRemote : public Join
13 {
14         public:
15         JoinRemote(unsigned long serial, char *remote_name, int remote_id);
16         ~JoinRemote();
17         void message_epoint(unsigned long epoint_id, int message, union parameter *param);
18         void message_remote(int message_type, union parameter *param);
19         int handler(void);
20
21         int j_remote_id;
22         char j_remote_name[32];
23         unsigned long j_epoint_id;
24 }; 
25
26
27 void message_bchannel_to_join(unsigned long remote_id, unsigned long ref, int type, unsigned long handle);