PortSIP VoIP SDK Manual for Android  16.2
PortSIP features our newest, supported, quality-assured VoIP SDK used by Several hundred companies around the world for easy VoIP application develop and quality-assured code.
Functions

Functions

void com.portsip.OnPortSIPEvent.onRecvDtmfTone (long sessionId, int tone)
 

Detailed Description

Function Documentation

◆ onRecvDtmfTone()

void com.portsip.OnPortSIPEvent.onRecvDtmfTone ( long  sessionId,
int  tone 
)

This event will be triggered when receiving a DTMF tone from remote side.

Parameters
sessionIdSession ID of the call.
tone
codeDescription
0The DTMF tone 0.
1The DTMF tone 1.
2The DTMF tone 2.
3The DTMF tone 3.
4The DTMF tone 4.
5The DTMF tone 5.
6The DTMF tone 6.
7The DTMF tone 7.
8The DTMF tone 8.
9The DTMF tone 9.
10The DTMF tone *.
11The DTMF tone #.
12The DTMF tone A.
13The DTMF tone B.
14The DTMF tone C.
15The DTMF tone D.
16The DTMF tone FLASH.