summaryrefslogtreecommitdiffstats
path: root/joinpbx.h
diff options
context:
space:
mode:
authorAndreas Eversberg2010-01-16 11:20:23 +0100
committerAndreas Eversberg2010-01-16 11:20:23 +0100
commitb0bd74e35e935aa976b68c594def4e8d2c22ef95 (patch)
tree7e7033beb3b9b1a1976d58ce4e16c6f965a3c9fc /joinpbx.h
parentAdded new option to interface.conf: "nonotify" to disable notify messages. (diff)
downloadlcr-b0bd74e35e935aa976b68c594def4e8d2c22ef95.tar.gz
lcr-b0bd74e35e935aa976b68c594def4e8d2c22ef95.tar.xz
lcr-b0bd74e35e935aa976b68c594def4e8d2c22ef95.zip
Replaced polling loop for LCR and chan_lcr with select based event loop.
Now LCR and chan_lcr will not use any CPU until there is work to do.
Diffstat (limited to 'joinpbx.h')
-rw-r--r--joinpbx.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/joinpbx.h b/joinpbx.h
index 18e38c0..7c05eee 100644
--- a/joinpbx.h
+++ b/joinpbx.h
@@ -50,7 +50,6 @@ class JoinPBX : public Join
JoinPBX(class Endpoint *epoint);
~JoinPBX();
void message_epoint(unsigned int epoint_id, int message, union parameter *param);
- int handler(void);
int release(struct join_relation *relation, int location, int cause);
char j_caller[32]; /* caller number */
@@ -60,7 +59,7 @@ class JoinPBX : public Join
int j_multicause, j_multilocation;
int j_pid; /* pid of join to generate bridge id */
- int j_updatebridge; /* bridge must be updated */
+ struct lcr_work j_updatebridge; /* bridge must be updated */
struct join_relation *j_relation; /* list of endpoints that are related to the join */
int j_partyline; /* if set, join is conference room */