1 /*****************************************************************************\
3 ** Linux Call Router **
5 **---------------------------------------------------------------------------**
6 ** Copyright: Andreas Eversberg **
8 ** EndpointApp header file **
10 \*****************************************************************************/
12 #define EAPP_TYPE_PBX 0
13 #define EAPP_TYPE_BRIDGE 1
15 /* structure of an EndpointApp */
19 EndpointApp(class Endpoint *epoint, int origin, int type);
20 virtual ~EndpointApp();
23 class Endpoint *ea_endpoint;
24 virtual void ea_message_port(unsigned int port_id, int message, union parameter *param);
25 virtual void ea_message_join(unsigned int join_id, int message, union parameter *param);
26 virtual void trace_header(const char *name, int direction);
29 struct mISDNport *hunt_port(char *ifname, int *channel);
31 struct interface *hunt_interface(char *ifname);
34 class EndpointApp *new_endpointapp(class Endpoint *epoint, int origin, int type);