summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte2010-12-23 19:03:47 +0100
committerAndreas Eversberg2011-02-20 11:33:46 +0100
commit998bb9ca7dee3c7ce3028af1f26a7d389d867cd4 (patch)
tree5c03c46bef451bf658b6d70a2363d1b29ff70b0f
parentMNCC: refuse any incoming SETUP if there is no MNCC connection (diff)
downloadlcr-998bb9ca7dee3c7ce3028af1f26a7d389d867cd4.tar.gz
lcr-998bb9ca7dee3c7ce3028af1f26a7d389d867cd4.tar.xz
lcr-998bb9ca7dee3c7ce3028af1f26a7d389d867cd4.zip
GSM MNCC: Make sure to set the MNCC_F_KEYPAD when ACKing DTMF
TS 04.08 has a _mandatory_ KEYPAD FACILITY IE, and unless we set the MNCC_F_KEYPAD, some phones will (legitimately) reject the 04.08 DTMF KEYPAD_ACK without that IE.
-rw-r--r--gsm_bs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gsm_bs.cpp b/gsm_bs.cpp
index 3fc9a88..3ac5bda 100644
--- a/gsm_bs.cpp
+++ b/gsm_bs.cpp
@@ -93,6 +93,7 @@ void Pgsm_bs::start_dtmf_ind(unsigned int msg_type, unsigned int callref, struct
add_trace("keypad", NULL, "%c", mncc->keypad);
end_trace();
resp = create_mncc(MNCC_START_DTMF_RSP, p_m_g_callref);
+ resp->fields |= MNCC_F_KEYPAD;
resp->keypad = mncc->keypad;
send_and_free_mncc(p_m_g_instance, resp->msg_type, resp);