chan_lcr: Minor fix for Asterisk versions >= 10
[lcr.git] / gsm_ms.h
1
2 /* GSM port class */
3 class Pgsm_ms : public Pgsm
4 {
5         public:
6         Pgsm_ms(int type, struct mISDNport *mISDNport, char *portname, struct port_settings *settings, int channel, int exclusive, int mode);
7         ~Pgsm_ms();
8
9         int p_m_g_dtmf_state;
10         int p_m_g_dtmf_index;
11         char p_m_g_dtmf[128];
12         struct lcr_timer p_m_g_dtmf_timer;
13         void dtmf_statemachine(struct gsm_mncc *mncc);
14
15         void setup_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc);
16         void message_setup(unsigned int epoint_id, int message_id, union parameter *param);
17         void message_dtmf(unsigned int epoint_id, int message_id, union parameter *param);
18         void message_information(unsigned int epoint_id, int message_id, union parameter *param);
19         int message_epoint(unsigned int epoint_id, int message_id, union parameter *param);
20 };
21
22 int gsm_ms_conf(struct gsm_conf *gsm_conf, char *conf_error);
23 int gsm_ms_exit(int rc);
24 int gsm_ms_init(void);
25 int gsm_ms_new(const char *name);
26 int gsm_ms_delete(const char *name);
27 int message_ms(struct lcr_gsm *lcr_gsm, int msg_type, void *arg);
28