-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgsm_ms.h
29 lines (24 loc) · 1.01 KB
/
gsm_ms.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* GSM port class */
class Pgsm_ms : public Pgsm
{
public:
Pgsm_ms(int type, char *portname, struct port_settings *settings, struct interface *interface);
~Pgsm_ms();
char p_g_ms_name[32];
int p_g_dtmf_state;
int p_g_dtmf_index;
char p_g_dtmf[128];
struct lcr_timer p_g_dtmf_timer;
void dtmf_statemachine(struct gsm_mncc *mncc);
void setup_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc);
void message_setup(unsigned int epoint_id, int message_id, union parameter *param);
void message_dtmf(unsigned int epoint_id, int message_id, union parameter *param);
void message_information(unsigned int epoint_id, int message_id, union parameter *param);
int message_epoint(unsigned int epoint_id, int message_id, union parameter *param);
};
int gsm_ms_conf(struct gsm_conf *gsm_conf, char *conf_error);
int gsm_ms_exit(int rc);
int gsm_ms_init(void);
int gsm_ms_new(struct interface *interface);
int gsm_ms_delete(const char *name);
int message_ms(struct lcr_gsm *lcr_gsm, int msg_type, void *arg);