-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathgsm_bs.h
28 lines (23 loc) · 1.37 KB
/
gsm_bs.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_bs : public Pgsm
{
public:
Pgsm_bs(int type, char *portname, struct port_settings *settings, struct interface *interface);
~Pgsm_bs();
unsigned char *p_g_dtmf; /* DTMF tone generation (MS only) */
int p_g_dtmf_index; /* DTMF tone generation index */
void select_payload_type(struct gsm_mncc *mncc, unsigned char *payload_types, int *media_types, int *payloads, int max_payloads);
void setup_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc);
void call_conf_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *gsm);
void start_dtmf_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc);
void stop_dtmf_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc);
void hold_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc);
void retr_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc);
void rtp_modify(unsigned int msg_type, unsigned int callref, struct gsm_mncc_rtp *mncc);
void message_setup(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_bs_conf(struct gsm_conf *gsm_conf, char *conf_error);
int gsm_bs_exit(int rc);
int gsm_bs_init(struct interface *interface);
int message_bsc(struct lcr_gsm *lcr_gsm, int msg_type, void *arg);