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