X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=joinpbx.h;h=e885e9ed4512e988c7eeb6ade9152b5125405804;hp=dfc391abbf7fb068f1c18b30ebb948aaac4c828e;hb=27b95197734350cc99c29929c2527f2c6d5541d6;hpb=5a22e57828617abc14e27814ee918cc63b96fd46 diff --git a/joinpbx.h b/joinpbx.h index dfc391a..e885e9e 100644 --- a/joinpbx.h +++ b/joinpbx.h @@ -58,23 +58,25 @@ class JoinPBX : public Join int handler(void); int release(struct join_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; + char j_caller[32]; /* caller number */ + char j_caller_id[32]; /* caller id to signal */ + char j_dialed[1024]; /* dial string of (all) number(s) */ + char j_todial[32]; /* overlap dialing (part not signalled yet) */ + int j_multicause, j_multilocation; - int c_pid; /* pid of join to generate bridge id */ - int c_updatebridge; /* bridge must be updated */ - struct join_relation *c_relation; /* list of endpoints that are related to the join */ + int j_pid; /* pid of join to generate bridge id */ + int j_updatebridge; /* bridge must be updated */ + struct join_relation *j_relation; /* list of endpoints that are related to the join */ - int c_partyline; /* if set, join is conference room */ + 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 play_jingle(int in); }; void joinpbx_debug(class JoinPBX *joinpbx, char *function);