X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=dss1.h;h=d9487b3b3635e743ecfa3ab1fd55e2311f257774;hp=cb31b3b85161383d0cc4f3ed3d9e8a1589e9453a;hb=79bd731c0db3e3202cfeed2af3fb217ae744b70f;hpb=efc550418c0b107c07818809a3d8e779e476dcd4 diff --git a/dss1.h b/dss1.h index cb31b3b..d9487b3 100644 --- a/dss1.h +++ b/dss1.h @@ -13,17 +13,18 @@ class Pdss1 : public PmISDN { public: - Pdss1(int type, struct mISDNport *mISDNport, char *portname, struct port_settings *settings, int channel, int exclusive, int mode); + Pdss1(int type, struct mISDNport *mISDNport, char *portname, struct port_settings *settings, struct interface *interface, int channel, int exclusive, int mode); ~Pdss1(); unsigned int p_m_d_l3id; /* current l3 process id */ + struct lcr_work p_m_d_delete; /* timer for audio transmission */ void message_isdn(unsigned int cmd, unsigned int pid, struct l3_msg *l3m); int p_m_d_ces; /* ntmode: tei&sapi */ - int handler(void); int message_epoint(unsigned int epoint_id, int message, union parameter *param); + void set_display(const char *text); int p_m_d_ntmode; /* flags the nt-mode */ int p_m_d_tespecial; /* special te-mode with all nt-mode IEs */ - struct lcr_msg *p_m_d_queue; /* queue for SETUP if link is down */ + char p_m_d_queue[64]; /* queue for dialing information (if larger than setup allows) */ struct lcr_msg *p_m_d_notify_pending; /* queue for NOTIFY if not connected */ int p_m_d_collect_cause; /* collecting cause and location */ @@ -47,6 +48,7 @@ class Pdss1 : public PmISDN void t312_timeout_ind(unsigned int cmd, unsigned int pid, struct l3_msg *l3m); void notify_ind(unsigned int cmd, unsigned int pid, struct l3_msg *l3m); void facility_ind(unsigned int cmd, unsigned int pid, struct l3_msg *l3m); + void progress_ind(unsigned int cmd, unsigned int pid, struct l3_msg *l3m); void hold_ind(unsigned int cmd, unsigned int pid, struct l3_msg *l3m); void retrieve_ind(unsigned int cmd, unsigned int pid, struct l3_msg *l3m); void suspend_ind(unsigned int cmd, unsigned int pid, struct l3_msg *l3m); @@ -55,6 +57,7 @@ class Pdss1 : public PmISDN void message_setup(unsigned int epoint_id, int message_id, union parameter *param); void message_notify(unsigned int epoint_id, int message_id, union parameter *param); void message_facility(unsigned int epoint_id, int message_id, union parameter *param); + void message_3pty(unsigned int epoint_id, int message_id, union parameter *param); void message_overlap(unsigned int epoint_id, int message_id, union parameter *param); void message_proceeding(unsigned int epoint_id, int message_id, union parameter *param); void message_alerting(unsigned int epoint_id, int message_id, union parameter *param); @@ -69,7 +72,7 @@ class Pdss1 : public PmISDN void dec_ie_bearer(struct l3_msg *l3m, int *coding, int *capability, int *mode, int *rate, int *multi, int *user); void enc_ie_call_id(struct l3_msg *l3m, unsigned char *callid, int callid_len); void dec_ie_call_id(struct l3_msg *l3m, unsigned char *callid, int *callid_len); - void enc_ie_called_pn(struct l3_msg *l3m, int type, int plan, unsigned char *number); + void enc_ie_called_pn(struct l3_msg *l3m, int type, int plan, unsigned char *number, int number_len); void dec_ie_called_pn(struct l3_msg *l3m, int *type, int *plan, unsigned char *number, int number_len); void enc_ie_calling_pn(struct l3_msg *l3m, int type, int plan, int present, int screen, unsigned char *number, int type2, int plan2, int present2, int screen2, unsigned char *number2); void dec_ie_calling_pn(struct l3_msg *l3m, int *type, int *plan, int *present, int *screen, unsigned char *number, int number_len, int *type2, int *plan2, int *present2, int *screen2, unsigned char *number2, int number_len2);