backup
[lcr.git] / callpbx.h
index a72d171..755bdc5 100644 (file)
--- a/callpbx.h
+++ b/callpbx.h
@@ -56,20 +56,22 @@ class CallPBX : public Call
        ~CallPBX();
        void message_epoint(unsigned long epoint_id, int message, union parameter *param);
        int handler(void);
-       void release(unsigned long epoint_id, int hold, int location, int cause);
+       int release(struct call_relation *relation, int location, int cause);
 
        char c_caller[32];              /* caller number */
        char c_caller_id[32];           /* caller id to signal */
        char c_dialed[1024];            /* dial string of (all) number(s) */
        char c_todial[32];              /* overlap dialing (part not signalled yet) */
+       int c_multicause, c_multilocation;
        
-       int c_mixer;                    /* mixer must be updated */
+       int c_pid;                      /* pid of call to generate bridge id */
+       int c_updatebridge;             /* bridge must be updated */
        struct call_relation *c_relation; /* list of endpoints that are related to the call */
 
        int c_partyline;                /* if set, call is conference room */
 
-       void mixer(void);
-       void call_mixer(unsigned long epoint_from, struct call_relation *relation_from, union parameter *param);
+       void bridge(void);
+       void bridge_data(unsigned long epoint_from, struct call_relation *relation_from, union parameter *param);
        void remove_relation(struct call_relation *relation);
        struct call_relation *add_relation(void);
        int out_setup(unsigned long epoint_id, int message, union parameter *param, char *newnumber);