[chan_lcr] Added second caller ID (ANI) in case the caller ID is user provided.
[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 int serial, char *remote_name, int remote_id);
16         ~JoinRemote();
17         void message_epoint(unsigned int epoint_id, int message, union parameter *param);
18         void message_remote(int message_type, union parameter *param);
19
20         int j_remote_id;
21         char j_remote_name[32];
22         unsigned int j_epoint_id;
23 }; 
24
25
26 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);