Android Native SIP DTMF

I use call android SIP(android.net.sip)for VOIP. Trying to send DTMF. The SipAudioCallclass method android was two methods set

void sendDtmf(int code, Message result)
Sends a DTMF code.

void sendDtmf(int code)
Sends a DTMF code.

I am thinking of using a method sendDtmf(int code)to send DMTF. but I don’t know how I can determine if it is really sent or not. After implementing this, I do not get any tone on the receiver / sender side. Calling for this does not give me any effect (since its background processing is not visible). Can someone please let me know how I can change it? Also, please explain to me the use of the second method sendDtmf(int code, Message result).

+4
source share
3 answers

DTMF sip:

, RTP. Altho most sip stacks, , - DTMF .

, SIP Android, .

, DTMF, WireShark RTP. wireharks voip, DTMF RTP!

VOIP Call Graph Analysis output

+2

android.net.sip dtmf RFC 2883. , wirehark / ( ). , dtmf ( RFC 2883).

+1

Counterpath X-Lite V4.9.8, SIP Android, SIP-. X-Lite Softphone/Preferences/Calls " RFC 2833".

Once you have an active SIP call with bi-directional sound and you use yourcall.sendDtmf (5), as an example, during this call you can hear DTMF tones through the X-Lite application with tones of about 1/2 second in duration everyone.

0
source

All Articles