X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=fxs.cpp;h=0d1a91539fe03bb7764402e86adf4796ed337927;hp=19288146de5c8d48c8796c062d670e9d0e1b54f2;hb=79bd731c0db3e3202cfeed2af3fb217ae744b70f;hpb=acaf278f7f616d264afe480e4f9c64768540941b diff --git a/fxs.cpp b/fxs.cpp index 1928814..0d1a915 100644 --- a/fxs.cpp +++ b/fxs.cpp @@ -409,12 +409,13 @@ void Pfxs::keypulse_ind(unsigned int cont) { struct lcr_msg *message; + p_m_fxs_allow_dtmf = 0; /* disable DTMF from now on */ chan_trace_header(p_m_mISDNport, this, "PULSE", DIRECTION_NONE); add_trace("KP", NULL, "%c", cont & DTMF_TONE_MASK); end_trace(); message = message_create(p_serial, ACTIVE_EPOINT(p_epointlist), PORT_TO_EPOINT, MESSAGE_INFORMATION); message->param.information.id[0] = cont & POTS_KP_MASK; - PDEBUG(DEBUG_ISDN, "Pfxs(%s) PH_CONTROL INDICATION DTMF digit '%c'\n", p_name, message->param.dtmf); + PDEBUG(DEBUG_ISDN, "Pfxs(%s) PH_CONTROL INDICATION KP digit '%c'\n", p_name, message->param.information.id[0]); message_put(message); }