struct join_relation { /* relation to an interface */
struct join_relation *next; /* next node */
int type; /* type of relation */
struct join_relation { /* relation to an interface */
struct join_relation *next; /* next node */
int type; /* type of relation */
int channel_state; /* if audio is available */
int rx_state; /* current state of what we received from endpoint */
int tx_state; /* current state of what we sent to endpoint */
int channel_state; /* if audio is available */
int rx_state; /* current state of what we received from endpoint */
int tx_state; /* current state of what we sent to endpoint */
- void bridge_data(unsigned long epoint_from, struct join_relation *relation_from, union parameter *param);
+ void bridge_data(unsigned int epoint_from, struct join_relation *relation_from, union parameter *param);
- int out_setup(unsigned long epoint_id, int message, union parameter *param, char *newnumber);
+ int out_setup(unsigned int epoint_id, int message, union parameter *param, char *newnumber);
-void joinpbx_debug(class JoinPBX *joinpbx, char *function);
-int joinpbx_countrelations(unsigned long join_id);
+void joinpbx_debug(class JoinPBX *joinpbx, const char *function);
+int joinpbx_countrelations(unsigned int join_id);