Fixed mncc.h for GSM. Audio works again with latest OpenBSC.
[lcr.git] / gsm.cpp
diff --git a/gsm.cpp b/gsm.cpp
index 9236ed2..e6806c3 100644 (file)
--- a/gsm.cpp
+++ b/gsm.cpp
@@ -383,6 +383,7 @@ void Pgsm::call_conf_ind(unsigned int msg_type, unsigned int callref, struct gsm
        gsm_trace_header(p_m_mISDNport, this, MNCC_LCHAN_MODIFY, DIRECTION_OUT);
        mode = create_mncc(MNCC_LCHAN_MODIFY, p_m_g_callref);
        mode->lchan_mode = 0x01; /* GSM V1 */
+       mode->lchan_type = 0x02;
        add_trace("mode", NULL, "0x%02x", mode->lchan_mode);
        end_trace();
        send_and_free_mncc(p_m_g_lcr_gsm, mode->msg_type, mode);