Completed GSM mobile station support with OsmocomBB
[lcr.git] / gsm_ms.h
index f3b5e5d..3e9794f 100644 (file)
--- a/gsm_ms.h
+++ b/gsm_ms.h
@@ -1,6 +1,6 @@
 extern "C" {
-#include <osmocom/osmocom_data.h>
-#include <osmocom/mncc.h>
+#include <osmocom/bb/common/osmocom_data.h>
+#include <osmocom/bb/mobile/mncc.h>
 }
 
 /* GSM port class */
@@ -10,8 +10,16 @@ class Pgsm_ms : public Pgsm
        Pgsm_ms(int type, struct mISDNport *mISDNport, char *portname, struct port_settings *settings, int channel, int exclusive, int mode);
        ~Pgsm_ms();
 
+       int p_m_g_dtmf_state;
+       int p_m_g_dtmf_index;
+       char p_m_g_dtmf[128];
+       struct lcr_timer p_m_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);
 };