When using the INFO method for DTMF, no sound is played locally. Changing it to RFC2833 will play the sound locally but this method doesn't work with our SIP server.
How can I play the DTMF tone locally with the INFO method?
// sdk.sendDtmf(currentLine.getSessionId(), PortSipEnumDefine.ENUM_DTMF_MOTHOD_RFC2833, code, 160, true);
sdk.sendDtmf(currentLine.getSessionId(), PortSipEnumDefine.ENUM_DTMF_MOTHOD_INFO, code, 160, true);
You should write your own code to play a wav/mp3 file for the tone.