just backup. (partyline join/release jingle not tested yet, no sound yet)
[lcr.git] / joinpbx.h
index 5cdfdd5..e885e9e 100644 (file)
--- a/joinpbx.h
+++ b/joinpbx.h
@@ -69,12 +69,14 @@ class JoinPBX : public Join
        struct join_relation *j_relation; /* list of endpoints that are related to the join */
 
        int j_partyline;                /* if set, join is conference room */
        struct join_relation *j_relation; /* list of endpoints that are related to the join */
 
        int j_partyline;                /* if set, join is conference room */
+       int j_partyline_jingle;         /* also play jingle on join/leave */
 
        void bridge(void);
        void bridge_data(unsigned long epoint_from, struct join_relation *relation_from, union parameter *param);
        void remove_relation(struct join_relation *relation);
        struct join_relation *add_relation(void);
        int out_setup(unsigned long epoint_id, int message, union parameter *param, char *newnumber);
 
        void bridge(void);
        void bridge_data(unsigned long epoint_from, struct join_relation *relation_from, union parameter *param);
        void remove_relation(struct join_relation *relation);
        struct join_relation *add_relation(void);
        int out_setup(unsigned long epoint_id, int message, union parameter *param, char *newnumber);
+       void play_jingle(int in);
 }; 
 
 void joinpbx_debug(class JoinPBX *joinpbx, char *function);
 }; 
 
 void joinpbx_debug(class JoinPBX *joinpbx, char *function);