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.
This commit is contained in:
Harald Welte 2010-12-23 19:03:47 +01:00 committed by Andreas Eversberg
parent 0af1aa359f
commit 998bb9ca7d
1 changed files with 1 additions and 0 deletions

View File

@ -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);