X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=gsm_bs.h;h=5575daa1470da1d8393a0d3d2c1b7ad18ababcde;hp=a57b7c7822d11e185a827c592e72ee09164d7218;hb=034d3a91404addedc1c7a3494862c79532b0b878;hpb=97aa0881beacf536e3a2296381c055887583db8f diff --git a/gsm_bs.h b/gsm_bs.h index a57b7c7..5575daa 100644 --- a/gsm_bs.h +++ b/gsm_bs.h @@ -3,13 +3,15 @@ class Pgsm_bs : public Pgsm { public: - Pgsm_bs(int type, struct mISDNport *mISDNport, char *portname, struct port_settings *settings, int channel, int exclusive, int mode); + Pgsm_bs(int type, char *portname, struct port_settings *settings, struct interface *interface); ~Pgsm_bs(); - unsigned char *p_m_g_dtmf; /* DTMF tone generation (MS only) */ - int p_m_g_dtmf_index; /* DTMF tone generation index */ + 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); @@ -20,6 +22,6 @@ class Pgsm_bs : public Pgsm int gsm_bs_conf(struct gsm_conf *gsm_conf, char *conf_error); int gsm_bs_exit(int rc); -int gsm_bs_init(void); +int gsm_bs_init(struct interface *interface); int message_bsc(struct lcr_gsm *lcr_gsm, int msg_type, void *arg);